|
This example outlines how the csIndexSet can be shared to
reference both coordinates and normals. The Gouraud edge is marked as
the thick line which means that the vertices 4, 5, 7, 8, and 11
correspond to two different normal vectors, vertex 6 even corresponds
to three different ones. Therefore, the coordinates for those vertices
are duplicated in the csCoordSet for each varying normal.
Duplicating vertex coordinates lying on Gouraud edges is more memory
efficient than referencing coordinates and normals by separated
csIndexSets.
|