[glTF] Support meshes without indices
Open
enhancement
good first issue
- Dominant language
- C++
- Stars
- 107
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
`GltfLoader::LoadMeshData` currently complains when a mesh lacks `indices`. However, meshes are allowed to not have `indices`. [5.24.2](https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#_mesh_primitive_indices) says:
> When this is undefined, the primitive defines non-indexed geometry
This would allow BigWheels to load and render:
- [Fox](https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/Fox)
Contributor guide
Assessment
This issue has not been assessed yet.