Project #3 - CSE 167 - Student: Yingying Chen
Comments
OVERALL GOAL OF PROJECT:
I was trying to model a bridge with its surrounding environment. Originally I
was thinking of the Golden Gate Brige, but its construction proved to be at bit too
intricate to model within the short amount of time. I had also wanted to add fog to
the scene, but the GL_Fog commands did not produce the desired effect. If I had more
time I would have tried to add water under the bridge, and maybe try creating a
snowstorm. Right now, the program already runs extremely slow, so the snowstorm
wouldn't have been a good idea on these school machines. I plan to continue it at home.
ACHIEVED AIMS OF PROJECT:
I was able to build the two mountains using height-mapping, and triangle
strips ( lots of them! ). This proved to be extremely time consuming, since I had to
create the perfect bitmap gray-scale image for it to work properly. I also built the
suspension for the brige using hyperbolic equations that I came up with and
glSolidSpheres. This part was also difficult in determining the correct positions to
place the spheres. I also wrote a function that generated a solid rectangle using
glQuads. Overall I used 7 bitmap images, 1 for height mapping, and 6 for texture
mapping. I spent a lot of time on choosing and modifying the proper jpg images.
Overall, getting all the components to work together was a challenge, but it was
enjoyable.
CONTROLS:
I did not have time to add any cool functionality like mouse controls, or
zooming in. Basically the keyboard controls up, down left and right, move the view
of the scene. "w" turns wire-frame mode on and off, "c" for culling of back faces,
and "R"/"r" for the step size when looking around the scene.
List of figures