Site hosted by Angelfire.com: Build your free website today!

OpenGL GLUT page

What is GLUT?
Answer: OpenGL Utility Toolkit library, used to add features not found in the standard OpenGL API.
Things like; window functions (create/close window, menu, etc), keyboard and mouse functions, 3D primitives (Cube, Sphere, Cone).

GLUT let’s the programmer work more on coding graphics then trying to deal with the windows API.
Also GLUT has cross platform support, so a program written using GLUT, can also be compiled to run on Mac and Linux machines.
But also there are limitations to using GLUT, no sound support and some limitations on the keyboard scan routines.
But for someone starting out it is a good tool for learning and simple application.
My first example is a simple glut window with a spinning cube, source code is commented.
Should be able to compile it on any system with the GLUT library.

Windows version
glutwindow.zip

Linux version built with KDevelop
glutwindow-0.1.tar.gz

Home