RayTracer in C++
This is a simple RayTracer implemented in C++. It follows the principles outlined in the books "Ray Tracing in One Weekend" and "Ray Tracing: The Next Week".
To compile and run the RayTracer, follow these steps:
-
Clone the repository:
git clone https://github.com/clementpickel/RayTracer.git
-
Navigate to the project directory:
cd RayTracer -
Compile the source code:
g++ src/main.cpp -o rayTracer
-
Run the executable:
./rayTracer > output_file.ppm
This will generate the rendered image using the implemented RayTracer.
Feel free to explore the provided resources for a deeper understanding of ray tracing concepts.
This project is inspired by the educational resources and books mentioned above. Special thanks to the authors, Peter Shirley, Trevor David Black and Steve Hollasch for their excellent work in making ray tracing accessible and enjoyable.
