The Cornell box is a test aimed at determining the accuracy of rendering software by comparing the rendered scene with an actual photograph of the same scene, and has become a commonly used 3D test model [wikipedia].
Build your own Cornell box to explore the challenges of photorealistic rendering. Programming assignments #2, #4, and #5 are sequentially connected:
Assignment #2 requires constructing a physical environment that serves as a reference for your scene model. You will build a scene consisting of multiple geometric models, such as boxes and spheres, to closely match your reference environment.
Assignment #4 involves rendering the scene from Assignment #2 using OpenGL and shaders, then comparing the rendered scene with an actual photograph of the reference environment.
Assignment #5 focuses on rendering the scene using ray tracing.
[5 point] Build your own physical environment by placing objects of your choice in a box.
[5 points] Build your own scene model to render on the screen and compare the scene with your photograph side-by-side.
[5 points] Measure the camera location when capturing a photograph and set the camera parameters in the rendered scene to closely match the reference. You also need to check the focal length of your camera and convert it to set the field of view (FOV) for the viewing transformation. Additionally, integrate the trackball viewer from the code examples to enable viewpoint adjustments.
[5 points] Write a report describing