I've been roaming the internet in my search for tutorials, and most of what I found is outdated and badly written. The most useful thing I found for Python was an example program on a random blog - that and google got me a long way, as well as some C++ tutorials, even though I use different libraries (pygame instead of GLUT). Over the last few days, I've gone from stuff like this tutorial looking like gibberish to actually being able to skim the code and know what it does.
I've got two problems right now. First, every single tutorial I've found says that the following code is super important, but doesn't say what it does:
glMatrixMode(GL_PROJECTION) glLoadIdentity() glMatrixMode(GL_MODELVIEW) glLoadIdentity()
As I understand it, there are three matrices (projection, modeview and texture) and glLoadIdentity() sets the current matrix to a standard value (the identity matrix). Can anyone explain what exactly each matrix describes? The best I've been able to find is stuff like this:
GL_MODELVIEW Applies subsequent matrix operations to the modelview matrix stack.
Doesn't really tell me a lot...
My second problem is that I can't find a good tutorial for vbo's or shaders, which I understand is something I ought to learn. Is this even something I should look at as a beginner in OpenGL, or should I focus on simpler stuff? Can anyone point me at a good tutorial (preferably Python, but C++ is ok too)?