Vulkan path tracing with Rust
A PBR glTF 2.0 renderer based on Vulkan ray-tracing, written in Rust.
This project and I are not affiliated with the Rust Foundation. I name it rus-tracer
only because I love Rust and ray tracing.
This project is based on Adrien Ben's vulkan-examples-rs.
Sample accumulation implementation, heatmap and Lucy obj model are from project Ray Tracing In Vulkan.
I stole the PBR shaders from the referencePT project and made some changes.
Loading arbitrary glTF 2.0 models
Optimizations
Realtime ray tracing
Extras
gui_state.rs
) and load models in the search paths(see resource manager
).cargo run -- -f <filename>
or drag-and-dropThanks to the superior Rust package manager Cargo
, building and running can be as brainless as a one-liner: cargo run
.
However, some external C libraries like Vulkan SDK may be missing on your system(those libraries are necessary for basically any Vulkan or non-trivial graphics programming project, regardless of whatever programming language used).
cargo run
to find out what is missing and install itPointers to glTF models: