In this project we will use Monte Carlo ray tracing for computing global illumination.
Requirements
XML Scene Format
In the XML scene format we add an emission color to the Blinn material. This parameter allows any object act like a light source, though the object using this material is not listed among the scene lights.
<material type="blinn" name="ground"> <diffuse r="0.3" g="0.3" b="0.3"/> <specular value="0.1"/> <glossiness value="50"/> <emission r="0.7" g="0.7" b="0.7"/> </material>
The camera now has a gamma parameter indicating that gamma correction should be applied and the output should be in sRGB.
<camera gamma="sRGB"> <position x="0" y="-60" z="12"/> <target x="0" y="0" z="12"/> <up x="0" y="0" z="1"/> <fov value="30"/> <width value="1280"/> <height value="720"/> </camera>
Source Code
The following source code files are provided to help you with this and upcoming projects. You are not required to use them, but it is highly recommened that you use them and refrain from modifying them. Some of these files include additional code as compared to the same files in the previous project, so make sure to download them all again.
Test Scenes
The following scene files are provided to help you test your implementation. You can also prepare other scenes to show your work.
Optional Feature Suggestions
References
Student Project Pages