An Indexed Mesh and Shared Positions
A mesh can store vertices once and use per-face indices to refer to the positions forming each polygon.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a two-triangle square
With four corners, triangles using indices (0,1,2) and (0,2,3) share positions zero and two. Zero-based indexing gives their table positions.
Check attributes at seams
A shared position can need different texture coordinates or normals on different faces. Decide how the mesh represents those attribute choices. Named records help make the distinction visible.[1]