Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 840 Bytes

README.md

File metadata and controls

17 lines (9 loc) · 840 Bytes

Ray Tracing in One Weekend (Rust)

Implementation of the great book Ray Tracing in One Weekend in Rust.

Fun easy way to pick up and learn Rust (was roughly my first attempt at Rust, so please ignore the bad style such as lazily deriving Copy instead of borrowing properly), especially due to visual outputs improving as the codebase develops.

Green spheresGreen spheres

Blue spheresBlue spheres

Final renderFinal render

Above images each took ~ 3 hours to render.

Multithreaded implementation in the multithreading branch, using Rayon.

Binaries of scenes throughout the book in src/examples; some don't compile due to the codebase evolving, but they can still serve as helpful examples.