Software rasterizer which views GLTF files, written in Rust.
The project has been tested with the assets from the glTF-Sample-Assets repository: https://github.com/KhronosGroup/glTF-Sample-Assets
Clone the glTF-Sample-Assets repository into the project folder and run the project:
git clone https://github.com/KhronosGroup/glTF-Sample-Assets.git
cargo run --release glTF-Sample-Assets/Models/ChronographWatch/glTF/ChronographWatch.gltf
With this project I tried to make a relatively simple, relatively performant software rasterizer. Just for fun.
The general architecture of the rasterizer is:
gltf crate.rayon.glam) to rasterize a 4-pixel quad at a time, writing into a visibility buffer.pixels and winit.Thanks to Fabian “ryg” Giesen for his helpful software rasterizer tutorial series: https://fgiesen.wordpress.com/2013/02/17/optimizing-sw-occlusion-culling-index/