-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Skin vertex weight normalization #144
Comments
The weights sum is accumulated across all weights sets (4, 8, 12, etc). The error message may be better, though. Could you please provide an example asset? |
Here is an example (and old, non-normalized version of CesiumMan) that passes validation but in fact has non-normalized weights: google/model-viewer#2450 (comment) |
Both models from that archive have |
yeah, the quantized one is being caught just fine. But the base one just has a single warning, yet is still invalid. |
Hmm wait, |
The spec says:
The validator seems to check if the weights sum to one in groups of 4
Is this the desired behavior?
E.g. all of my customer's models have 8 weights. If feels more logical to me that the sum of these 8 weights should be one?
I'm trying to fix Maya2glTF to get rid of the normalization errors like these:
Weights accessor elements (at indices 2744..2747) have non-normalized sum: 0.9999983310699463
The text was updated successfully, but these errors were encountered: