TODOs
- depth buffers
- shading
- [~] panning
- rtx rendering
- [-] meshlet rendering
- [-] ui?
- You need to have a nightly Rust toolchain installed:
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
- The build.rs script will try to use
glslc
(https://github.com/google/shaderc part of the Vulkan SDK https://www.lunarg.com/vulkan-sdk/) andnvcc
to compile the shaders.
You can run the sample using
cargo run -- --mesh-file <path-to-obj-or-ply-mesh>
Note that the mesh must contain only triangles (not quads).