是否有向 Direct3D 程序员教授 OpenGL 的资源?

发布于 2024-12-01 00:28:03 字数 151 浏览 1 评论 0原文

我已经很好地掌握了 Direct3D 9,现在我想学习一些 OpenGL。我有 OpenGL 红皮书,第六版,它有很多很好的信息,但它也有很多我从我的 D3D 工作中已经知道的信息。我想要 OpenGL 和 Direct3D 中所有差异和等效项的概要。有谁知道我在哪里可以找到这样的东西?

I have a good grasp of Direct3D 9, and now I want to learn some OpenGL. I have the OpenGL Redbook, sixth edition, and it has a lot of good information, but it also has a lot I already know from my D3D work. I'd like a rundown of all the differences and equivalences in OpenGL and Direct3D. Does anyone know where I might find such a thing?

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

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

发布评论

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

评论(1

如果没有 2024-12-08 00:28:03

它们都是一回事,如果您正在寻找功能差异,请查看维基百科。
首先是大的:
DirectX 的范围比 OpenGL 更广,因为 DirectX 由 DirectSound、DirectPlay 和 Direct3D 等组成。而 Open Graphics Library 只涉及图形。

从我与他们合作的角度来看,DirectX 的设计要好得多,并且跨平台统一,而 OpenGL 只是一个规范,在不同的实现中有着不同的解释(ATI 和 Nvidia 在整个开发过程中不断互相争吵)。这使得 OpenGL 有点难以处理,自 3.1 以来就没有任何好的和简单的功能了,

OpenGL 提供的是破解和利用你内心内容的能力,它以最高的灵活性超越了 directX。您会感觉更接近 OpenGL 中的硬件,并且可以更好地了解正在发生的事情。我一直觉得directx有点障碍,如果你想做专业游戏那就用directX,但OpenGL比DX更随心所欲/有趣;你肯定会学到更多,而且缺乏完美的附加层会让你更加努力地工作。

首先阅读蓝色/橙色和黄色书籍。也尝试 GXBase 而不是 Glut..

They are both one and the same, if you're looking for feature differences then check wikipedia.
First the big one:
DirectX has a wider scope than OpenGL in that DirectX is composed of DirectSound, DirectPlay and Direct3D etc. Whereas Open Graphics Library is just about graphics.

From my perspective of working with them, DirectX is much better designed and uniform across platforms, whereas OpenGL is just a spec and is interpreted differently across different implementations WIDELY (ATI and Nvidia just bitch at each other constantly throughout development). this makes OpenGL a bit harder to handle, there are no nice and easy features since 3.1

What OpenGL gives is an ability to hack and exploit to your hearts content, it transcends directX with supreme flexibility. You feel alot closer to the hardware in OpenGL and you get a better idea of what's going on. I always found directx to be a bit of a handicap, if you wanted to make a professional game then go with directX, but OpenGL is more free-wheeling/fun than DX; you will definitely learn more and the lack of perfect additional layers around makes you work that bit harder.

To get started read the blue/orange and yellow book. also try GXBase instead of Glut..

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