mod3d-gltf

Crates.iomod3d-gltf
lib.rsmod3d-gltf
version0.1.0
sourcesrc
created_at2024-08-05 17:08:40.814208
updated_at2024-08-05 17:08:40.814208
description3D Models for Gl processing
homepagehttps://github.com/atthecodeface/model3d
repositoryhttps://github.com/atthecodeface/model3d
max_upload_size
id1326245
size116,191
Gavin J Stark (atthecodeface)

documentation

https://docs.rs/mod3d

README

mod3d_gltf

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.

Usage

cargo add mod3d_gltf

Features

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.

Releases

Release notes are available in RELEASES.md.

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 0

cargo fmt