Wednesday, January 27, 2010

Assignment 5



Above you can see our rendering of the ray tracer for assignment 5. In this assignment we needed to add recursion to our ray tracer to calculate reflected rays. In the scene, one sphere has 80% reflection and the other has 0% reflection. The image was generated at a resolution of 2048x2048 and has supersampling turned on.

Wednesday, January 13, 2010

Assignment 4



Above is the image generated from checkpoint 4. Since checkpoint 4 was a lot easier than previous checkpoint, I also took the time to multi-thread the application and add supersampling. Both of these options were used when generating the image above.





Above is a comparison of the generated image with and without supersampling. The left image has super sampling and the right image does not.

After running some tests, it is clear that multi-threading the application yielded very good results. To generate the image above on my dual core laptop without multithreading, it took 98.34 seconds. To generate the image above with multi-threading, it took 50.80 seconds. A significant improvement!

Friday, January 8, 2010

Assignment 3



Above is our rendering of the Phong illumination model on the spheres.