Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

Unknown
LICENSE
Unknown
license.html
Unknown
LICENSE.rtf
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

wahn/rs_pbrt

crates.ioDocumentation Statusdependency statusbuilds.sr.ht status

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:

http://www.pbrt.org

CurrentRust (development) documentation:

https://www.janwalter.org/doc/rust/rs_pbrt/index.htmlorhttps://www.rs-pbrt.org/doc/crates/rs_pbrt/index.html

Usage

> 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

Test Scenes

Some images of the test scenes are shown below, but you can find moretest scenes onGitLab.

Ganesha Statue

Very detailed scan of a small statue with over 4.3 million triangles,illuminated by a few area light sources.

Ganesha Statue

The scene can be found within theGitLab repository(pbrt_ganesha.tar.gz).

Subsurface Scattering (SSS)

SSS Dragon

The scene can be found within theGitLab repository(sss_dragon.tar.gz).

Stochastic Progressive Photon Mapping (SPPM)

SPPM Caustic Glass

The scene can be found within theGitLab repository(caustic_glass.tar.gz).

Ecosystem (Cover image for the first edition of the PBRT book)

Ecosystem

The scene can be found within theGitLab repository(pbrt_ecosys.tar.gz).

Landscape (Cover image for the third edition of the PBRT book)

Landscape

Hair

Thehair scattering model in action:

Curly and straight hair rendered by Rust version of PBRT

The scene can be found within theGitLab repository(pbrt_hair.tar.gz).

Japanes Classroom by NovaZeeke

Classroom room rendered by rs_pbrt

The scene can be found within theGitLab repository(bitterli_classroom.tar.gz).

The White Room byJay-Artist

The White Room rendered by rs_pbrt

The scene can be found within theGitLab repository(bitterli_living-room-2.tar.gz).

Country Kitchen byJay-Artist

Kitchen rendered by rs_pbrt

The scene can be found within theGitLab repository(bitterli_kitchen.tar.gz).

The Wooden Staircase byWig42

Staircase rendered by rs_pbrt

The scene can be found within theGitLab repository(bitterli_staircase.tar.gz).

Conference Room by Anat Grynberg and Greg Ward

Conference room rendered by rs_pbrt

The scene can be found within theGitLab repository(radiance_conference_room folder).

Theater by Charles Ehrlich and Greg Ward

Theater rendered by rs_pbrt

Theater rendered by rs_pbrt

The scene can be found within theGitLab repository(radiance_theater folder).

For more information check out thers-pbrtweb page.

License

Licensed under either of

at your option.

Contribution

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.


[8]ページ先頭

©2009-2025 Movatter.jp