Global Illumination: Assigments


Basic

1 - Create a simple scene, consisting of two spheres and one light source. Trace one shading ray and print the computed value.

2 - Create a test scene consisting of a closed box. Make one polygon in one of the interior walls to emit light. Compute the radiosity solution for this scene. For each iteration of the method, print the largest radiosity value and the centroid of the associated polygon.


Optional

3 - Plot the path of the shading ray in (3).

4 - Plot the radiosity distribution path of most energy in (4).