You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When exporting a custom made model, I've noticed some vertices appearing in-game like they have no weights, but in Blender they look OK.
Turns out that MTFramework will ignore the weights completely if one vertex has no weights, even when the others sum up to 255.
Simple example to reproduce:
# bone_index/weight value pairs from Blender
[(47, 0.0021963752806186676), (53, 0.5013832449913025), (57, 0.0008065812289714813), (58, 0.36875882744789124)]
# After processing them for export, bone_index 57 has no influence
[(47, 1), (53, 146), (57, 0), (58, 108)]
So, weights exported have to:
Have values sum up to exactly 255
Have values be non-zero
The text was updated successfully, but these errors were encountered:
When exporting a custom made model, I've noticed some vertices appearing in-game like they have no weights, but in Blender they look OK.
Turns out that MTFramework will ignore the weights completely if one vertex has no weights, even when the others sum up to 255.
Simple example to reproduce:
So, weights exported have to:
The text was updated successfully, but these errors were encountered: