/raytracer

Primary LanguageRust

Based on tutorial from https://bheisler.github.io/post/writing-raytracer-in-rust-part-1/

Get Started:

Make sure cargo is installed.

cd raytracer/app
cargo run scenes/test.yml out.png

Example Images

Example One Example Two Example Three

Release mode

In release mode the raytracer runs a lot faster.

To build for release mode:

cd app; cargo build --release

To run:

cd app; ./target/release/raytracer-app scenes/test.yml out.png