Question: Exercise 4. In this exercise you have to create an OpenGL program. Please submit your source code along with your written solutions to the previous

 Exercise 4. In this exercise you have to create an OpenGL

Exercise 4. In this exercise you have to create an OpenGL program. Please submit your source code along with your written solutions to the previous 3 exercises. The following lists define two different sets of 11 vertices as 22 floats. They are ordered v1x,v1y,v2x,v2y, Your goal is to create an OpenGL program which continuously tweens between each. Your program should: - Define an orthographic viewing area bounded by (20,20) and (20,20). - Over 400 frames, linearly tween from the star, to the decagon, and then back to the star. On each frame, draw the tweened vertices as a polyline. - Repeat this animation forever. star=[0102.52.5102.542.57100571042.5102.52.52.5010]13.09029.5105616.1803013.09029.51056515.388515.388]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!