Skip to content

MitchelPaulin/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages