GLUT Gears

This is a conversion/rewrite of the old, classic Gears demo to modern OpenGL.

The conversion to modern OpenGL is fairly extensive. First of all, there is no immediate mode, so all immediate mode calls were converted to calls that accumulate data into arrays. Second, there are no quads, so quads need to be split to triangles, or multiple triangle strips. I chose to split into triangles. Finally, shaders must be used for transformations and shading.

Updated 2017.


Old, obsolete, should be replaced/remade: (Version working under MS Visual Studio, with project file. This is an older version than above, using the older VectorUtils2.)

This page is maintained by Ingemar Ragnemalm.