This program is a simple test harness for the polygon rendering capabilities of the Modular Renderer library.
It renders up an animation of a Rubiks Cube scrambling and displays it to a Windows window or XWindows window.
Its possible to modify the makefile to remove the
-DVIEWWIN or -DVIEWXWIN compile time flag.
In this case the program will generate pictures of the animation
as 512x512 8bpp bitmap files called
cube0000.gif, cube0001.gif, ... etc..
In this case the PLAY program can be used to display the animation later.
Press q to exit.
This document, and the CUBE package are available from my home page at http://www.nyangau.fsnet.co.uk/.
The package contains this document and full source to the CUBE program. Also available from my site is the MR and GBM modules that this code uses.
The source code is highly portable C++ code.
The only UNIX I've tested on is Linux.
Other UNIXes probably need XOPTS changing in the
makefile.
This program, including its source code, are public domain. Caveat Emptor.