Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GLUT Window System Library

GLUT is the OpenGL Utility Toolkit developed by Mark Kilgard for his columns in the X journal, but it has sort of established itself as the toolkit of choice for a large number of programs that only need OpenGL. It is avilable on Unix and Windows and contains some wrappers to simplify writing software that works on both platforms. See http://www.opengl.org/developers/documentation/glut/index.html for general information and documentation about GLUT.

The GLUT window is the simplest of the OpenSG windows, as GLUT takes care of almost everything. The only parameter is the integer Window ID that GLUT uses, but most GLUT applications only use the default window anyway and thus don't have to setup anything except for calling init() after creating the Window.

activate() calls glutSetWindow, eactivate() is a nop, as GLUT can't be witched off, and swap() directly calls glutSwapBuffers(). The osg::GLUTWindow is very simple, but very useful nonetheless. Most of the test and tutorial programs are written using GLUT.


Generated on Thu Aug 25 04:12:27 2005 for OpenSG by  doxygen 1.4.3