Computer Graphics

3D Library for the Suns

OpenGL (mesa) does not seem to work on the elec eng suns. I have prepared an alternative version of the library that only uses Xlib (ie, it is about as low level as you can get while still staying with 'standard' software).

This can be found on the elec eng suns in

~lbull/Public/LibX3D1.0

For those in CS this library can be found in ~ucacmsl/Public/CG/LibX3D1.0. It is worth looking at if you want to see details of how to do things like clipping (not necessary in the other library where OpenGL does it for us). Also there is an implementation of a BSP tree.

Most of the files are the same as for the OpenGL based library, especially, all the data structures are the same. However, there are some differences:-