KhronosGroup / KhronosGroup/glTF

Clarify mixing morphed and non-morphed primitives

Open
#2,154 11 comments 0 reactions 1 assignee Claimed by @lexaknyazev View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.