OpenGL 2.1 course
COM and DirectX
Getting started with DirectX 11
Phong illumination model (cheat sheet)
I summarize the Phong illumination model with the above equation and explain all the terms one by one.
C++ code to emulate openGL old direct mode drawing
glBegin(GL_TRIANGLES); glVertex3f(1.0f, 0.0f, 0.0f); glVertex3f(0.0f, 1.0f, 0.0f); glVertex3f(0.0f, 0.0f, 1.0f); glEnd();
[ compact version ] | [ modular version ]
Remember the old days when you were able to simply draw a few primitives with GL_POINTS, GL_LINES or GL_QUADS within a pair of good old begin() end(). Well I'm providing a C++ class which will enable you to do this again under OpenGL 3.1 or higher.
- « Previous page
- 1
- Next page »