Crates.io | rs_pbrt |
lib.rs | rs_pbrt |
version | 0.9.12 |
source | src |
created_at | 2021-04-01 09:39:11.136773 |
updated_at | 2024-01-29 17:26:39.996414 |
description | Physically based rendering (PBR) with Rust |
homepage | https://www.rs-pbrt.org |
repository | https://github.com/wahn/rs_pbrt |
max_upload_size | |
id | 376533 |
size | 4,845,680 |
You can find more information about rs_pbrt
at https://www.rs-pbrt.org/about ...
Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code:
Current Rust (development) documentation:
https://www.janwalter.org/doc/rust/rs_pbrt/index.html or https://www.rs-pbrt.org/doc/crates/rs_pbrt/index.html
> cargo build --release --no-default-features
> ./target/release/rs_pbrt --help
rs_pbrt version 0.9.12 (unknown) [Detected 28 cores]
Physically based rendering (PBR) with Rust
Usage: 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 threads for rendering [default: 0]
-s, --samples <SAMPLES> pixel samples [default: 0]
-p, --path <PATH> The path to the file to read
-h, --help Print help information
-V, --version Print version information
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 GitLab repository
(pbrt_ganesha.tar.gz
).
The scene can be found within the GitLab repository
(sss_dragon.tar.gz
).
The scene can be found within the GitLab repository
(caustic_glass.tar.gz
).
The scene can be found within the GitLab repository
(pbrt_ecosys.tar.gz
).
The hair scattering model in action:
The scene can be found within the GitLab repository
(pbrt_hair.tar.gz
).
The scene can be found within the GitLab repository
(bitterli_classroom.tar.gz
).
The scene can be found within the GitLab repository
(bitterli_living-room-2.tar.gz
).
The scene can be found within the GitLab repository
(bitterli_kitchen.tar.gz
).
The scene can be found within the GitLab repository
(bitterli_staircase.tar.gz
).
The scene can be found within the GitLab repository
(radiance_conference_room
folder).
The scene can be found within the GitLab repository
(radiance_theater
folder).
For more information check out the rs-pbrt
web page.
Licensed under either of
at your option.
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.