Ray Tracer

Features

  • Diffuse, Reflective materials, Refractive materials
  • Smooth shading [A bit problematic...have to check it]
  • Barycentric coordinates calculation
  • Lighting
  • Bucket multithreaded rendering
  • AABB tree optimisation structure
  • Camera transformations

Renders

Casting shadows Casting shadows of a ball with single light source Casting shadows of a ball with 3 light sources Casting shadows of a dragon with 3 light sources Smooth normals on a ball Dragon with reflections Glass boll with refraction Soap bubble ball behind a glass cube