smallpt 0.1.2

A small ray/pathtracer in Rust, inspired by Kevin Beason's educational 99-lines ray/pathtracer (http://www.kevinbeason.com/smallpt/)
Documentation

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.