A CPU-based raytracing engine inspired from the Ray Tracing in One Weekend book.
Here's what the final render from the above book looks lke:
For weird, buggy images check out the /bloopers
directory.
- Go to
main.cpp
and construct the scene you want to render - Execute
make
on your target machine of choice. - Run
./raytracer
. - Input the file name for the rendered image and begin rendering.
- All images will be saved to
/images
in both ppm and jpeg formats.