From GitHub - CesiumGS/quantized-mesh: Specification for streaming massive terrain datasets for 3D visualization. ,there is a description before the triangle index:
Immediately following the vertex data is the index data. Indices specify how the vertices are linked together into triangles. If tile has more than 65536 vertices, the tile uses the
IndexData32 structure to encode indices. Otherwise, it uses the
To enforce proper byte alignment, padding is added before the IndexData to ensure 2 byte alignment for
IndexData16 and 4 byte alignment for
Here is my question:
If tile has 100 vertices,how is the data arranged after the vertex data?
[VertexData][1x100x2 bytes blank][IndexData16] or convert IndexData16 to IndexData32?