Assn 2 - Ray Tracing Framework

All code for this assignment can be found here

Screenshot:

Parameters:

Coordinate System Used RHS
Camera Location (0, 1, 7) looking at origin with (0, 1, 0) as up vector
Blue Sphere Radius 1.3 Units
Blue Sphere Position (2.3, -0.3, 2.2)
Red Sphere Radius 1 Unit
Red Sphere Position (0.1, 1, 4.5)
Floor Size 10x70
Floor Position (TL, TR, BL, BR) (-3, -1.5, -60), (7, -1.5, -60), (-3, -1.5, 10), (7, -1.5, 10)
Image WidthxHeight (pixels) 512x368
Focal Length 0.5 Units
Film Plane WidthxHeight (Units) 1.33x1.0