This repository contains my implementation of the Ray Tracer Challenge, a book written by Jamis Buck, using C++.
To use this library, include RT.hpp
after compiling the necessary libraries. Refer to CMakeLists.txt
for compilation details (The only dependency is stl
& C++20
).
Explore src/RT.cpp
for a example and demo showcasing how to render the cover of the book using the library. To build RT
:
mkdir build && cd build
cmake ..
make RT
Running ./RT
will create sample.ppm
file in your build directory. (This will take long but you can reduce resolution in src/RT.cpp
.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.