Crates.io | mod3d-gltf |
lib.rs | mod3d-gltf |
version | 0.1.0 |
source | src |
created_at | 2024-08-05 17:08:40.814208 |
updated_at | 2024-08-05 17:08:40.814208 |
description | 3D Models for Gl processing |
homepage | https://github.com/atthecodeface/model3d |
repository | https://github.com/atthecodeface/model3d |
max_upload_size | |
id | 1326245 |
size | 116,191 |
A library that allows loading and saving of Gltf v2.0 files; creation from within Rust; and creation of mod3d_base models from the Gltf objects.
It supports gltf with arbitrary uri resolution (so a gltf file that includes external texture images, for example) and glb format binary blobs; it also supports base64 encoding of URIs (hence a single file GLTF object is quite feasible).
Hence it can be used to create a simple GLTF viewer, for example.
cargo add mod3d_gltf
Serialization and deserialization as optional through the 'serde' feature; these are required for GLTF and GLB file loading and saving, but not for creation of mod3d_base objects. Hence the gltf creation API can be used to create mod3d_base models without requiring the serde feature.
Release notes are available in RELEASES.md.
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.