/PathTracer

A path tracer written in C. Code adapted from Peter Shirley's Ray Tracing Weekend book series.

Primary LanguageC

Path Tracer

A simple path tracer written in C. Code is adpated from Peter Shirley's Ray Tracing in One Weekend book series.

Features

  • Multithreading
  • Antialiasing
  • Diffuse, metal, dieletric, and emmisive materials
  • Intersection acceleration w/ a bounding volume hiearchy of scene objects
  • Defocus blur
  • Image based lighting
  • Currently only renders spheres

Building

Clone the repository and type make to build.

Images

diffuse_gamma

metal

forest2

random_scene

dark_scene