Information and Downloads
| Generator | Khronos glTF Blender I/O v4.2.57 |
|---|---|
| Copyright | CC0: This work has been marked as dedicated to the public domain. Model by Ed Mackey. |
| Source | KhronosGroup/glTF-Sample-Assets |
| File size | 14.83 kB |
Source glTF Source asset from
KhronosGroup/glTF-Sample-Assets
three r185 Converted with upstream three.js 0.185.0
Needle Converted with Needle Engine 5.1.2 USDZExporter
Blender 5.1 Converted with Blender 5.1.2
Adobe glTF Converted with OpenUSD 26.05 and Adobe glTF file-format plugin 2026.03
GUC Converted with GUC 0.5
Description
Animated Colors Cube
Tags
Extensions Used
- KHR_animation_pointer
Summary
This model demonstrates animating a base color with KHR_animation_pointer.
Operations
- Display in SampleViewer
- Download GLB
- Model Directory
Screenshot

Description
This model tests the KHR_animation_pointer extension's effect on the baseColorFactor of a material. When animated, the top cube should rotate above other colored cubes, and change its own color to match the cubes below.
This model was created in Blender 4.2.0 by placing keyframes for a material's default base color and using the "Push Down Action" button in the NLA Track Editor. The glTF export settings were configured with "Animation Mode" set to "NLA Tracks" and with a checkmark placed on "Animation Pointer (experimental)".
Possible Problems
If the top cube moves but stays red the entire time, it may indicate that
KHR_animation_pointeris not supported in your renderer.If the color changes become out-of-sync with the physical motion of the cube, it may indicate that the various animation tracks are not being driven by the same clock. The movement is defined for the
[0, 3]range while colors are defined for the[0, 2.5]range. This checks that the last color keyframe remains active until the movement track is complete. A similar test exists in the BoxAnimated sample without any animation pointers.
Legal
© 2024, Public. CC0 1.0 Universal
- Ed Mackey for Everything