|
1 month ago | |
---|---|---|
assets | 7 months ago | |
docs | 1 month ago | |
examples | 1 month ago | |
profile | 3 years ago | |
src | 1 month ago | |
.clippy.toml | 11 months ago | |
.gitignore | 4 years ago | |
.travis.yml | 1 year ago | |
Cargo.lock | 1 month ago | |
Cargo.toml | 1 month ago | |
LICENSE-APACHE | 3 months ago | |
LICENSE-MIT | 3 months ago | |
Makefile | 1 month ago | |
OpenEXR.txt | 3 years ago | |
README.md | 1 month ago | |
about.hbs | 3 months ago | |
about.toml | 3 months ago | |
license.html | 3 months ago |
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
> 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
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
(assets/scenes/ganesha.tar.gz
).
The hair scattering model in action:
For more info look at the Wiki page or the release notes.
Here you find another Rust implementation:
https://bitbucket.org/abusch/rustracer
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.