Game Design Lab 2: Introduction to OpenGL
Due Wednesday, September 4
Starting with the in-class simple OpenGL demo, add more triangles to make a tunnel. To make a square, use two triangles. The tunnel will need to have at least 3 sides, so you will need at least 6 triangles. Rotate it so that you can see through the tunnel, but also see that it is a 3D shape.
If it seems like your tunnel is tangled up in some way, and your vertices are rendered in the right places, the problem may be that depth buffering is turned off. Don't be overly concerned about this for them moment, but you can figure out how to turn it on easy enough (search Google).