Lazy Foo' Productions


Introduction to OpenGL Graphics Programming

Last Updated 1/04/14
OpenGL is a powerful cross platform graphics API. With OpenGL, you can get hardware accelerated 2D and 3D rendering. This tutorial set was made to give beginners a head start by going through the basics of OpenGL usage.

For this tutorial we'll be starting using the OpenGL 2.1 era code to get started with the basics. Then we'll transition to modern OpenGL 3.0+ shader based programs.

Make sure to check out the Frequently Asked OpenGL Tutorial Questions. If you're having trouble with vector math, check out my OpenGL Math Primer.
Table of Contents
I am not claiming to know everything there is to know about programming/C++/OpenGL, but I have gained knowledge from the OpenGL projects I've worked on. These tutorials are made to pass on the knowledge I gained to those just starting out and to make OpenGL much less intimidating to beginners. I try to keep my code and tutorials as bug free as possible. If you find any errors please report them to me. Suggestions are also welcome.

So if you have any suggestions, comments, questions, bugs reports, typos, or anything else you want to say about the tutorials, feel free to contact me.