This project follows the Ray Tracing in One Weekend book by Peter Shirley, Trevor David Black, and Steve Hollasch. All credit for the base souce code belongs to them. Some small syntactic changes were made, but beyond that all credit belongs to them for the base project.
Future changes may be made that include the latter books, or parallelization. These have yet to be implemented at this time.
- Clone this repository with
git clone https://github.com/JJOC0205/ray-tracer.git - Enter directory with
cd ray-tracerfrom download location. - Compile with
./run.sh - Run with with one of the following:
./a.out > render.ppmfor file formatted for .ppm file (Recommended). The .ppm file name is not required to be "render"../a.outfor raw values rather than the image itself