Light Torus : Animating Lights over the objects

Rajeev
Light Torus : Animating Lights over the objects
Description:  Program to demonstrate how to add lighting  and material properties to a torus.This program extends the program Wrap Torus.   The triangles or quadrilaterals are wrapped around the  torus in a single long strip. USAGES : There are a number of keyboard commands that control the animation.  They must be typed into the graphics window, and are listed below CONTROLLING RESOLUTION OF THE TORUS MESH      Press "W" to increase the number wraps.      Press "w" to decrease the number wraps.      Press "N" to increase the number of segments per wrap.      Press "n" to decrease the number of segments per wrap.      Press "q" to toggle between quadrangles and triangles.  CONTROLLING THE ANIMATION:      Press the "a" key to toggle the animation off and on.      Press the "s" key to perform a single step of the animation.      The left and right arrow keys controls the rate of rotation around the y-axis.      The up and do…

1 comment

  1. Roy
    Header file is broken...