Skip to content

3D engine that AI agents drive

Move the GLB accessor note into Limits and list every size line (#2471)

Nguyen Xuan An18084d7d7ea3
diff --git a/changes/2471.size.md b/changes/2471.size.md
index 15d2f50f..dddf3e52 100644
--- a/changes/2471.size.md
+++ b/changes/2471.size.md
@@ -1,2 +1,3 @@
- entry:core: 119 bytes gzip for the refusals that stop a PNG or GLB writer from emitting a corrupt file (zero or short PNG input, NaN accessor bounds written as null).
-- goal:gltf-box: 35 bytes gzip, the same refusals plus the missing mip level check, on a scene already over its goal; each stops a silently invalid export.
+- entry:core+lazy: the same 119 bytes.
+- goal:gltf-box: 35 bytes gzip, all of it the error for a missing compressed mip level, on a scene over its goal; without it a null level throws a raw TypeError.
diff --git a/docs/export-glb.md b/docs/export-glb.md
index f1443e56..b41ed630 100644
--- a/docs/export-glb.md
+++ b/docs/export-glb.md
@@ -184,6 +184,7 @@ Material tracks, IK and the camera are not exported; bake IK into rotation track
It stores opaque metallic roughness materials without renderer tags, procedural weathering, custom shaders, lighting, cameras, or postprocessing.
It does not promise identical rendered pixels across tools.
Materials tagged `unlit` still export through this documented metallic roughness snapshot contract.
+The writer refuses accessor data that would make an invalid file: NaN or Infinity where bounds are computed (positions, normals, colours, morph targets) and a length that is not a multiple of the component count. An empty accessor is written without `min` and `max`.
The [Blender glTF workflow](https://docs.blender.org/manual/en/5.3/addons/scene_gltf2.html) supports vertex colors, UV coordinates, shape keys, and emissive strength.
These editable fields remain available to compatible tools after import.
@@ -198,5 +199,3 @@ Every draw reported zero WebGL errors.
The original exporter lost vertex channels and produced maximum channel differences of 31, 194 and 185 in those respective fixtures.
Each draw uses one renderer, which is disposed before the next draw.
These measurements establish fidelity for the fixtures, not identical rendering across tools or recognizable character quality.
-
-The writer refuses accessor data that would make an invalid file: NaN or Infinity where bounds are computed (positions, normals, colours, morph targets) and a length that is not a multiple of the component count. An empty accessor is written without `min` and `max`.