wahn / Rs_pbrt
Programming Languages
Projects that are alternatives of or similar to Rs pbrt
rs_pbrt
Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code:
Current Rust documentation:
https://www.janwalter.org/doc/rust/pbrt/index.html
Usage
> cargo build --release --no-default-features
> ./target/release/rs_pbrt --help
pbrt 0.8.3
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
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:
https://bitbucket.org/abusch/rustracer
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.