Links to OpenGL and GLUT

  • Official OpenGL site Contains lots of useful links from the basic to the fairly advanced levels.

  • Mesa site Mesa provides a software emulation of OpenGL. This runs slower and often does not take advantage of your hardware's graphics capabilities. However, if your system does not have OpenGL, this is a good alternative.

  • Good place for beginners This is another good page for several tutorials on OpenGL.

  • Download Glut for Win 32 If you are using a Win32 PC that does not have GLUT installed, you can download the GLUT pre-compiled binaries as well as source code.
    To download a local copy of GLUT32 that we have found to work well click here.

  • GLUT Tutorial

 


Locating OpenGL and GLUT at UMD

  • WAM and Glue Labs: Mesa and GLUT can be found in /usr/local/Mesa. The libraries are in the lib subdirectory under the names libMesaGL, libMesaGLU, and libglut, and the include files are in the include/GL subdirectory under the names gl.h, glu.h, and glut.h.

  • 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.)

  • PC's with Visual C++: OpenGL 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 above). Once the files are set up, here is short tutorial from George Washington University on how to create a program in Visual C++ using OpenGL and GLUT. (BEWARE: This has a link to an old version of Glut. You should use the link below to Nate Robbins Glut page to download the latest version.)

    Thanks to Evan Golub, we have been provided with free academic licenses for Visual Studio 6 and Visual Studio.NET, both of which provides a Visual C++ compiler. To obtain a copy, send me (David Jacobs) email. I'll send you an account and password, which will allow you to download and install the software from the following page:
    http://msdnaa.cs.umd.edu:8000/software/cmsc427.shtml


    The download takes a long time. If you have a slow connection, I have CD's, which can be checked out overnight.

  • CSD Junkfood Labs: OpenGL and GLUT can be found in various directories, depending on the operating system. (These machines are only accessible to CS grad students.)
This page is based on a largely similar page created by Dave Mount for his CMSC 427 course, and an identical one that Amitabh Varshney created for his CMSC 427 course.