简体   繁体   English

OpenGL 3.2编程指南?

[英]OpenGL 3.2 Programming Guide?

Most resources available online are very outdated. 在线提供的大多数资源都已过时。 Specifically, they are all about OpenGL 2 which matches to DirectX 9. 具体来说,它们都是关于与DirectX 9匹配的OpenGL 2。

The current specification is 3.2 which is equivalent (or, well, very close) to DirectX 10 (11). 当前规范是3.2,它与DirectX 10(11)等效(或者,非常接近)。 But the specification itself is very hard to read. 但规范本身很难阅读。 In contrast, DirectX SDK is a wonderful piece of documentation, samples, and tools. 相比之下,DirectX SDK是一个很棒的文档,示例和工具。

Where I can get the programming guide for OpenGL, that is not outdated? 我可以在哪里获得OpenGL的编程指南,那是不是已经过时了? Where can I get the samples? 我在哪里可以获得样品? And so on. 等等。

The OpenGL Technical Wiki is a starting point. OpenGL技术Wiki是一个起点。 It also contains some OpenGL 3.2 tutorials . 它还包含一些OpenGL 3.2教程 Don't expect anything like the DirectX SDK, but afaik there's no better resource. 不要指望像DirectX SDK那样,但是没有更好的资源。 OpenGL learning seems to be more like a trial and error process, where the developer forum is especially helpful. OpenGL学习似乎更像是一个试错过程, 开发者论坛特别有用。

Well, if you have no real experience of OpenGL, stick to OpenGL 2.0. 好吧,如果您没有OpenGL的实际经验,请坚持使用OpenGL 2.0。 If you want go to 3.2, I recommand reading the specs: 如果你想转到3.2,我建议阅读规格:

http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf

and gl-extensions: 和gl扩展:

http://www.opengl.org/registry/#arbextspecs http://www.opengl.org/registry/#arbextspecs

About samples, you can check humus website, it's really up to date and there's plenty of GL/DX materials: 关于样品,您可以查看腐殖质网站,它是真正的最新版本,并且有大量的GL / DX材料:

http://www.humus.name/ http://www.humus.name/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM