Currently, all attributes of a scene (Objects, Lights, camera, etc.) are defined in the main function in main.cpp. It would be better if this acted as an entry point to the ray tracer, and took in a file representing the scene along with any command line arguments for the ray tracer, and then parsed this into a scene.
Currently, all attributes of a scene (Objects, Lights, camera, etc.) are defined in the main function in
main.cpp
. It would be better if this acted as an entry point to the ray tracer, and took in a file representing the scene along with any command line arguments for the ray tracer, and then parsed this into a scene.