Implementation of a ray tracer in Rust, following Ray Tracing in One Weekend and Ray Tracing: The Next Week .
Sample rendering from "... in One Weekend".
cargo run --release -- --world=random --seed=42 \
--aspect_ratio="3:2" --image_width=1200 --samples_per_pixel=500 \
> test.ppm
Same with focus blur:
cargo run --release -- --world=random --seed=42 \
--aspect_ratio="3:2" --image_width=1200 --samples_per_pixel=500 \
--aperture=0.1 --focus_dist=10.0 \
> test.ppm
Final scene from "... The Next Week":
cargo run --release -- --world=final_scene --seed=42 \
--aspect_ratio='1:1' --image_width=800 \
--samples_per_pixel=10000 \
> test.ppm