Contents / Previous / Next


GLUT and GLU and GLX and WGL

The OpenGL Utility Toolkit (GLUT) by Mark J. Kilgard is a cross-platform library of utilities for OpenGL programs:

All GLUT functions start with the glut prefix, for example, glutPostRedisplay.

Freeglut and its spin-off, OpenGLUT, are open source alternatives to GLUT.


GLU is the OpenGL Utility Library, it provides higher-level drawing routines:

GLU functions have glu as a prefix, for example, gluOrtho2D(), which defines a two dimensional orthographic projection matrix.


GLX is a X-Windows application for OpenGL. It does Low-level Frame buffer, Color handling, etc.

WGL does the same MS Windows (DOS)