Readme
Program: Final Project - CSE 167
Author: Kristen Kho
Date: December 2, 2004
Description
For this project I chose to recreate a scene from Golden Gate Park in San Francisco. I used 10 different texture maps: 4 were cropped from the reference photo, and the rest I created in Adobe Photoshop. I created an "RgbaImage.cpp" class that stores an alpha value (in addition to the r, g, b values) to achieve the transparency in the texture maps.
The Chinese building/structure/thing was constructed almost entirely with GL_TRIANGLE_FAN, GL_QUAD_STRIP, and GL_QUADS. The birds are constructed of 3 squashed spheres. They fly across the pond and back and their animation can be controlled by pressing "Q" or "q" to increase/decrease the speed. The tree trunk/branches are cylinders with various mesh counts and sizes and the leaves are just texture-mapped quads. The ground is just one big quad with a texture map I scribbled in Photoshop. I didn't model any people, but I did add a billboarded person... Each object is contained within its own method so you can scale, rotate, and translate the scene before calling the method to specify its size and location.
The camera position can be controlled through various sets of keys. The standard "wasd" keys step the camera forward, left, back, and right. The arrow keys control the up/down and left/right rotation of the camera around the origin. In addition, by pressing "M" you can enable the mouse to control camera position. This project also contains the wireframe mode, smooth/flat shading toggle, and lights toggles from previous programs.
Controls
View Position:
Modes:
Misc: