THREE.JS / FOUNDATIONS 254

Store only the changed vertices.

glTF sparse accessors keep a zero-initialized base and replace only the entries that differ. The two panels below exercise that rule as a morph-target attribute and as an animation-output accessor.

Initializing -

Preparing the renderer and generated glTF fixture.

Meshes
-
Morph attrs
-
Sparse accessors
-
Changed entries
-
Accessor inspectionloader expansion
accessor
-
base storage
-
sparse replacements
-
resolved BufferAttribute
-
payload comparison
-

Select a panel to inspect its authored accessor and expanded runtime values.

Morph targetrelative POSITION deltas
Sparse animation outputSCALAR weights

-

right-panel influence 0.00

Inspectionrenderer + lifecycle

glTF sparse data -> BufferAttribute -> morph/animation -> render

Drag to orbit · scroll to dolly · use ?forceWebGL=1 for a WebGL2 comparison.

Next: glTF cameras + punctual lights ->
LAB 254 / GLTF SPARSE ACCESSORS