gltf_loader 0.4.1

SDKflutter
Platformandroidioswindowslinuxmacosweb

Pure dart glTF 2.0 Specification loader utility with dynamic asset loading

glTF 2.0 helper library

A Flutter 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 loading.
    • Load specific buffer via GLTF.loadBuffer
    • Load specific image via GLTF.loadImage
    • Load assets needed by a scene via GLTF.loadScene

Live viewer

Try the glTF Viewer and dive into the internal structure of your assets.

Extensions

Ratified glTF 2.0 KHR extensions:

StatusReference
KHR_animation_pointerOkSpec.
KHR_draco_mesh_compressionPendingSpec.
KHR_lights_punctualOkSpec.
KHR_materials_anisotropyOkSpec.
KHR_materials_clearcoatOkSpec.
KHR_materials_dispersionOkSpec.
KHR_materials_emissive_strengthOkSpec.
KHR_materials_iorOkSpec.
KHR_materials_iridescenceOkSpec.
KHR_materials_sheenOkSpec.
KHR_materials_specularOkSpec.
KHR_materials_transmissionOkSpec.
KHR_materials_unlitOkSpec.
KHR_materials_variantsPendingSpec.
KHR_materials_volumeOkSpec.
KHR_mesh_quantizationPendingSpec.
KHR_texture_basisuPendingSpec.
KHR_texture_transformOkSpec.
KHR_xmp_json_ldPendingSpec.
EXT_mesh_gpu_instancingPendingSpec.
EXT_meshopt_compressionPendingSpec.
EXT_texture_webpOkSpec.