OpenGL, GLUT, and GLUI
OpenGL is
the pre-eminent graphics library available today.
GLUT (Graphics Library Utility Toolkit)
provides a simplified, portable API.
In this course, we will use them only in very basic ways to support you
in writing your graphics code.
Writing interfaces is helped with GLUI, which is built on top of GLUT.
For your interest, click here for some online OpenGL manual pages.
- Using GLUT:
GLUT API Version 3
- Getting GLUT on your home PC:
- Get OpenGL 1.1 for Windows 95 from Microsoft.
You can download it as a self-extracting archive from their
ftp server.
After you extract the files, place them in the proper
directories.
- Get GLUT for Win32.
If you have Developer Studio/Visual C++, you should be able
to just install
the DLL's, etc. If you have Borland,
you will need to do a bit more
work.
- Compiling the sample program:
- Getting GLUI:
- refer to the
GLUI home page for source,
library, and documentation (I believe our current version is 1.01).
- there are also copies of the manual in CSIL.
- here's a sample GLUI program from
last semester.
Acknowledgement
Thanks to Dr. Daryl Hepting for creating this page.
Last modified: September 2000
Kori Inkpen /
inkpen@cs.sfu.ca