A minor variant of smallpt-rust using rayon instead of the native thread module.
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
- ERPT
- QMC RNG
- Radiance filter
- ???
- Profit!