This project is a ray tracer built upon the framework described in Ray Tracing in One Weekend by Peter Shirley. The goal of this project is to create a simple ray tracer from scratch, following the step-by-step instructions provided in the book.
This ray tracer is a minimalistic implementation that demonstrates the fundamental concepts of ray tracing. It is written in C++ and uses CMake as the build system.
- C++23 compatible compiler (G++ Preferred)
- CMake 3.12 or higher
-
Clone the repository:
git clone https://github.com/yanurag994/RTIOW.git cd RTIOW
-
Create a build directory and navigate into it:
mkdir build cd build
-
Run CMake to configure the project:
cmake .. -DCMAKE_BUILD_TYPE=Release
-
Build the project:
make -j
After building the project, you can run the generated executable:
./RTIOW > image.ppm