C++ project following the "Ray Tracing in One Weekend" book. Used to learn more about ray tracing, C++, and computer graphics.
This program is built and tested only on Linux (Fedora 34). As such can not guarantee compatibility with other operating systems.
- Make (Tested using 3.81)
- A C++ compiler (Tested using g++ and clang++)
- An image viewer that can read
.ppm
file formats (Ex. feh on Linux) - A terminal from which to build and run the program
- Clone the project to your computer
- Navigate into the project directory
- Run the following command:
make
- Run the project with the following command:
ray_tracer
- If you would like to pipe the programs output to a file simply use the following command on Unix systems:
ray_tracer > image.ppm
- If you would like to pipe the programs output to a file simply use the following command on Unix systems: