Minecraft 渲染引擎的描述

发布于 2024-12-05 02:59:03 字数 98 浏览 1 评论 0原文

我想了解《我的世界》渲染引擎的工作原理以及如何将其适应其他技术。有没有对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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

衣神在巴黎 2024-12-12 02:59:03

我已经尝试过了。我不能推荐它。 Minecraft“引擎”的设计很糟糕,有时我认为 Mojang 已经打破了我所知道的每一个最佳实践。

编写一个新的“块引擎”比猜测 Mojang 试图在混淆的代码中做什么要好得多。

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.

深海里的那抹蓝 2024-12-12 02:59:03

您是否考虑过使用Unity3d游戏引擎。它是一个可以在浏览器、IOS 或 Android 上运行的游戏引擎,因此它可能是您研究的一个不错的选择,并且运行速度比 canvas/js 更快。无论哪种方式,以下源代码和讨论链接应该会给您一些想法。

Unity 论坛上有一个非常活跃的讨论线程 。有几个人出于学习目的制作了 Minecraft 克隆版。最终,其中之一在线发布了完整的源代码和项目文件 http://www .filefactory.com/file/b48a41e/n/MinePackage.unitypackage

这是某人演示他们在 Unity 中制作的 Minecraft 克隆版的视频 http://www.youtube。 com/watch?v=ADnPbeg1aXk。所以这绝对是可能的。

如果您对使用体素感兴趣,可以在此处查看 VoxelForm unitypackage http://www.voxelform.com/。最酷的一点是它可以做的不仅仅是块,请观看此演示视频 http: //www.youtube.com/watch?v=Fc-VQL8VyIY 它用于无限地形。

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.

我不咬妳我踢妳 2024-12-12 02:59:03

我认为您可能想使用 mcp62。你绝对不可能使用混淆的代码获得任何结果,但 mcp62 已经做了一些事情来创建带有注释等的 Minecraft 源代码版本。以下是他们的 wiki 的链接:MCP wiki

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文