Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 663 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 663 Bytes

Ray Tracing in One Weekend

A Rust implemenation of the code from the book Ray Tracing in One Weekend

Render output of spheres with different materials

Running the code will generate a scene with random spheres similar to the above image.

Generating an Image

First clone the repo.

Build by running the command:

cargo build --release

The path to the executable is ./target/release/rtow

The output is printed to Stdout as a PPM Image. The output can be redirected to a file like so:

rtow > filename.ppm