- Install
make
,cmake
,g++
, and opencv.
$ mkdir build out
$ cd build
$ cmake ..
$ make
$ cd ..
$ build/raytracer -i examples/julia.json
$ build/raytracer -i examples/julia_video.json
# If you are using macOS:
$ open out/julia.png
$ open out/julia_video.avi
-a
: enable ambient occlusion-d
: debug mode-h
: print help message-i [name]
: specify the input file path-o [name]
: specify the output file path-s
: enable shadows-S
: enable soft shadows