|
2 gün önce | |
---|---|---|
assets | 3 ay önce | |
examples | 1 hafta önce | |
profile | 1 yıl önce | |
src | 2 gün önce | |
.gitignore | 2 yıl önce | |
.travis.yml | 7 ay önce | |
Cargo.lock | 1 hafta önce | |
Cargo.toml | 1 hafta önce | |
LICENSE | 2 yıl önce | |
Makefile | 1 hafta önce | |
OpenEXR.txt | 1 yıl önce | |
README.md | 1 ay önce |
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
> ./target/release/examples/rs_pbrt -h
Usage: ./target/release/examples/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
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: