Final Project Readme - CSE 167
Presidential Museum
Student: Andrew Terry


  Here is my final project.  It is a museum type room that pays homage to
some of the greatest (and not-so-great) men in the history of our country--
Presidents.  The real reason I chose these presidents is because I found
pictures of them on the internet first.  The room consists of a textured
floor, ceiling, and textured walls with a door, pictures, and presidential
seals, on them.  There are also a few benches to sit on near the door if a
person in the museum gets tired and needs to rest.  The room is lit by 4
lights near the four corners of the room.  A person is free to walk
anywhere in this room, but remember kids, don't touch the pictures.

  All surfaces contain textures that were downloaded from the internet.  The
floor looks like tile, the walls look like plaster, and the benches and door
look like wood.  All of the pictures are given polygon offsets to appear in
front of the walls, thus avoiding z-fighting.  The floor, ceiling and walls
are composed of many small quads (which can be seen in wireframe mode) in
order to repeat the texture pattern and also to make lighting effects look
better than if the texture wasa wrapped.  

  The camera position and view are specified using gluLookAt.  A vector in the
direction the viewer is looking is maintained and rotated when the user hits
the LEFT, RIGHT keys.  When the user hits the UP, DOWN keys, this vector is
added (or subtracted) to the current eye position and looking (center) position.
Maximum values for the positions are specified to keep the user from walking
through the walls or looking all the way over their head like they are doing a 
flip.

USAGE:

Press arrow keys to control view position:
      UP, DOWN - move the viewpoint (like you are walking around).
      LEFT, RIGHT - rotate the viewpoint (looking side to side).
Press "a" key to look upward.
Press "z" key to look downward.
Press "R" key to make rotation faster
Press "r" key to make rotation slower
Press "w" key to toggle wireframe mode on and off
Press "c" to toggle culling backfaces.
Press "s" to toggle the use of smooth shading and flat shading.
Press "1", "2", "3", and "4" to toggle the white lights off and on.
Press ESCAPE to exit.

Back to Main Page