Homework # 2 (Due Date: Due Date:Tuesday 5/4/2016 by 4 pm)

Submit your homework via E-learning

Compress the code files (main.cpp, RayTracing.h, and RayTracing.cpp) to one file named StudentID_FirstName.zip

Implement the full ray tracer using a recursive approach, based on the local shading function in homework #1. On the rendered images, your result should show smooth reflection and refraction effects of the multiple objects (spheres and walls) in the given 3D virtual scene.

Code skeleton is here: main.cpp   RayTracing.h   RayTracing.cpp

Extra Credit
10 points extra credit for implementing shadow effects.