KhronosGroup / KhronosGroup/glTF
Clarify mixing morphed and non-morphed primitives
Open
specification
- Dominant language
- HTML
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 17h 26m
- Merged PRs (30d)
- 5
Description
_Originally reported by @scurest in https://github.com/KhronosGroup/glTF-Validator/issues/182._
The spec says:
> All primitives **MUST** have the same number of morph targets in the same order.
Given that glTF schemas do not allow empty arrays, it is a bit unclear whether a mesh primitive with an undefined `targets` array has _zero_ or _undefined_ number of morph targets. Therefore the spec is not clear whether it is allowed to mix morphed and non-morphed primitives within a single mesh.
/cc @emackey @javagl @bghgary
Contributor guide
Assessment
This issue has not been assessed yet.