Global Illumination: Assigments


Required

1 - Get the library libray.a . Save the file ray.tgz , decompress it with gunzip and use tar to create the directory "./i3d/base/ray" . Compile and install the library.

2 - Get the library librad.a . Save the file rad.tgz , decompress it with gunzip and use tar to create the directory "./i3d/base/rad" . Compile and install the library.

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

4 - 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

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

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