✓ Uses Rust 2018 edition
|0.13.0||Jul 27, 2019|
|0.11.3||Feb 21, 2019|
|0.11.2||Jul 17, 2018|
|0.10.1||Mar 5, 2018|
|0.2.1||Nov 17, 2016|
#1 in #3d
4,472 downloads per month
Used in 10 crates (8 directly)
This crate is intended to load glTF 2.0, a file format designed for the efficient transmission of 3D assets.
rustc version 1.32 or above is required.
See the crate documentation for example usage.
gltf ignores all
names included with glTF assets. You can negate this by enabling the
names features, respectively.
[dependencies.gltf] version = "0.13" features = ["extras", "names"]
Demonstrates how the glTF JSON is deserialized.
cargo run --example gltf-display path/to/asset.gltf
Demonstrates how glTF JSON can be built and exported using the
cargo run --example gltf-export
Deserializes and serializes the JSON part of a glTF asset.
cargo run --example gltf-roundtrip path/to/asset.gltf
Visualises the scene heirarchy of a glTF asset, which is a strict tree of nodes.
cargo run --example gltf-tree path/to/asset.gltf