expenses / goth-gltf

A low-level gltf parser implemented on nanoserde
MIT License
35 stars 4 forks source link

goth-gltf

Goth-gltf aims to be a low-level, unopinionated reader for gltf files.

Basic example:

let filename = std::env::args().nth(1).unwrap();
let bytes = std::fs::read(&filename).unwrap();
let (gltf, _): (
    goth_gltf::Gltf<goth_gltf::default_extensions::Extensions>,
    _,
) = goth_gltf::Gltf::from_bytes(&bytes).unwrap();
println!("{:#?}", gltf);

In comparison with gltf-rs, it:

Extensions Implemented

License: MIT