This is a shading demonstration. Lower resolution = faster rendering Resolution doesn't have much visual effect for shade types 2 and 4. Use the arrow keys to rotate it. Q/E to zoom out/in Figure 1 - square pyramid; Figure 2 - cube; Figure 3 - polygon Figure 4 - special cube! Check it out! Auto - whether or not it changes color automatically (0 = false) Rendering is slower with auto on.
Change log: v1 - release v1.1 - added polygon support. v1.2 - added perspective and auto color change (optional). v2.0 - added figure 4: a cube whose faces can be moved using the slider called ---, so you can see all 6 of them!! I am especially proud of the rendering order, the faces in the back are plain and dark. v2.1 - added Wireframe? slider. Planned: Comment your suggestions!