This project is a learning of what is ray tracing and how to achieve, from display a picture in ppm format to the realization of ray tracing, the tutorial is: Ray Tracing in One Weekend.
$ git clone https://github.com/IT-dreamer/Simple-RayTracer.git
$ cd Simple-RayTracer
$ mkdir build
$ cd ./build
$ cmake ..
$ make
The cpp files in the src file correspond to different chapter exercises, just specify the MAIN_FILE
in the CMakeLists.txt to the target file.
You can use the Web PPM Viewer.The target image(out.ppm) are stored in the target file. Cause it's compiling with /src/12_TheNext.cpp, you will see