poka.sh

Docs

GLTF

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

glTF Preview.

At a glance

Original creator The Khronos Group
First published 2015
Purpose A delivery format for 3D scenes that stays compact and cheap to load at run time.
Extensions .gltf
Poka parser poka-gltf
Viewer poka-3d-viewer
Depth tier Parser with a shared viewer (see Depth tiers)
Breadth tier B2 Broad (see Breadth tiers)

Preview a sample

These are sample files, not yours. Poka opens a sample in your browser: the file is read and parsed on your device and nothing is uploaded.

  • Box khronos_Box_embedded.gltf · 3.7 KB · licence: CC-BY-4.0 · Box by Cesium, CC BY 4.0 · source
  • Box with vertex colours khronos_BoxVertexColors_embedded.gltf · 2.7 KB · licence: CC0-1.0 · source

How much Poka reads

B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.

Confidence: low (a judgement from the documentation). Basis: Reviewed 2026-10-16: the poka-gltf text check and unit tests, the seven corpus files (five need sidecar files that the corpus lacks) and the vendored Three.js GLTFLoader plus how the web and desktop hosts load sidecars. The tier covers glTF 2.0 that is self-contained or opened with its sidecar files; a lone .gltf with external files dropped on the web app does not load.

What Poka does not read

  • glTF 1.0
  • Draco- and meshopt-compressed files
  • Animations (loaded but not played)
  • Files stored beside it when a lone .gltf is dropped on the web app (they load on desktop or when dropped together)
  • The KHR_materials_pbrSpecularGlossiness extension

Background

The Library of Congress dates glTF 1.0 to October 2015 and glTF 2.0 to June 2017; version 2.0 is not backward compatible and added physically based materials. A .gltf file is a JSON scene that points at separate .bin buffers and texture images; the binary container is the .glb file. Poka checks the header and then lets the frontend viewer load the model, so it does not decode geometry itself.

Versions

Version Identifier Poka Note
glTF 2.0 Partly read The module only sniffs the start of the file and requires an asset property; the frontend loader draws it (parsers/poka-gltf/src/main.rs). The module marks a missing asset property as a recoverable error, but the hosts ignore the flag, so the user sees an error.
glTF 1.0 Not read Out of range for the loader; the module does not name it.
  • Binary glTF (.glb): Single-file container with a 12-byte header; Poka has its own GLB row.

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

Software that uses it

  • glTF / GLB (Khronos)

Sources