Homework 4

Short Description:

Duplicate the line tests from homework 2 in OpenGL.

This assignment is worth 20 points.

Goals

When you finish this homework, you should have:

Formal Description

Write an OpenGL program to display the Line Test star burst, Circle data and the Dragon curve from homework 2. These should all be scaled to be centered on (0,0) and have a maximum value of one unit away from this point. This will require some minor adjustment of the data.

Your program should allow the following interaction

You may add additional data sets, please provide appropriate keypresses to display these data sets.

You should be able to display multiple data sets at the same time.

You don't need to worry about color (yet).

You should display a help menu when your program starts listing all of the command keys.

There is a chance we will extend this code to include color. To make life easy, we will be using Makefiles. You should save the following file in your directory and use it to compile.

Notes

This program must compile and run on the department's linux workstations.

You should create a class for each of the different tests.

Submission

Create a tar file containing the source code for the main program and both shaders, along with the Makefile required to build your program. This should be submitted to your instructor via email by the due date.