June 2013
Intermediate to advanced
346 pages
8h 42m
English
Now that we have our tools installed and configured, let’s go ahead and create our first OpenGL program. This program will be very simple: all it will do is initialize OpenGL and clear the screen continuously. That’s the minimum we need to have an OpenGL program that actually does something.
If you want to follow along in the code, all of the source code and accompanying data for this book can be downloaded from this book’s home page.[19]
Clearing the screen seems wasteful if we’re already drawing over the entire screen on each frame, so why do we need to do it? ...
Read now
Unlock full access