Skip to content

jac/rtow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Ray Tracing in One Weekend in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages