Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 622 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 622 Bytes

rye (tracer)

My attempt at learning raytracing (and Rust!) with the fantastic Ray Tracer Challenge book.

As an example, this scene (at 1200 * 800 resolution) took 3.3 min to render on my Macbook Pro:

Example

The scene description is at scenes/basic.yml.

Running tests

cargo test

Rendering a scene

To render a scene from the example scenes folder:

cargo build --release
./target/release/rye  --height 150 --width 200 --scene scenes/basic.yml --output render.ppm --supersampling 4