开发者

Up to date OpenGL tutorials or books for c++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or exper开发者_开发百科tise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I'm new to OpenGL, I'm on Linux and have an NVIDIA card that supports OpenGL 3.2.

I'd like to learn from the most recent changes of OpenGL. I'm looking for C++ tutorials or books of OpenGL 3.0+.

I know this question has been asked frequently but all the sources seem to be old or the tutorials are in C. I couldn't find a decent tutorial with this criteria so feel free to suggest books too. Thank you.


Get a copy of the fifth edition of the OpenGL Superbible. It comes with a C++ library for use with OpenGL, and only covers the modern programmable pipeline.


I like this tutorial, but it's being written, so it only has 4 chapters right now

http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Table-of-Contents.html


OpenGL Programming Guide, 6ed. It is current as of about 18 months ago.

If you are new to OpenGL, there is not much point in worrying about the latest & greatest features of v3.2... OpenGL builds on it's own concepts from version to version. You need to understand the basics of OpenGL before the very newest bits make any sense. While learning the basics you will find out what new parts are useful to you.

That said the org that manages OpenGL is called Khronos. This page has links to the standards docs and extensions: http://www.khronos.org/opengl/.

But really, learn the basics first: that and a bit of reading on the side will point you at what extensions or new features are worth your time.

[edit] As has been noted by other people in this thread: OpenGL is a C API.

There are C++ wrappers but in my experience they are more trouble than they are worth, they each impose a model of using OpenGL... but OpenGL is really just a collection of C functions and using it as such gives you the most flexibility.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜