Home
Project period: 2021, for roughly 8 weeks.

The raytracer
  • Implemented features:
    • Basic lighting with hard and soft shadows
    • Reflection and Refraction
    • Sphere and ellipsoid rendering
Summary:
For an 8-week period I had to develop a whitted style raytracer. It had certain requirements like shadows and reflection that affected my final grade. I managed to implement basic lighting with both hard and soft shadows, reflections, refractions, sphere rendering and ellipsoid rendering.
My main issue while making this is that I lacked some of the fundamental math understanding needed to make smooth progress and was still learning C++. While I could convert most math to code, I had some issues with more complex formulas, both in understanding them and implementing them, since I had never interacted with that type of math before.

A showcase scene I made using matte spheres, increasingly more reflective spheres and refractive spheres (glass) Image missing A sphere flake used to showcase and test reflective spheres Image missing A reflective ellipsoid Image missing