Next: Prerendered Images
Up: Implementation
Previous: Specification of the
All source is located in the project's src directory. These are:
- cb.gn - The gnash script to build the scene and handle
input from the Tk interface.
- Gn*.[c.h], gnash.c, gn.h - These contain the
source code which was given to extend Tcl with callbacks for Gn. These
will be modified to provide for the new model constructs.
- *CB.[c.h] - C callbacks for the Gn extension to Tcl.
- intersect.[c.h] - Intersection tests for rays with various
object types. These include the code for handling CSG operation objects.
- texmap.[c.h] - Procedures to incorporate solid texture maps.
- matrix.[c.h], vectors.[c.h] - Linear algebra library
routines.
- render.[c.h] - Code for handling the rendering of a frame,
including lighting, reflection, and refraction rays.
- picrtns.c, pic.h - Handles writing scanlines to a
.ppm output file.