Where can I find a good online OpenGL 3.0 tutorial that doesn't use any deprecated functionality?

Jonba picture Jonba · Dec 30, 2010 · Viewed 32.6k times · Source

I just purchased the fifth edition of the OpenGL SuperBible. I'm very pleased that they've avoided using deprecated functionality but their examples make use of GLTools. GLTools provides a slew of useful functions for rendering simple 3D objects and managing the view frustrum, camera, and transformation matrices.

This is all great but the abstraction provided hides low-level details and I'm having difficulty moving to code where I can't use GLTools -- for example, pyopengl. The vast majority of tutorials I've seen online make use of immediate mode, which I'm trying to avoid. Those that use glDrawArrays make use of glEnableClientState, which I'm also trying to avoid.

What I'm looking for is introductory tutorials that are fully OpenGL 3.x compliant. If that's too tall of an order, perhaps a laundry list good "starting point" functions would be in order.

Answer

Damon picture Damon · Feb 6, 2011

Stay away from NeHe, the tutorials are hopelessly outdated and contain a lot of "problematic" stuff, too.

For starting with 3.x, try those, they're both up-to-date:

Aurian (Joe Groff)

Arcsynthesis (Jason L. McKesson)

Update:
Re-reading my own post almost 2 years later, I guess that one might find that it sounds a bit harsh.

This is of course not the intent. The core message (which remains valid) that I wanted to give was that NeHe still deals with OpenGL 1.x/2.x and uses some unsupported "antique" libraries.
Generally, as such, this does not mean the tutorials are necessarily bad, but starting from there will mean starting two generations behind the current state-of-the-art, and one generation behind the minimum one should learn. Learning legacy OpenGL will, at a later time, require you to forget almost everything you know and re-learn from scratch.

That said, the NeHe front page now links to a tutorial focussed on OpenGL 3.3 by Damien Mabin, which looks quite nice at first sight (though I will not have time to thoroughly read through it before new year).