Making a raytracer in Python because... reasons.
Following: https://www.youtube.com/playlist?list=PL8ENypDVcs3H-TxOXOzwDyCm5f2fGXlIS
You will need to install Poetry.
cd raytracer
poetry install
cd raytracer
py -m poetry install
At present this only supports rendering a single sphere to a canvas using the PPM format.
poetry run raytracer rendering render-scene
py -m poetry run raytracer rendering render-scene
The above command will create a new file in the out
directory. You can specify scenes defined in the scenes
directory.