An experimental Ray Tracer built following The Ray Tracer Challenge1 in Rust with a few of my own additions and optimizations leveraging multi-threading and caching matrix operations.
cargo build --release
There are a handful of example renders which are built into the ray tracer. List them using --help
. Some renders can take a long time so it's also recommended to specify as many threads as you can spare with --threads
.
Glass Pawn 2
./target/release/ray_tracer --example="pawn" |
---|
./target/release/ray_tracer --example="tea set" |
---|
Book Cover 1
./target/release/ray_tracer --example="cover" |
---|