OpenGL 的关键。 Java/Scala/Python

发布于 2024-10-07 01:44:05 字数 508 浏览 1 评论 0原文

我一直最感兴趣的主题之一是 3D 编程。我曾多次尝试编写小游戏,但从未真正成功。在体验了 DirectX 和 C++、XNA 和 C#、以及 Unity3d 和 C# 后,我想尝试 OpenGL。只是出于好奇。当使用 C++ 时,要走的路是相当清楚的。然而 Java(以及我目前正在学习的 Scala)、Python ……更舒服。在与 C++ 斗争了大约两年但没有取得任何显着成功之后,我放弃了它。现在对于 Java/Scala/... 有很多 OpenGL 绑定,我想选择正确的一个。相反,关于它们的书籍很少。 Java 3d 和/或 JOGL 书籍是可用的,但是当查看 Scala 或 Python 时,事情并不是那么好。

您会推荐什么层/包装器/绑定(Java 或 Scala)。有一种标准吗?

是否可以通过阅读示例“OpenGL Superbible”来学习这种绑定? 如果没有,您能推荐一本书吗?

欢迎任何建议。如果有好的 IDE(插件)、工具、网站、教程……请告诉我。

one topic that has always been of highest interest to me is 3D Programming. I've made several attempts at programming small games and never really successed. After experiences with DirectX and C++, XNA and C#, as well as Unity3d and C#, I would like to try OpenGL. Just being curious. When using C++ the way to go is rather clear. However Java (and Scala that I'm currently learning), Python ... are way more comfortable. After about 2 years of struggling with C++ without any remarkable success, I turned away from it. Now for Java/Scala/... there are many OpenGL bindings and I would like to choose the right one. On the contrary there are few books on them. Java 3d and/or JOGL books are available but when looking at Scala or Python things aren't that good.

What layer/wrapper/binding would you recommend (Java or Scala). Is there a kind of standard ?

Is it possible to learn this binding by reading for eyample "OpenGL Superbible" ?
If not, can you recommend a book ?

Any advice is welcome. If there's a good IDE (plugin), tool, website, tutorial, ... please let me know it.

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

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

发布评论

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

评论(2

愿与i 2024-10-14 01:44:05

我在许多 3D 项目中使用过 JOGL。学习如何使用绑定并不像学习实际的 api 那样重要。在c和java中使用opengl几乎是一样的。唯一不同的是设置渲染窗口和缓冲区的方式。我将 netbeans ide 与 opengl for netbeans 插件一起使用,因为它为您设置了一切,您只需担心 opengl 部分。学习opengl任何书都可以。如果您有良好的编程背景,那么您应该很容易掌握。

I have used JOGL in many of my 3D projects. Learning how to use a binding is not as important as learning the actual api. Using opengl in c and java are pretty much the same. The only thing that differs is the way you set up your rendering windows and buffers. I use netbeans ide with the opengl for netbeans plugin because it sets everything up for you and all you have to worry about is the opengl part. To learn opengl any book is fine. If you have a good background in programming then you should catch on quite easily.

人生戏 2024-10-14 01:44:05

至于 Scala 绑定,有 scalagl 项目,但我还没有尝试使用它。

As for Scala bindings, there's the scalagl project, but I didn't try to use it yet.

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