Skip to content

jac/rtow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 15, 2020
99b0a2d · Jun 15, 2020

History

24 Commits
Jun 15, 2020
Jun 15, 2020
Jun 5, 2020
Jun 7, 2020
Jun 11, 2020
Jun 15, 2020

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