opengl
opengl

CONTENTS
News
Home
OpenGL.org News

Directory
Official website
Tutorials
Game Development
Benchmarks
Books
Demos
General
Forums
IRC
Tools

Downloads

Topic Forum

Forum for men

GLUT

GLUT? What is that?




GLUT is short for OpenGL Utility Toolkit. But what is this 'ultility toolkit' and what does it do?

OpenGL by itself does not directly support functionality for input, menus and windowing. This is where it falls short in comparsion to DirectX, which provides provision for input, sound, networking among other programming interfaces.

GLUT provides functionality for input, menus and windowing/subwindowing and the great thing about GLUT is that it's very easy to use and also portable. It's ideal for simple OpenGL applications or demos. 

I would not suggest GLUT for games though. From personal use, GLUT seems to be lagged in comparison to DirectInput with regards to user input. DirectInput seems much more responsive, but menus in GLUT are well worth the look.

If you would like to give GLUT a try, it can be downloaded from Nates page at http://www.xmission.com/~nate/glut.html

I've created an graphics demo that uses GLUT. It features terrain morphing and is hosted on NeHe's OpenGL website The link is in the http://nehe.gamedev.net/data/downloads/download.asp?letter=T section under my name, Kevin Allman.

Also, a full list of GLUT tutorials, step by step are located at Lighthouse3d. For those interested, refer to the following GLUT Tutorials @ lighthouse3d  - http://www.lighthouse3d.com/opengl/glut/


Some of the topics lighthouse3d touches:

Setup - 

Basics 
Initialization - 
Resizing the Window 
Animation

Input
Keyboard
Moving the Camera
Advanced Keyboard
Moving the Camera II
Mouse

Pop-up Menus
Basics
Sub Menus
Modifying a Menu
Swapping Menus

Fonts
Bitmap Fonts
Bitmaps and the Ortho View
Stroke Fonts

Extras
Frames per Second
GLUT Game Mode

Subwindows
Creating and Destroying Subwindows
Resizing SubWindows
Rendering to SubWindows



Hope that you give GLUT a try! Its well worth it.




Articles
 OpenGL + Game Development
 Mobile Gaming + Opengl!
 GLUT. What is it?

Have an article?
Submit news

















Copyright (c) 2005 Pzeta.org - OpenGL links