seansiddens / PathTracer

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:C 99.9%Language:Makefile 0.1%