Skip to content
Novus Examples
glb3.2 KB

glTF Node Animation — CUBICSPLINE Sampler (GLB)

One cube on one node, with translation, rotation and scale each driven by a five-key sampler that is cubic-spline, with in/out tangents stored around each value. Three files differing only in `interpolation` — the cleanest way to prove an animation player implements all three modes rather than treating everything as linear.

Loading 3D preview…

Specifications

Format
glTF 2.0 binary (GLB)
Interpolation
CUBICSPLINE
Channels
3
Paths
translation, rotation, scale
Keyframes
5
Duration Seconds
2
Output Elements Per Key
3

Testing contract

Expected to pass
Scenario
Sample the clip at t=0.25 s (between keys) and compare the node's local matrix against a CUBICSPLINE reference evaluation.
Expected result
The interpolated value matches the reference to float precision; a player that falls back to LINEAR differs visibly at the mid-key sample

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

“glTF Node Animation — CUBICSPLINE Sampler (GLB)” is a deterministic Novus Examples fixture for Conversion testing, Mesh processing QA. 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: 3 ch · 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("node-trs-cubicspline.glb")
print(mesh.bounds, mesh.faces.shape)

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