Homework #5 Bounding Volume Hierarchy

                    

                                                                               

                                                                                The following are the times that it took to create the bounding volume hierarchy and to render the image. 

The images were all rendered on sinner.

 

Update:  Opps, my original times were all without any compiler optimizations I ran these again with –03 and it

took 6.7 secs to make the tree and 59.6 to build the image with lighting

 

 

For this image of Buddha it took 11.437 seconds to create the BVH, which contained 1,087,716 triangles.  It took

An additional 185.278 sec to render the image with 25 samples per pixel on a 512x512 image.

 

 

                                                                                 

 

 

For this image of Buddha it took the same amount of time to create the hierarchy but it took 229.359 secs

to render the image with 25 samples per pixel on a 512x512 image.

 

 

 

 

For this image of a dragon it took 9.845 seconds to create the BVH, which contained 871,414 triangles.  It took

an additional 389.238 secs to render the image with 25 samples per pixel on a 512x512 image.