3D Java 库
作为初学者,我尝试使用java来制作2D对象。 然后我想制作一个 3D 对象,但在我使用的编辑器应用程序中不支持 Java 3D 库。粗略地说,我如何将 3D java 库合并到我使用的应用程序中。 我使用“jcreator”和“bluej”作为java编辑器。
as a beginner, I've tried to use java to make a 2D object.
then I want to make a 3D object but in the editor application that I use does not support Java 3D libraries. roughly, how I could incorporate 3D java libraries into the application that I use.
I use the "jcreator" and "bluej" as java editor.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Java 没有内置任何 3D 库,因此您必须自己下载并安装一个。您可以在此处获取 Java 3D API。 这里还有一个粗略的教程可供查看,这也可能有帮助。需要注意的是,3D 编程涉及的数学远多于 2D 编程。在开始使用 3D 之前,请确保您充分掌握 2D 图形的工作原理。祝你好运,玩得开心。
另外,如果您正在考虑用 Java 创建游戏,那么我建议您使用 lwjgl (轻量级 Java 游戏库)。
Java doesn't come with any 3D libraries built in, so you're going to have to download and install one yourself. You can get the Java 3D API here. Here's a rough tutorial to take a look at as well, this may help too. Just as a heads up, there is far more math involved in 3D programming than there is with 2D. Make sure you have a solid grasp on how 2D graphics work before you jump in to 3D. Good luck, have fun.
Also, if you're looking into creating games in Java then I would suggest lwjgl (Lightweight Java Game Library).