OpenGL and General Graphics Information

The OpenGL and GLUT libraries are widely available libraries for interactive graphics. Most systems these days come with OpenGL installed (for example it comes installed on all modern Microsoft Windows systems), but if you do not have it on your system there is a freely available version of OpenGL available on the web called Mesa.

Here is more information on where to find OpenGL and GLUT on the various systems at the University of Maryland.

PC's with Visual C++:
OpenGL/GLU comes bundled as part of Microsoft Windows. The libraries are stored in two forms, as .dll files and .lib files. The .dll files are stored in the main system directory (where all the dll's are stored. Do a search for "opengl32" or "glu32" to locate them on your system. The include files are stored in the main Visual C++ directory in the directory include/GL.
The glut library (glut32.dll, glut32.lib, and glut.h) are not part of the standard Windows, but can be downloaded for free. (See the GLUT information below).
For information on setting up and using OpenGL on Windows systems click here (source Virginia Tech).
If you get a compilation error while trying to compile glut.h with Visual Studio, please check here.
CSIC Linux Labs:
In the CSIC Linux Labs, the OpenGL library files are located in /usr/X11R6/lib and the Glut library /user/local/freeglut/lib. The OpenGL include files are located in /usr/include/GL and the Glut include file is located /usr/local/freeglut/include/GL. (Redhat dropped support for Glut because it was too hard to configure and compile. Freeglut is essentially the same, and much easier to work with.)
WAM Labs:
OpenGL has been installed on some of the machines in the WAM labs, but not all have all the libraries that we need. Until these libraries are installed, we do not recommend using the WAM lab (or Glue lab) machines.

OpenGL Links

OpenGL Home Page:
Lots of information about OpenGL.
OpenGL "Red Book"
The official title is the "OpenGL Programming Guide", but it is widely called the "Red Book." Authors: Woo, Neider, Davis, and Shreiner. This book is on reserve in the Computer Science Department Library (in AVW 3164), but you might consider buying it if you plan to do more OpenGL programming.
OpenGL "Blue Book"
The official title is the "OpenGL Reference Manual", but it is widely called the "Blue Book." It is the Official Reference Document to OpenGL. It is also on reserve in the Departmenal Library (AVW 3164).
NeHe Productions Game Development Page:
Lots of information about OpenGL and game development in general, along with useful tutorials.

The GLUT Toolkit

Nate Robins GLUT for WIN32:
The easiest way to download GLUT for Windows (9X, ME, NT, 2000, and XP). See the README-Win32 file for an explanation of where to put the various files.
GLUT Home Page:
Contains information on downloading and installing GLUT, an toolkit library for OpenGL, which will be needed in our projects. (This contains pre-compiled binary downloads for both Solaris and Windows 9X, 2000, NT and XP.)
freeglut Home Page:
freeglut is a completely OpenSourced alternative to the GLUT library. It is particularly recommened for Linux users.
GLUT Tutorials:
A number of useful tutorials on the use of GLUT.

OpenGL Documentation on the Web

Microsoft MSDN OpenGL Documentation:
This contains both reference material on OpenGL and Glu. (If this link is broken, go to the MSDN Library Page and search for "OpenGL".)
GLUT Home Page:
The GLUT home page also contains complete documentation on GLUT, given both in html and pdf formats.
OpenGL Tutor:
This is a program (by Nate Robbins) that allows the user to interactively adjust various OpenGL settings and see the results. (Installation required.)

Web Accessibility