CSE 275, S07, Program 2, Due Thursday, 2/8/07 Animating a Circle 0. Find OpenGL on the web. Download. 1. Create a circle: Since OpenGL doesn't have a primitive for a circle, the next best thing is to create a convex polygon that approximates your circle. This involves some judgement and decisions on your part to feed the proper vertices to the OpenGL polygon prmitive. You should make the polygon have sufficiently many vertices that it appears to be a circle. This is a common graphics approximation problem. (5pts) 2. Create an animation of your circle that shows it rolling from left to right across the screen. a) getting this to work at all is worth 5pts b) getting it to work smoothly and well is worth another 5pts Step 2 requires calling translation and rotation matrices from OpenGL and the *experimental* timing to get your frames displayed so as to have credible movement. The experimental timing is very work intensive. Don't leave until Wednesday night, 2/7/07! Hints: There are multiple options to obtain OpenGL for program 2. As you might imagine, the combinatorial possibilities of keeping up with each version of each vendor is overwhelming. As an alternative practical approach, consider what you need for this project: 1. the ability to create a polygon in OpenGL 2. rotate and translate it in OpenGL. You will need the specific matrices to co-ordinate the frame rate of your animation with your architecture. That is experimental. As an initial test, see if you can create a triangle for #1, above and then do one rotation and one translation of it. You should try this triangle test *before* seeing Mr. Miller and expect that he can help you with questions about that specific triangular problem. The rest of the project (which is non-trivial) is your responsibility.