开发者

Description for Minecraft Renderengine

开发者 https://www.devze.com 2023-04-05 21:47 出处:网络
I\'d like to find out how the minecraft renderengine works and perhabs adapt it to other technologies. Is there an analysis 开发者_高级运维of the seemingly quite simple render engine of minecraft?

I'd like to find out how the minecraft renderengine works and perhabs adapt it to other technologies. Is there an analysis 开发者_高级运维of the seemingly quite simple render engine of minecraft?

Voxels, just orthogonal borders and some other constraints apply to this engine.


I already tried this. I cannot recommend it. The Minecraft "Engine" is just poorly designed and sometimes I think Mojang has broken every single best practice I know.

Programming a new "Block-Engine" leads to much better results than guessing what Mojang tried to do in their obfuscated code.


Have you considered using the Unity3d game engine. It is a game engine that can run in the browser, on IOS or Android so it could be a good option for you to investigate and will run faster than canvas/js. Either way the following source code and discussion links should give you some ideas.

There is a very active discussion thread over on the unity forums. A few people were making a Minecraft clone for learning purposes. Eventually one of them released the full source code and project files online here http://www.filefactory.com/file/b48a41e/n/MinePackage.unitypackage.

Here is a video of someone demoing a Minecraft clone they are making in Unity http://www.youtube.com/watch?v=ADnPbeg1aXk. So it is definitely possible.

If you are interested in using voxels you can look at the VoxelForm unitypackage here http://www.voxelform.com/. The cool thing about this is it can do a lot more than just blocks see this demo video http://www.youtube.com/watch?v=Fc-VQL8VyIY of it being used with infinite terrain.


I think that you might want to use mcp62. There is absolutely no way that you're going to get anywhere with the obfuscated code, but mcp62 has done something to create a version of the minecraft source code with comments and the like. Here is a link to their wiki:MCP wiki

0

精彩评论

暂无评论...
验证码 换一张
取 消