Starting OpenGL in a dialog

Download project files 1420KB

This is the smallest example to make :

  • Antialiasing

  • Gouraud

  • Texture mapping

  • Texture lighting

  • Texture transparency

This sample create an OpenGL rendering context in a dialog box and draw
a simple cube. We can manipulate the object with the mouse, and change
texture file with a popup menu item. A timer animate a rotation. Texture
files are .BMP files (2^n * 2^m * 24 bits).







More by Author

Must Read