Why GPU Vertex Counts Exceed DCC Corner Counts on UV and Hard-Edge Seams
Attribute Buffer Vertices Versus Unique Spatial Coordinates
Three-dimensional artists often wonder why a cube with 8 spatial corners in Blender exports 24 vertices inside a GLB file, or why unwrapping a dense UV island map suddenly doubles vertex buffer memory. GPU hardware indexes all vertex attributes—POSITION, NORMAL, TANGENT, and TEXCOORD_0—with a single integer index per corner. Whenever two adjacent triangles share a 3D point but have discontinuous face normals (hard edges) or split UV seam coordinates, the exporter must duplicate that vertex in the attribute buffer.
Our geometry analyzer reads the raw Float32 POSITION stream directly out of the GLB BIN chunk and hashes unique 3D spatial coordinates alongside total attribute vertices and index buffer counts. Comparing unique spatial positions against total attribute vertices immediately reveals whether fragmented UV islands or unsmoothed normals are inflating vertex shader shading load.
- Distinguishes indexed TRIANGLES primitives (mode 4 with indices accessor) from unindexed triangle soup.
- Quantifies vertex split ratios caused by hard shading normals and UV seam boundaries.
- Renders clean cyan wireframes in WebGL2 to spot over-subdivided bevels and hidden internal caps.
Contrasting Minimal Indexed Primitives With Hard-Edged Cubes
On animated-child.glb, one planar triangle requires zero seam splits: 3 indices, 3 attribute vertices, and 3 unique spatial points (1:1 ratio). By contrast, loading Sample A (scale-texture.glb) reveals 12 indexed triangles, 24 attribute vertices, and 8 unique spatial cube corners (a 3× hard-edge normal split).