/smallpt_rust

A Rust port of smallpt

Primary LanguageRust

smallpt_rust

A minor variant of smallpt-rust using rayon instead of the native thread module.

Cornell Sphere

A Rust port of smallpt. All credit for the original smallpt goes to Kevin Beason.

This project was created as a Rust learning experience. It has not been written for maximal performance or is meant to be squished into 99 lines as the original project.

To build smallpt_rust, install Rust alpha2, cd into the root folder and execute $cargo build --release

Execute by $./target/release/smallpt_rust <samples_pr_pixel>

Future work

  1. ERPT
  2. QMC RNG
  3. Radiance filter
  4. ???
  5. Profit!