README for the Color Program

This program demonstrates the color properties of OpenGL. Only the vertices
of the cube are colored. If you have a pretty good video card (one RUNNING
at least 16-bit color) then you'll see the interpolation that OpenGL does for
colors between vertices. This is SMOOTH shading.

If you look closely you'll see the cube dip into the rear clipping plane.

A fun thing to do is to see how the animation code works. Try commenting out
the animation short-circut that keeps the frame rate to less than 33 frames/sec
and see if you can tell the difference. You can also try turning on FLAT
shading and seeing what difference that makes. Try making the window really
really small. The animation gets better, but due to the design of the animation
code, it dosen't go any faster.


The scene is animated, so try the following keys:
HOME: Resets viewpoint to initial values (animation keeps going)
SHIFT-HOME: reset viewpoint & clear movement vectors
5: Clear movement vectors
Up/Down Arrows: change velocity in Z (if shifted, change rotation)
Left/Right Arrows: change velocity in X (if shifted, change rotation)
Plus/Minus: change velocity in Y (if shifted, change rotation)
ESC: Exit animation
