To improve the raytracer and to render faster, some optimizations were implemented. Spatial data structures and bounding volumes were both considered but due to deadlines, only bounding volumes were used. However, they seemed to have a huge impact on the efficiency of the algorithm. Bounding spheres were implemented for faster collision detections and the rendering became much faster. |