Objective 13:
Shadow Ray Voxel Optimization


As a further optimization I added Voxel Traversal support for my Area Lights and Point Lights, so that they could also benefit from the grid optimization if the user had requested it. This also had a pretty massive effect on the Venus De Milo scene.


Accumulated Optimization Status Runtime
Initial Voxel Traversal with voxel size "guess" 12x12x12s 2752 seconds. (~46 minutes)
Voxel-Polygon Sub-Mesh Optimization 143 seconds (~2 and a half minutes)
Shadow Ray Voxel Optimization 35 seconds


Written by: Mike Jutan
CS 488 - Computer Graphics
University of Waterloo