Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c++

opengl

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.

like image 439
Tek Avatar asked Jan 08 '11 22:01

Tek


3 Answers

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.

like image 141
greyfade Avatar answered Nov 03 '22 22:11

greyfade


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

like image 34
Lou Franco Avatar answered Nov 03 '22 20:11

Lou Franco


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.

like image 1
Eric M Avatar answered Nov 03 '22 22:11

Eric M