OpenGL Project Template

Project Template 1   Project Template 2

Description:

This is a template project, which creates an OpenGL window containing a simple rotating tetrahedron. If supported, the template will use some WGL extensions to provide a window with multisample antialiasing. In this case, a dialog box will appear allowing you to select a resolution.

The template includes:

Fps Counter Simple frames per second counter
Image A class to load in .BMP and .TGA images
Log Singleton error log class
Maths Simple vector, matrix, and color classes
Timer Timer
Window Singleton class which creates and destroys the window

Requirements:

A working OpenGL implementation. If you do not have one, visit www.opengl.org

Optional:

WGL_ARB_extensions_string
WGL_ARB_pixel_format
WGL_ARB_multisample
WGL_EXT_swap_control

References:

Some code is derived from that at the NeHe tutorial website. nehe.gamedev.net

Download:

template.zip (333 KB)