Edit (9/20/2022):
There was a discrepancy between the light position used to generate the example images and the one in the instructions. The second and third images have been updated to use the instructed light. And to better cast shadow in the third image, the extra box definition for the third image has been updated as well.
Hi everyone,
Here are the target outputs for program 1 with the example boxes.json and lights.json (position at [-0.5, 1.5, -0.5]).
Part 1: ray cast the colored boxes in the input file without lighting.
Part 2: color the boxes with Blinn-Phong illumination.