Homework #3

Most problems for this homework are from the textbook.

Submit your work work on the Blackboard before midnight the day the homework is due. Failure to do so will result in late penalties, see the syllabus for grading detail.

Here are the requirements for your Blackboard submission:

• Attach the assignment as a compressed archive file (.zip, .tgz, .tbz2, .rar)
• The name of the file should be: firstName-lastName-HW-assignmentNumber.extension (e.g. Jane-Doe-HW-3.zip)
• Include your e-mail address in the Comment field when submitting the assignment through the Digital Drop Box
• If for any reason you are submitting the assignment more than once, indicate this in the Comment field by including the word COMPLEMENT

Problem Page Points
1 3.2.1 284 5
2 3.2.2 284 5
3 3.2.3 284 10
4 3.3.1 285 5
5 3.3.2 285 5
6 3.10.1 291 5
7 3.10.2 291 10
8 3.10.3 292 10
9 3.10.4 292 10
10 3.10.5 292 10
11 3.13.1 295 20
12 3.13.2 295 20
13 3.13.3 295 10
11 see #1 below 75
Maximum mark (100%) 200

You'll have to compile and run the executable on two different computers, for example your own and one in the CS computer lab, and then render the same scene on each computer.

You'll have to measure rendering time and compare the relative performance of the two computers.

The base scene to be used for benchmarking can be found here. You must modify the benchmark.pov file such that you have a camera location and light_source unique to your own.

Your instructor will be very disappointed if he finds two students that have the same camera location and light_source.

The width of the rendered image should be 512px. The image should be in .png format.

Extra Credit: You can earn a 100% extra credit on this problem if you create a scene based on the folowing specifications:

• Camera is located in the center of a sphere that's perfectly reflective
• In the center of the sphere there is a checkered square about 1% of the radius of the sphere. The checkered square has at least two rows and two columns, colored black and white
• The light source is placed in the center of the sphere

Here is what you'll have to turn in:

• A detailed description of the two computers you've used for running the benchmark. Include detail such as CPU type and speed, amount of main memory and speed, operating system, etc.
• The execution times on each of the two computers and a statement as to which computer is faster and by how much than the other one.
• Copies of the rendered scene on the two computers.
• A copy of benchmark.pov you used to run your tests.

 Last update: Sep 10, 2009 Virgil Bistriceanu cs470 Computer Science

\$Id: hw3.html,v 1.2 2009/09/10 15:04:40 virgil Exp \$