In this modified raytracer, accelerated and unaccelerated render times can be compared.
If acceleration is selected, the k-d tree is displayed in console.
Building the tree can take a while if the scene selected is complex.
Build times and render times are displayed as an alert.
REFRESH to clear the scene if you want to make a new image.
Rendering will take a while. Progress displayed in console.
Follow steps to render
Select canvas size (width x height, in pixels):
Select scene to render, then hit load (click button only once):
Select to turn on acceleration, or turn off acceleration:
Render!