Name : Diep Nguyen
Login : dnnguyen
Course: CSE 167 Fall 2004
Date : December 2, 2004
~*~*~ ZODIAC ~*~*~*
Commands:
"w" -- toggle wireframe mode.
"c" -- toggle culling of back faces
"r" -- move the pointer one step in a
clockwise direction
"l" -- move the pointer one step in a
counterclockwise direction
"0" -- toggle the white light to be
on or off. If on, all other light
will be off.
"1" -- toggle the red light located
upper left corner to be on or off
"2" -- toggle the green light located
upper left corner to be on or off
"3" -- toggle the blue light located
upper left corner to be on or off
"4" -- toggle the red light located
upper left corner to be on or off
Press arrow keys to control view
position:
"left and right keys" rotate the outer-rim around the x-axis
"up and down keys" rotate the outer-rim around the y-axis
The Design:
This final project is a display of
the twelve artistic zodiac pictures. The twelve pictures
are placed in a clockwise position starting with Aquarius at the 12 o'clock
position. Going clockwise
are Pisces, Aries, Taurus, Gemini, Cancer, Leo, Virgo, Libra, Scorpio,
Sagittarius, Capricorn. The
spherical-shaped of these pictures are created with the use of mapping texture
coordinates to the
sphere. The center of the twelve zodiac picture displays a rectangular view of
the picture that the
little spherical pointer points to. This pointer moves clockwise (command "r")
or counterclockwise ("l").
A total of five different lights are
used to increase the artistic feature of this project. The
white is located in the center and is mainly used see full design without any
special lighting effect.
The remaining four lights are located on the corners of the design's borders.
When these lights are
turned on, a sphere created by using glutSolidSphere will appear. The light at
upper-left, upper-right,
lower-left, and lower-right are for light 1, 2, 3, and 4 respectively.
The rotational movements are used in
many part of this design. Spherical-texture-mapped objects rotate
slowly to give a better view of the zodiac picture. In addition, the center
display is also rotated. The
arrow keys control the twelve spherical-texture-mapped objects. They rotate
according to how the key are
pressed. There is no angle limitation for this rotation.
Sources:
The twelve zodiac pictures were given
to me by my sister a long time ago. It was her friends who got
these off of some website.
