Guide to Game Development/Rendering and Game Engines/OpenGL/GLUT

From Wikibooks, open books for an open world
Jump to navigation Jump to search

GLUT (pronounced like the glut in gluttony) is the OpenGL Utility Toolkit, a window system independent toolkit for writing OpenGL programs. It implements a simple windowing application programming interface (API) for OpenGL. GLUT makes it considerably easier to learn about and explore OpenGL programming. GLUT provides a portable API so you can write a single OpenGL program that works across all PC and workstation OS platforms[1].

GLUT is not open source. Mark Kilgard maintains the copyright. There are a number of newer and open source alternatives[1].

Categories[edit]

Code on how to create the basic perspective scene for 3D
Code on how to create the basic orthographic scene for 2D
Functions used for handling: Mouse, Keyboard, etc.
How you can group glut for distribution to others.

Clipboard

To do:
Think of more pages to add

About[edit]

GLUT supports[1]:

  • Multiple windows for OpenGL rendering
  • Callback driven event processing
  • Sophisticated input devices
  • An 'idle' routine and timers
  • A simple, cascading pop-up menu facility
  • Utility routines to generate various solid and wire frame objects
  • Support for bitmap and stroke fonts
  • Miscellaneous window management functions

External links[edit]

References[edit]