Rust crate to implement at least parts of the PBRT book’s C++ code:
Current Rust documentation:
> cargo build --release --no-default-features > ./target/release/rs_pbrt --help pbrt 0.8.1 Parse a PBRT scene file (extension .pbrt) and render it USAGE: rs_pbrt [OPTIONS] <path> FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -t, --nthreads <nthreads> use specified number of threads for rendering [default: 0] ARGS: <path> The path to the file to read
Some images of the test scenes are shown below, but you can find more test scenes on GitLab.
Very detailed scan of a small statue with over 4.3 million triangles, illuminated by a few area light sources.
The scene can be found within the repository
The hair scattering model in action:
Here you find another Rust implementation: