Qt Jambi 与 JOGL 用于 java OpenGL 开发?
我计划用 Java 编写一个简单的应用程序,它有一个基本的 UI 和一部分 OpenGL 图形。除此之外,还需要某种网络访问。
我应该使用这些库中的哪一个?每种选择的缺点和优点是什么?我希望 OpenGL 编码尽可能真实,这样我就能感觉到我实际上正在(学习)OpenGL 编码。使用其中一种解决方案来编码周围的 UI 是否明显更容易?对于 JOGL,我可能会使用标准 java 组件来制作 UI。
只是给我一些想法供我思考,我并不是在寻找最终的真理。
I'm planning on writing a simple application in Java which has a basic UI with a section of OpenGL graphics. In addition to this some kind of network access is required.
Which one of these libraries should I use? What are the drawbacks and benefits of each option? I'd like the OpenGL coding be as genuine as possible, so that I could feel that I'm actually (learning) coding OpenGL. Is the surrounding UI significantly easier to code with one of the solutions? In the case of JOGL I'll propably make the UI with standard java components.
Just give some thoughts for me to thinker on, I'm not searching for the ultimate truth.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Qt Jambi 已停产,因此我就是因为这个原因才去JOGL的。
另外,如果您的目的只是在 3D 场景之上拥有一些基本控件,我建议您了解 IMGUI(立即模式 GUI)这里和那里。
虽然它不是 Java,但 NVIDIA 提供了基于 IMGUI 的小部件,您可以从中获得灵感。
Qt Jambi is discontinued, so I would go JOGL just for this reason.
Also if your intent is just to have just a few basic controls on top of your 3d scene, I suggest you learn about IMGUI (Immediate Mode GUI) here and there.
Although it's not Java, NVIDIA made available IMGUI based widgets from which you can get inspiration.
JOGL 有 JMonkeyEngine .. 一个非常好的游戏引擎。我会推荐 JOGL,因为它非常跨平台,很快就会有嵌入式平台实现。
JOGL has JMonkeyEngine .. a pretty nice game engine. I would recommend JOGL since it is pretty cross platform, soon with embedded platform implementations.