/rray

ray tracer

Primary LanguageRustApache License 2.0Apache-2.0

RRay

example

Implementation of the Peter Shirley's book: Ray Tracing in One Weekend in Rust.

Example

Compile in release mode.

cargo build --release

Run (generates out.png).

./target/release/rray -w 512 -m 50 -s 1000 --vfov 60 --aperture 0.1 --parallel -o out.png