10 years ago I did some game programming and used OpenGL for the 3d graphics part. It was not really great stuff, just some script kiddies attempts to make a game 🙂
Now I need to visualize a scene for testing image processing algorithms. I wondered: What changed in these 10 years? (I guess a lot?) Is NeHe still a good source or is it out of date? Are there good resources to close the gap?
Thanks!
NeHe is in the process of writing new tutorials. Some of the things you may have been used to 10 years ago have been more or less abandoned (compatibility profiles are still around, but they’re deprecated) in moving to a fully-programmable pipeline and more efficient primitives.
For example, passing vertices between
glBegin()/glEnd()is being left behind in favor of vertex buffer objects and vertex arrays. The old transform and lighting model is going away in favor of fragment shaders.I’d suggest starting with Joe Groff’s intro to modern OpenGL, and get a copy of The OpenGL SuperBible, 5th edition, which covers all of the new ways of doing things.