Final Project - CSE 167 - Student: Keith Jia
Comments
My goal was to draw a castle though it came out looking more like a church. I have basically accomplished
what I set out to do though time didn't allow me to do bump mapping on the castle walls and roofs.
The structure of the castle is computed mainly with GL_QUAD_STRIPS along with some GL_TRIANGL_FANS and
GL_TRIANGLE. The tower is computed using parametric equation for a cylinder of six sides:
and the cone shaped rooftop of the tower is done using a forLoop with
GL_TRIANGLE_FAN. The wall and roof are textture mapped as well as the outdoor floor and background; there
are a total of 6 .bmp files used in this project. In addition, there is one light source to miminc the sun
at infinite distance to the upperleft of the castle.
Controls for this project are displayed upon running the .exe file on th screen which is pretty much
the same as the controls used for LightedScene. Basically, one can move up and down and around the castle;
the light source can also be turned on and off and it could be seen as wireframe or filled.
List of figures