1 unstable release
0.1.0 | Aug 18, 2024 |
---|
#812 in Graphics APIs
11KB
155 lines
DirectX Mesh
Rust parser for Legacy Microsoft DirectX Mesh file extension.
Usage
let bytes = std::fs::read_to_string("GFX/map.x").unwrap();
let x_mesh = read_directx_mesh(&bytes).unwrap();
assert_eq!(x_mesh.vertices.len(), 301);
Examples
Task list
- Write documentation
- Create a writer
- Read materials
- Read animations, bones, etc
Dependencies
~39–76MB
~1.5M SLoC