smallpt 0.1.0

A rust implementation of Kevin Beason's educational 100 lines small ray/pathtracer http://www.kevinbeason.com/smallpt/
Documentation

license Build Status

smallpt-rs

smallpt-rs is a Rust CPU implementation of 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.