path tracer

A simple path tracer supporting different materials e.g. diffuse lambertian, metal, glass, diffuse light etc. The acceleration structure used is a bounding volume hierarchy (BVH) that uses the surface area heuristic (SAH) to divide it's volumes. The code can be found on my github. The path tracer is using the architecture from the famous Ray Tracing in One Weekend tutorial. Other resources that were very helpfull were:

Here are some rendered images:

blob

blocks

blob heatmap

spheres with bunny

street

street night

room