A C++ ray tracer inspired by the Ray Tracing in One Weekend series by Peter Shirley.
-
Clone the repository:
git clone https://github.com/16ajbm/rayban.git
-
Navigate to the project directory:
cd rayban
-
Make sure you have the required dependencies:
- CMake (3.15 or higher)
- C++ compiler with C++17 support
- Boost libraries (1.55 or higher)
-
Build and run:
make run
The Makefile provides simple commands for common tasks:
# Build the project
make build
# Run tests
make test
# Build and run the application
make run
# Clean build files
make clean
# View all available commands
make help
If you prefer to use CMake directly:
mkdir build
cd build
cmake ..
make
./rayban