Quads as four vertex indices each, in face order.
Packed limit-surface positions in metres, one per vertex, where infinite refinement would carry each vertex.
Four indices into normals per quad, aligned with faces.
Packed unit limit normals [x, y, z, ...].
Cage face and local coordinates of each vertex, in vertex order.
Packed refined control positions [x, y, z, ...] in metres.
Four indices into uvs per quad, or null when the cage has no UVs.
Packed refined UV values [u, v, ...], or null when the cage has none.
A Catmull-Clark surface refined to a chosen level, with its limit positions and normals.
Every face is a quad wound like its cage face. Vertex order is deterministic: first one vertex per cage vertex in cage order, so cage vertex
ikeeps indexiat every level, then one per edge, then one per face, applied level by level. Edges are numbered by first appearance walking faces in order and corners in order. Faces descend from their parent face in order, one per parent corner, starting at that corner.Normals and UVs are face-varying:
normalFacesanduvFacesgive, per face corner, an index intonormalsanduvs. A smooth vertex has one normal; a vertex on an infinitely sharp crease, boundary corner or sharp corner has one per sector of faces between its sharp edges. To render, split vertices where a corner's position, normal and UV indices differ, and writelimitPositionsandnormalsinstead of recomputing normals from triangles, which would split shading at UV seams.