A C++ implementation of a ray tracer with no external dependencies.
- Reflection & Refraction
- Shadows
- Materials
- Transformations
- Planes and Spheres
CMake based project which can be built via command line or with your favourite IDE.
# Download the project
git clone https://github.com/richhaar/raytracer.git
cd raytracer# Generate the project
cmake -S . -B bin -G Ninja
cd bin# Build
ninja
# Run
./RayTracerTested and developed on Ubuntu 24.04 LTS with an Intel Pentium N5030 CPU @ 1.10GHz machine.
Taking 30s for a 2000x1000 4xMSAA image with kMaxReflections set to 5.
MIT
The Ray Tracer Challenge by Jamis Buck.
