Execution
To execute the raytracer, you need to run the following command:
Run the raytracer
./raytracer [scene.cfg]
The scene.cfg file is a configuration file that describes the scene to render. You can find examples in the scenes folder of the project.
Available flags:
-d,--displayThe graphical plugin to use to display the image. e.g. libsfml.so-h,--helpDisplay this help message-o,--outputThe output file that will contain the rendered image. e.g. image.ppm-p,--previewDisplay a preview of the image