8/2/07, pm-n.
Week: 6 ( 5/2 - 9/2 )
Lectures:
- About light, materials and colors ( from ch. 4 and 5 )
- About scene graphs ( from ch. 3 )
Example programs:
- The directory /users/pmn/public/cgf07/week6 contains
a ( kind of ) fish built from three pyramids - an example
of a very simple hierarchy.
- The directory /users/pmn/public/cgf07/week6_cpp is a
rewrite of the "fish" in a object oriented style ( using C++ )
which is more suitable for large scenes.
Exercises:
- Create an object which is movable at one or more joints.
- Improve the "grabber" by using some of the facilities
of GLUT. Look in "the red book" App. D.
- Create a scene with a number of objects, and make it
possible to move ( by means of the "grabber" ) a single object
independent of the other.
Reading:
- OpenGL, Programming Guide ( "The red book" )
Chapter 4 ( p. 155 - 172 ), Color
Chapter 5 ( p. 173 - 190 ), Lighting
Chapter 3 ( p. 105 - 113 ), Viewing
App. F, Homogeneous Coordinates and Transformation Matrices.