[256] in Software_Announce

home help back first fref pref prev next nref lref last post

GLUT libraries installed on Athena

daemon@ATHENA.MIT.EDU (Alex T Prengel)
Fri Nov 6 18:07:12 1998

To: software-announce@MIT.EDU, jarfish@MIT.EDU, tom@media.MIT.EDU
Cc: alexp@MIT.EDU, facdev@MIT.EDU, cfyi@MIT.EDU
Date: Fri, 06 Nov 1998 18:07:18 EST
From: Alex T Prengel <alexp@MIT.EDU>


I have installed static GLUT graphics libraries on Athena, in the
glut/glut_v3.7 base locker/version locker pair. I used the latest
release, 3.7, which is in late beta. GLUT is a set of utility
functions that enhance OpenGL graphics applications. It requires that
OpenGL libraries and a GL-extended X server be separately installed on
the machine being used.

These are a standard component on all SGI machines, and have recently
been made available on Athena Suns, though we are still in the process
of resolving some problems on Ultra 10s. If you use GLUT on machines
with 8 bit graphics (Sun Sparc 4s and 5s), the screen color map will
be drastically altered to make everything outside the currently active
"glut window" appear as very dark, almost invisible red.

Demos, tests etc. can be built by copying the tree rooted at glut-3.7 to a
location where you have write permission with cp -r, i.e.

add glut_v3.7
cp -r /mit/glut_v3.7/glut-3.7 /var/tmp

then running mkmkfiles.imake (Sun) or mkmkfiles.sgi (SGI), followed by
a "make" in the appropriate directory to build what you want. Don't
just type "make" from the top level, or in one of the library
directories, because these are already built (there are links to them
from the tree below glut-3.7) and you will just be wasting time. What
would be most useful is to cd to one of the directories below "progs"
or "test" and type "make" there.

Note: many of the dynamic demos will run extremely slowly on slow machines,
such as Sparcstation 4s and 5s.

Space needed is about 20 meg before compiling, allow for up to about
65 meg if you compile everything.

All but the FORTRAN interface libraries have been built for both Sun and SGI.

Users can build their own applications by basing Makefiles on the ones for
the demo and test files. 

Convenience symlinks and a base-version locker system have been set up
so that if you attach the glut locker, the current libraries will be
found below /mit/glut/lib, and the necessary include files below
/mit/glut/include.

man pages for GLUT functions are located below /mit/glut/man/man3GLUT.

The book "OpenGL Programming for the X Window System" (Kilgard, Addison Wesley)
is a very good reference for learning how to use GLUT.

                                             Alex

home help back first fref pref prev next nref lref last post