A rasterizer and raytracer renderer written in Rust using the wgpu library.
To run:
cargo run --releaseTo run wasm:
cargo xtask run-wasm --releaseTo run integration tests:
cargo test --releaseInstall llvmpipe to run tests with Lavapipe.
# Debian/Ubuntu
apt-get install mesa-vulkan-drivers
# Alpine
apk add mesa-vulkan-gallium
# Fedora
dnf install mesa-vulkan-driversHeadless rendering tests compare output against reference images with a 2% tolerance. To regenerate the references after a rendering change:
UPDATE_REFERENCES=1 cargo test 