#mesh #directx #legacy #bevy #microsoft #extension #file

bevy_directx_mesh

A Bevy extension for the legacy microsoft direct x mesh

1 unstable release

0.1.0 Aug 18, 2024

#812 in Graphics APIs

MIT/Apache

11KB
155 lines

DirectX Mesh

crates.io docs.rs

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