license Build Status

A Rust implementation of a small ray/pathtracer.

Inspired by Kevin Beason's educational 99-line raytracer/pathtracer.

alt text

External Dependencies

smallpt-rs relies on the following crates: - rand: library for random number generation - cgmath: linear algebra and mathematics library for computer graphics - num_cpus: count the number of CPUs on the current machine - minifb: Cross-platform window setup with optional bitmap rendering - rayon: data-parallelism library for Rust - structopt: parse command line argument by defining a struct.