PlannedPrimitive stores only:
Uint32 VertexDataIndex;
Uint32 IndexDataIndex;
int MaterialId;
ScanMesh() never reads the primitive's mode, and RadientMeshLoader::LoadMesh() creates every Radient primitive without any topology information.
glTF supports points, lines, line loops, line strips, triangles, triangle strips, and triangle fans. Only TRIANGLES is the default.
As a result, a valid triangle strip such as:
indices: 0, 1, 2, 3
mode: TRIANGLE_STRIP
is passed downstream as the same four indices without the information required to interpret them. Depending on the renderer, it will either be rejected or interpreted as an invalid triangle list.
PlannedPrimitive stores only:
ScanMesh()never reads the primitive's mode, andRadientMeshLoader::LoadMesh()creates every Radient primitive without any topology information.glTF supports points, lines, line loops, line strips, triangles, triangle strips, and triangle fans. Only TRIANGLES is the default.
As a result, a valid triangle strip such as:
is passed downstream as the same four indices without the information required to interpret them. Depending on the renderer, it will either be rejected or interpreted as an invalid triangle list.