Creating special 3D effects with C++ and OpenGL
Article on the December 2003 and Genuary 2004 issues of the italian magazine "Io Programmo"
Topics covered in the article: loading 3D studio objects; setting up a fullscreen OpenGL window; rendering an object in point, wireframe and solid mode; applying any combination of light, blending, texture mapping, fog and smooth shading; drawing antialiased text; calculating frames per second; playing animations that don't rely on subsystem speed; playing music. Click here to download the companion example. The model is made of over five thousand faces, so it needs a 3D accelerated video card to work best, even an old one. On your office pc, you may reduce your desktop resolution just before running the program to see a smoother animation.
For feedback to this article,
please write to: ![]()