rs_pbrt
Rust crate to implement at least parts of the PBRT book's C++ code:
Current Rust documentation:
https://www.janwalter.org/doc/rust/pbrt/index.html
Usage
> cargo run --release -- -h
Usage: target/release/rs_pbrt [options]
Options:
-h, --help print this help menu
-i FILE parse an input file
-t, --nthreads NUM use specified number of threads for rendering
-v, --version print version number
Test Scenes
Some images of the test scenes are shown below, but you can find more test scenes on GitLab.
Ganesha Statue
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
(assets/scenes/ganesha.tar.gz
).
Subsurface Scattering (SSS)
Stochastic Progressive Photon Mapping (SPPM)
Ecosystem (Cover image for the first edition of the PBRT book)
Landscape (Cover image for the third edition of the PBRT book)
Hair
The hair scattering model in action:
Japanes Classroom by NovaZeeke
Jay-Artist
The White Room byJay-Artist
Country Kitchen byWig42
The Wooden Staircase byConference Room by Anat Grynberg and Greg Ward
Theater by Charles Ehrlich and Greg Ward
For more info look at the Wiki page or the release notes.
Here you find another Rust implementation: