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
I'm a Three.JS newbie, playing with facial animation on FBX and GLTF models based on MorphTargetInfluences (MTIs). I have a simple model loader which reads the model and providers sliders to move the various MTIs / blend shapes. This was all working until a recent update from three@0.158.0 to three@0.162.0 (it's still bad in 0.163.0).
The problem is only on FBX models, and the visual symptom is the mesh appears to break up like a death scene from Tron 1 as the MTIs are changed from 0. The bigger the intended change, the more vertices are affected, and they only seem to be affected on one side of the face, and the ones that should be changing don't move. It's as if the MTIs were being applied to the wrong vertices.
So the question is, is there any known recent change in the FBX morphing import, and any workround?
This is then used in a larger React app but that's not relevant, I don't think...
Live example
Sorry I don't have this publicly available (I could do with some effort)
Screenshots
Console output:
Found a mesh Halle_Base_Body
ModelPage.tsx:36 Morph targets {"BlendShapes_Halle_Base_Body.Open":0,"BlendShapes_Halle_Base_Body.Explosive":1,"BlendShapes_Halle_Base_Body.Dental_Lip":2,"BlendShapes_Halle_Base_Body.Tight_O":3,"BlendShapes_Halle_Base_Body.Tight":4,"BlendShapes_Halle_Base_Body.Wide":5,"BlendShapes_Halle_Base_Body.Affricate":6,"BlendShapes_Halle_Base_Body.Lip_Open":7,"BlendShapes_Halle_Base_Body.Brow_Raise_Inner_L":8,"BlendShapes_Halle_Base_Body.Brow_Raise_Inner_R":9,"BlendShapes_Halle_Base_Body.Brow_Raise_Outer_L":10,"BlendShapes_Halle_Base_Body.Brow_Raise_Outer_R":11,"BlendShapes_Halle_Base_Body.Brow_Drop_L":12,"BlendShapes_Halle_Base_Body.Brow_Drop_R":13,"BlendShapes_Halle_Base_Body.Brow_Raise_L":14,"BlendShapes_Halle_Base_Body.Brow_Raise_R":15,"BlendShapes_Halle_Base_Body.Eye_Blink":16,"BlendShapes_Halle_Base_Body.Eye_Blink_L":17,"BlendShapes_Halle_Base_Body.Eye_Blink_R":18,"BlendShapes_Halle_Base_Body.Eye_Wide_L":19,"BlendShapes_Halle_Base_Body.Eye_Wide_R":20,"BlendShapes_Halle_Base_Body.Eye_Squint_L":21,"BlendShapes_Halle_Base_Body.Eye_Squint_R":22,"BlendShapes_Halle_Base_Body.Nose_Scrunch":23,"BlendShapes_Halle_Base_Body.Nose_Flanks_Raise":24,"BlendShapes_Halle_Base_Body.Nose_Flank_Raise_L":25,"BlendShapes_Halle_Base_Body.Nose_Flank_Raise_R":26,"BlendShapes_Halle_Base_Body.Nose_Nostrils_Flare":27,"BlendShapes_Halle_Base_Body.Cheek_Raise_L":28,"BlendShapes_Halle_Base_Body.Cheek_Raise_R":29,"BlendShapes_Halle_Base_Body.Cheek_Suck":30,"BlendShapes_Halle_Base_Body.Cheek_Blow_L":31,"BlendShapes_Halle_Base_Body.Cheek_Blow_R":32,"BlendShapes_Halle_Base_Body.Mouth_Smile":33,"BlendShapes_Halle_Base_Body.Mouth_Smile_L":34,"BlendShapes_Halle_Base_Body.Mouth_Smile_R":35,"BlendShapes_Halle_Base_Body.Mouth_Frown":36,"BlendShapes_Halle_Base_Body.Mouth_Frown_L":37,"BlendShapes_Halle_Base_Body.Mouth_Frown_R":38,"BlendShapes_Halle_Base_Body.Mouth_Blow":39,"BlendShapes_Halle_Base_Body.Mouth_Pucker":40,"BlendShapes_Halle_Base_Body.Mouth_Pucker_Open":41,"BlendShapes_Halle_Base_Body.Mouth_Widen":42,"BlendShapes_Halle_Base_Body.Mouth_Widen_Sides":43,"BlendShapes_Halle_Base_Body.Mouth_Dimple_L":44,"BlendShapes_Halle_Base_Body.Mouth_Dimple_R":45,"BlendShapes_Halle_Base_Body.Mouth_Plosive":46,"BlendShapes_Halle_Base_Body.Mouth_Lips_Tight":47,"BlendShapes_Halle_Base_Body.Mouth_Lips_Tuck":48,"BlendShapes_Halle_Base_Body.Mouth_Lips_Open":49,"BlendShapes_Halle_Base_Body.Mouth_Lips_Part":50,"BlendShapes_Halle_Base_Body.Mouth_Bottom_Lip_Down":51,"BlendShapes_Halle_Base_Body.Mouth_Top_Lip_Up":52,"BlendShapes_Halle_Base_Body.Mouth_Top_Lip_Under":53,"BlendShapes_Halle_Base_Body.Mouth_Bottom_Lip_Under":54,"BlendShapes_Halle_Base_Body.Mouth_Snarl_Upper_L":55,"BlendShapes_Halle_Base_Body.Mouth_Snarl_Upper_R":56,"BlendShapes_Halle_Base_Body.Mouth_Snarl_Lower_L":57,"BlendShapes_Halle_Base_Body.Mouth_Snarl_Lower_R":58,"BlendShapes_Halle_Base_Body.Mouth_Bottom_Lip_Bite":59,"BlendShapes_Halle_Base_Body.Mouth_Down":60,"BlendShapes_Halle_Base_Body.Mouth_Up":61,"BlendShapes_Halle_Base_Body.Mouth_L":62,"BlendShapes_Halle_Base_Body.Mouth_R":63,"BlendShapes_Halle_Base_Body.Mouth_Lips_Jaw_Adjust":64,"BlendShapes_Halle_Base_Body.Mouth_Bottom_Lip_Trans":65,"BlendShapes_Halle_Base_Body.Mouth_Skewer":66,"BlendShapes_Halle_Base_Body.Mouth_Open":67}
ModelPage.tsx:41 Mesh morph values: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
...
BlendShapes Halle Base Body.Tight O = 0.01
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.05
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.27
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.28
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.37
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.46
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.5
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.53
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.57
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.58
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.61
ModelPage.tsx:70 BlendShapes Halle Base Body.Tight O = 0.66
... etc ...
Version
0.163.0
Device
Desktop
Browser
Chrome
OS
Linux
The text was updated successfully, but these errors were encountered:
Description
Hi,
I'm a Three.JS newbie, playing with facial animation on FBX and GLTF models based on MorphTargetInfluences (MTIs). I have a simple model loader which reads the model and providers sliders to move the various MTIs / blend shapes. This was all working until a recent update from three@0.158.0 to three@0.162.0 (it's still bad in 0.163.0).
The problem is only on FBX models, and the visual symptom is the mesh appears to break up like a death scene from Tron 1 as the MTIs are changed from 0. The bigger the intended change, the more vertices are affected, and they only seem to be affected on one side of the face, and the ones that should be changing don't move. It's as if the MTIs were being applied to the wrong vertices.
So the question is, is there any known recent change in the FBX morphing import, and any workround?
Thanks!
Paul
Reproduction steps
Code
Working in R3F:
ModelPage.tsx:
BodyModelPage.tsx:
This is then used in a larger React app but that's not relevant, I don't think...
Live example
Sorry I don't have this publicly available (I could do with some effort)
Screenshots
Console output:
Version
0.163.0
Device
Desktop
Browser
Chrome
OS
Linux
The text was updated successfully, but these errors were encountered: