A multithreaded Rust implementation of the ray tracer from Peter Shirley's Ray Tracing in One Weekend.
The raytracer is a command line application that writes an image of a given scene to disk with specific parameters, and outputs the path of the image.
$ cargo run --release -- \
--scene random \
--nx 300 \
--ny 200 \
--samples-per-pixel 50
For a full list of commands and scenes, run:
$ cargo run --release -- --help