Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.15 KB

File metadata and controls

38 lines (25 loc) · 1.15 KB

Ray Tracer

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.

Building

cargo build --release

Example Renders

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"
pawn

Utah Tea Set 34

./target/release/ray_tracer --example="tea set"
pawn

Book Cover 1

./target/release/ray_tracer --example="cover"
pawn

References

Footnotes

  1. The Ray Tracer Challenge 2

  2. Pawn

  3. Tea Cup

  4. Utah Tea Pot