Programming

Ray Tracer

Ray Tracer

Object Oriented Ray Tracer in C++. I created this program for my programming class in the second year.

Renders

Render time for the cornell box on a i5-8250u

Resolution Sampels Per Pixel Render time
500x500 10 9.38s
500x500 100 1m19s
500x500 1000 13m20s

Features

  • Support for Spheres, Cubes and Planes
  • Diffuse and reflection
  • Multiple lights
  • Movable camera with a user controlled FOV and position
  • Scene reader

Todo

  • Add support for more shapes
  • Multithreading
  • Textures