Welcome to my Weekend RayTracer project! This repository contains my implementation of the ray tracing algorithm as detailed in the fantastic resource, Ray Tracing in One Weekend by Peter Shirley. This project serves both as a learning tool and a personal challenge to implement a robust ray tracing engine over a single weekend.
Ray tracing is a rendering technique known for its stunning visual accuracy in simulating the interaction of light with surfaces. While typically compute-intensive, the approach outlined in Peter Shirley's guide simplifies the process, making it accessible for enthusiasts and budding programmers alike. This repository is my take on that simplified model, adapted and coded in C++. The original repo can be found under the original RayTracer Github Account.
- Basic Ray Tracing: Implements core ray tracing features such as spheres, diffuse materials, and basic "lighting".
- Extendable Codebase: Structured and commented code, ready for further experimentation and enhancement.
- Performance Metrics: Basic profiling to understand the performance implications of various features.
To get a local copy up and running follow these simple steps.
This project uses Magick++ to open the image after compiling. Make sure you have them installed before proceeding.
- Clone the repo
https://github.com/HopeSuffers/inOneWeekend.git
Open the project in your preffered IDE and compile.
Distributed under the CC0-1.0 License. See LICENSE for more information.
Acknowledgements Peter Shirley for creating the wonderful book that inspired this project. Github Account.
