A Rust port of smallpt
Rust
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
image.png
readme.md

readme.md

smallpt_rust

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!