Skip to content
Novus Examples
glb48.9 KB

GLB — KHR_mesh_quantization Twin

The same sphere with positions as normalised 16-bit and normals as normalised 8-bit integers under KHR_mesh_quantization — 66.6% of the float32 twin's bytes. The extension is in extensionsRequired, so a loader without support must refuse the file rather than render garbage.

Loading 3D preview…

Specifications

Format
glTF 2.0 binary (GLB)
Extension
KHR_mesh_quantization
Extensions Required
true
Position Component
SHORT normalised (stride 8)
Normal Component
BYTE normalised (stride 4)
Bytes Per Vertex
12
Vertices
2112
Max Position Error Per Axis
about 1.5e-05 of unit radius
Size Vs Float32 Percent
66.6

Testing contract

Expected to pass
Scenario
Load in a viewer that does not implement KHR_mesh_quantization, then in one that does; then measure per-vertex deviation from the float32 twin.
Expected result
The unsupporting viewer refuses the asset by name because the extension is required; the supporting one matches the float32 sphere to roughly 3e-05 of the radius.

What is a .glb file?

GLB is the binary form of glTF, packaging 3D scene geometry, materials, textures, animations, and node hierarchy into a single self-contained file. It is optimized for efficient runtime loading and is often called the JPEG of 3D. It is widely used in web, AR, and real-time 3D applications.

How to use this file

Use an example GLB to test glTF loaders, embedded-texture and animation handling, and real-time rendering pipelines in web or game engines.

How to use this file for testing

“GLB — KHR_mesh_quantization Twin” is a deterministic Novus Examples fixture for Conversion testing, Mesh processing QA, Performance testing. 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 binary (GLB). 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("quantized.glb")
print(mesh.bounds, mesh.faces.shape)

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