download
glambient-src-0.9.zip: source code
source code notes
At this point the source is provided more for reference than
in the belief that somebody is going to take it and compile it.
Hopefully this will change.
The glambient application currently runs only on win32. It
was originally developed on linux, and porting back to linux
should not be that difficult if you are determined. The Makefile
is written for
GNU make
rather than nmake, and no developer studio project is provided.
I use a win32 build of gnu make from the
pw32 project, available
at sourceforge
The application consists of about 10,000 lines of C code and
a few hundred lines of tcl.
it is riddled with bugs.
in addition, it uses the following code (included):
- the
sgesvd singular value decomposition routine
from the clapack distribution, courtesy of
netlib.
- Togl is a tk widget for
opengl drawing.
and the following libraries (not included):
- OpenGL is used for rendering
the tilings. Win32 includes OpenGL support - an open source
implementation of the API for other operating systems is available
through Mesa 3D.
- Tcl/Tk is a lousy scripting
language with a great user interface toolkit.
- the Img
library allows Tcl/Tk to read JPEG images (and more).
- Ming is a C library for generating
SWF movies. These movies can be then be played back using the
flash player.