pbrtrs is a path tracer written in Rust. It is based on the book Physically Based Rendering: From Theory To Implementation by Matt Pharr, Wenzel Jakob, and Greg Humphreys
Built using cargo
cargo build --release
export OIDN_DIR="[path to oidn]"
cargo build --release --features enable_oidn
enable_oidn
- Enable image denoise using Intel's Open Image Denoise libraryenable_axis
- Draw coordinate axis in the top left tile of the image (for debugging)enable_debugger
- Enable the debugger which outputs debug information about a pixel todebug_out.txt
. SetDEBUG_PIXEL
inmain.rs
to the pixel coordinates you want to debug.
export TEV_PATH="[path to tev executable]"
pbrtrs [path to scene.toml]