CSCE 4813 - Homework 4
Due Date - 11:59pm on March 16, 2010

1. Problem Statement:

The goal of this assignment is to create an object of revolution so we have something interesting to work with when we add Phong shading to our future graphics programs. This project has the following tasks:

2. Design:

There are several design issues for this assignment. First, what profile are you going to use? Are you making a tall thin vase or a short fat jar? Second, how are you going to initialize/store the (x,y,z) coordinates of the surface? Third, how are you going to calculate and display the surface normals?

3. Implementation:

You may want to implement your solution in four phases, matching the tasks listed above. Remember to "grow your solution" incrementally. As a general principal, you will receive more credit for a working program that completes 1/2 the tasks than you will for a non-working program that attempts all of the tasks.

4. Testing:

Test your program to check that it operates correctly for all of the requirements listed above. Also check for the error handling capabilities of the code. Save your testing output in text files for submission on the program due date.

5. Documentation:

When you have completed your C++ program, write a short report (less than one page long) describing what the objectives were, what you did, and the status of the program. Does it work properly for all test cases? Are there any known problems? Save this report in a separate text file to be submitted electronically.

6. Project Submission:

In this class, we will be using electronic project submission to make sure that all students hand their programming projects and labs on time, and to perform automatic analysis of all programs that are submitted. When you have completed the tasks above go to the class web site to "submit" your documentation, C++ program, and testing files.

The dates on your electronic submission will be used to verify that you met the due date above. All late projects will receive reduced credit (50% off if less than 24 hours late, no credit if more than 24 hours late), so hand in your best effort on the due date.

You should also PRINT a copy of these files and hand them into your teaching assistant in your next lab. Include a title page which has your name and uaid, and attach your hand written design notes from above.