Skip to content
Novus Examples
gltf1.3 KB

glTF — External .bin Buffer

A glTF whose single buffer is a relative URI to a sibling .bin — the layout every DCC tool writes by default, and the one that breaks the moment an asset is moved or served from a different directory. Download the .bin in this group alongside it.

Loading 3D preview…

Interactive preview rendered from the equivalent glTF (self-contained.glb); drag to orbit. Download the file above for the GLTF original.

Specifications

Format
glTF 2.0 (JSON)
Buffer Storage
external file
Buffer Uri
external-buffer.bin
Buffer Bytes
10656
Note
incomplete on its own - download the .bin too

Testing contract

Expected to recover
Scenario
Load this .gltf without the .bin present, then with it in the same directory.
Expected result
Without the .bin the loader reports a missing external resource by name and does not crash; with it the sphere loads identically to the GLB twin.

What is a .gltf file?

glTF (.gltf, GL Transmission Format) is the 'JPEG of 3D' — a JSON scene description referencing geometry, PBR materials, textures, and animation, with binary buffers stored alongside or as a .bin. It is the standard for web and real-time 3D.

How to use this file

Use an example .gltf file to test glTF loaders (three.js, model-viewer), PBR material handling, and glTF-to-GLB packing.

How to use this file for testing

“glTF — External .bin Buffer” is a deterministic Novus Examples fixture for Conversion testing, Error handling. The same content exported across many formats and linked as a group, so you can convert one and diff against the expected twin.

Documented properties for this file: glTF 2.0 (JSON). Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

3D and CAD fixtures carry one small, documented solid or scene. Convert and inspect against the known geometry, units, and structure; format twins let you diff interchange fidelity, and the 3D viewer previews the actual mesh.

Code examples

import trimesh  # pip install trimesh

mesh = trimesh.load("external-buffer.gltf")
print(mesh.bounds, mesh.faces.shape)

Generated by generation/models_p7.py. Free for any use, no attribution required — license.