Month: March 2013

Path tracer with triangle primitives and binary space partitioning

Subdivided Blender monkey. 5,808 triangles. 390 samples.

UPDATE: The post below was a purely naive attempt at implementing a rudimentary bounding volume hierarchy. A much more efficient implementation using a kd tree is available in this post. We will continue with the project we left off with in this post. We will attempt to add triangles to our list of primitives. Once …