CS 6620 Ray Tracing: Assignment 5

CS 6620 Assignment 5

All runs were done on a MacBook 2.16Ghz Core2Duo, 2GB, XCode 3.1 (Beta 1) in Debug mode.

####Required Image####

Setup/load time: 0.0129 seconds Render time: 9.69 seconds
Post-process time: 0.00597 seconds
PPM can be found here

####Creative Image####

Setup/load time: 0.01 seconds
Render time: 88.9 seconds
Post-process time: 0.00642 seconds
PPM can be found here

####Design Decisions####

Not too many this time around. I did not like the marble pattern used in the required image for use on my checker’s board. So, I changed it to

1 - (sin(40x + turbulence(,P4, lacunarity, gain)*.5 + .5)^6

I thought it looked nicer as a marble pattern on a marble chessboard. I think it turned out okay. I called it "PhongRealMarbleMaterial" and I don’t consider it an extra credit piece. Its just playing with the variable. =D

####Misc.####

Code is