Java 3D 游戏编程
我最近同意帮助一位朋友制作他一直在开发的游戏,并且我决定更喜欢用 Java 编写它。我不确定在 Java 中实现 3D 的最佳途径是什么。我发现大多数人都在谈论 Java 中 3d 图形的 Java 3d
,它似乎基本上是 Directx
和 openGL
的包装器,但我还发现 Java 3d
自 2008 年以来一直没有积极开发。它仍然是最好使用的东西还是有更积极开发的东西会更好。我看过一些关于其他一些 API 的讨论,但是 Java 3d 似乎有更好的文档,并且有一些关于 Java 3d 编程的相当不错的书籍,它们似乎都基于 Java 3d代码>.
I recently agreed to help a friend make a game he has been working on and I decided that I would prefer to write it in Java. I am unsure what the best route is to take for 3D in Java. I have found that most everyone talks about Java 3d
for 3d graphics in Java, which seems to basically be a wrapper for Directx
and openGL
but I have also found that Java 3d
hasn't been in active development since 2008. Is it still the best thing to use or is there something with more active development that would be better. I have seen some discussion about some other APIs but Java 3d
seems to have better documentation and there are some fairly decent books on 3d programming in Java that all seem to be based on Java 3d
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
使用 Java 编写 3D 应用程序时,您有多种选择。
您读哪本书完全取决于您在上面做出的选择。
There are a number of options you have when writing 3D apps in Java.
Which book you read entirely depends on which choice you make above.
JOGL 是正在积极开发的现代替代品。它基本上只是绑定到 OpenGL 库。
JOGL is a modern replacement under active development. It's basically just bindings to the OpenGL library.
看看 jMonkeyEngine 和 LWJGL。
jMonkeyEngine 正在积极开发中,它包括一个完整的工具包和 IDE,用于用 Java 创建 3D 图形应用程序。
LWJGL(轻量级Java游戏库)是一个用Java制作2D和3D图形游戏的库,它还支持声音(OpenAL)。
Have a look at jMonkeyEngine and LWJGL.
jMonkeyEngine is being actively developed and it includes a complete toolkit and IDE for creating 3D graphics applications in Java.
LWJGL (Lightweight Java Game Library) is a library for making games in Java with 2D and 3D graphics, and it also supports sound (OpenAL).
前段时间有朋友用过Processing,觉得还算合理。
A friend used Processing a while ago and found it reasonable.
我已经有一段时间没有检查过它了,但 JMonkeyEngine 是最好的 Java 3D 引擎。
I haven't checked it out in a while, but JMonkeyEngine was the best Java 3D engine around.