Jeremiah Darais
Assignment 3
Image Result
Design Choices
For the construction of the BVH tree, I alternate axes each time and split down the middle. The position along that axis is found for each object, and then the objects are separated depending on whether they are on one side of the midpoint or the other. This seems to do very well, except for when something with a lot of objects, like the bunny, is mostly intersected by a single large object.
Rather than have a BVH object, all objects in the scene that can return a bounding are combined into a single BVH. It might speed things up a bit to allow for specification of which objects should be in which BVH tree, like how it shows up in the scene files.