Homework 6
22C:151 Introduction to Computer Graphics
Due Tuesday, November 4, 2008
20 points
Extend your HW5 ray-casting program to recursive ray-tracing. You program should:
- handle reflectivity (via recursive ray firing)
- handle transparency, with refraction (via recursive ray firing)
- be able to render BOXes described in the scene files.
- include one additional command line argument - the depth of recursion to which
to do the ray tracing (a recursion depth of 1 would indicate
no recursion - just the basic ray casting of Part 1).