Skip to content

rusoleal/gltf

Repository files navigation

C++ glTF 2.0 helper library

A c++ package that allows loading .gltf and .glb (glTF binary format) files according to the glTF 2.0 specification.

Features

  • Load .gltf format with external buffers/images.
  • Load .gltf format with embedded buffers/images.
  • Load .glb format (glTF binary format).
  • Dynamic asset info via GLTF::getRuntimeInfo() method

Extensions

Ratified glTF 2.0 extensions:

Status Reference
KHR_animation_pointer Pending Spec.
KHR_draco_mesh_compression Pending Spec.
KHR_lights_punctual Ok Spec.
KHR_materials_anisotropy Pending Spec.
KHR_materials_clearcoat Pending Spec.
KHR_materials_dispersion Pending Spec.
KHR_materials_emissive_strength Pending Spec.
KHR_materials_ior Pending Spec.
KHR_materials_iridescence Pending Spec.
KHR_materials_sheen Pending Spec.
KHR_materials_specular Pending Spec.
KHR_materials_transmission Pending Spec.
KHR_materials_unlit Pending Spec.
KHR_materials_variants Pending Spec.
KHR_materials_volume Pending Spec.
KHR_mesh_quantization Pending Spec.
KHR_texture_basisu Pending Spec.
KHR_texture_transform Pending Spec.
KHR_xmp_json_ld Pending Spec.
EXT_mesh_gpu_instancing Ok Spec.
EXT_meshopt_compression Pending Spec.
EXT_texture_webp Ok. Spec.

Dependencies

Licenses

This library is licensed under MIT license.

gltf library uses the following third party libraries.

  • json.hpp : Copyright (c) 2013-2025 Niels Lohmann Link
  • base64 : Copyright (C) 2004-2017, 2020-2022 René Nyffenegger Link

About

C++ glTF 2.0 helper

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages