- Notifications
You must be signed in to change notification settings - Fork58
Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code. See alsohttps://www.rs-pbrt.org/about ...
License
Unknown and 4 other licenses found
Licenses found
wahn/rs_pbrt
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
You can find more information aboutrs_pbrt
athttps://www.rs-pbrt.org/about ...
Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code:
CurrentRust (development) documentation:
https://www.janwalter.org/doc/rust/rs_pbrt/index.htmlorhttps://www.rs-pbrt.org/doc/crates/rs_pbrt/index.html
> cargo build --release --no-default-features> ./target/release/rs_pbrt --helprs_pbrt version 0.9.12 (unknown) [Detected 28 cores]Physically based rendering (PBR) with RustUsage: rs_pbrt [OPTIONS] --path<PATH>Options: --cropx0<CROPX0> Specify an image crop window<x0 x1 y0 y1> [default: 0.0] --cropx1<CROPX1> Specify an image crop window<x0 x1 y0 y1> [default: 1.0] --cropy0<CROPY0> Specify an image crop window<x0 x1 y0 y1> [default: 0.0] --cropy1<CROPY1> Specify an image crop window<x0 x1 y0 y1> [default: 1.0] -i, --integrator<INTEGRATOR> ao, directlighting, whitted, path, bdpt, mlt, sppm, volpath -t, --nthreads<NTHREADS> use specified number of threadsfor rendering [default: 0] -s, --samples<SAMPLES> pixel samples [default: 0] -p, --path<PATH> The path to the file toread -h, --help Printhelp information -V, --version Print version information
Some images of the test scenes are shown below, but you can find moretest scenes onGitLab.
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 theGitLab repository(pbrt_ganesha.tar.gz
).
The scene can be found within theGitLab repository(sss_dragon.tar.gz
).
The scene can be found within theGitLab repository(caustic_glass.tar.gz
).
The scene can be found within theGitLab repository(pbrt_ecosys.tar.gz
).
Thehair scattering model in action:
The scene can be found within theGitLab repository(pbrt_hair.tar.gz
).
The scene can be found within theGitLab repository(bitterli_classroom.tar.gz
).
The White Room byJay-Artist
The scene can be found within theGitLab repository(bitterli_living-room-2.tar.gz
).
Country Kitchen byJay-Artist
The scene can be found within theGitLab repository(bitterli_kitchen.tar.gz
).
The Wooden Staircase byWig42
The scene can be found within theGitLab repository(bitterli_staircase.tar.gz
).
The scene can be found within theGitLab repository(radiance_conference_room
folder).
The scene can be found within theGitLab repository(radiance_theater
folder).
For more information check out thers-pbrt
web page.
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE orhttp://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT orhttp://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionallysubmitted for inclusion in the work by you, as defined in theApache-2.0 license, shall be dual licensed as above, without anyadditional terms or conditions.
About
Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code. See alsohttps://www.rs-pbrt.org/about ...