The raytracer
Implemented features:Basic lighting with hard and soft shadowsReflection and RefractionSphere and ellipsoid rendering
Summary:
For an
8-week periodI 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)
A sphere flake used to showcase and test reflective spheres
A reflective ellipsoid