![]() |
Classic chessboard with (relatively) complicated pieces (pieces by Randy Brown). Drag the middle mouse button to spin board. Source code: source directory. Executable: chess. Snapshots: chess (shown). |
![]() |
Constructive Solid Geometry program based on information from the Advanced OpenGL Rendering course at SIGGRAPH '96 by David Blythe and Tom McReynolds. Click right mouse button for menu. Source code: csg.c. Executable: csg. Snapshots: Sphere sub Cube (shown), Cone sub Cube. |
![]() |
This program shows some particles stuck in a Lorenz attractor (the parameters used are r=28, b=8/3, sigma=10). The eye is attracted to the red particle, with a force directly proportionate to distance. A command line puts the whole mess inside a box made of hexagons. I think this helps to maintain the illusion of 3 dimensions, but it can slow things down. Other options allow you to play with the redraw rate and the number of new lines per redraw. So you can customize it to the speed of your machine. Source code: lorenz.c. Executable: lorenz. Snapshots: start (shown). |
![]() |
Simple program to visualize a mesh with a color ramp scale. Press 'h' for a help menu. Specify a data file as a command line argument. Source code: source directory. Executable: meshview. Snapshots: sinc (shown). |
![]() |
Demonstration of palette animation in color index mode. Press 'h' for a help menu, middle button spins. Source code: rainbow.c. Executable: rainbow. Snapshots: rainbow (shown). |
![]() |
This program displays a waving flag with an SGI logo trimmed out of it. The flag is a single nurbs surface (bicubic, bezier). It "waves" by making it control point oscillate on a sine wave. The logo is cut from the flag using a combination of piecewise-linear and bezier trim curves. Source code: sgiflag.c. Executable: sgiflag. Snapshots: sgiflag (shown). |
![]() |
Real-time soft shadows. Press 'h' for a help menu. Drag the middle mouse button to rotate the scene. Source code: source directory. Executable: shadow. Snapshots: shadow (shown), large w/multisample enabled (shown). |
![]() |
Demonstration of picking and rendering luminous objects. Drag the middle mouse button to spin the object. Move the mouse over the bulbs to light them. Source code: signal.c. Executable: signal. Snapshots: signal (shown). |
![]() |
Simple demonstration of using OpenGL's stencil test to cap clipped objects. Source code: simplecap.c. Executable: simplecap. Snapshots: capped (shown). |