This is the final project #2 from CS 440 Computer Graphics, offered at Habib University at Fall 2021.
It is a fully functional ray tracer built using C++, following the book Ray Tracing from the Ground Up by Kevin Suffern. The details are given through the accompanying website which is hosted at Hanoi Unlock.
Command to run: g++ raytracer.cpp world/World.cpp world/ViewPlane.cpp utilities/BBox.cpp utilities/Image.cpp utilities/Point3D.cpp utilities/Vector3D.cpp utilities/Ray.cpp utilities/RGBColor.cpp utilities/ShadeInfo.cpp samplers/Sampler.cpp samplers/Regular.cpp geometry/Geometry.cpp geometry/Plane.cpp geometry/Sphere.cpp geometry/Triangle.cpp cameras/Parallel.cpp cameras/Perspective.cpp materials/Cosine.cpp samplers/Simple.cpp samplers/random.cpp tracer/Basic.cpp tracer/Tracer.cpp materials/Matte.cpp materials/Phong.cpp materials/Reflective.cpp light/Ambient.cpp light/Directional.cpp light/Light.cpp light/Point.cpp light/Spotlight.cpp BRDF/GlossySpecular.cpp BRDF/Lambertian.cpp BRDF/PerfectSpecular.cpp tracer/whitted.cpp build/reflectiveChapter14.cpp
This project is licensed under the MIT License - see the LICENSE.md file for details