Homework 09 OpenGL 1. Simple 2D example Compile and run the examples here: http://www.cs.utk.edu/~dbanks/courses/2009.3/src/square/ Modify the code to make multiple objects move around the screen. 2. Simple 3D example Compile and run the examples here: http://www.cs.utk.edu/~dbanks/courses/2009.3/src/surface/ Modify the surface to "morph" over time between two shapes, each defined by coefficients for a quadratic graph ( x, y, f(x,y) ) where f(x,y) = a00 + a01 x + a10 y + a02 x^2 + a11 xy + a20 y^2 The coefficients are stored in an external text file. Compute the normal at each vertex. The vertices fill a grid as shown below. *---*---*---*---*---*---* | /| /| /| /| /| /| | / | / | / | / | / | / | |/ |/ |/ |/ |/ |/ | *---*---*---*---*---*---* | /| /| /| /| /| /| | / | / | / | / | / | / | |/ |/ |/ |/ |/ |/ | *---*---*---*---*---*---* 3. Examples of OpenGL Download OpenGl examples in the SGI categories http://www.opengl.org/code/category/C22 Compile and run the examples on hydra machines. Take screen shots for your web page.