-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
Threejs 99: fbx skinned meshes have issues #15354
Comments
Can you please test if an additional line of code solves the issue? Please add the following line... model.normalizeSkinWeights(); after this one: three.js/examples/js/loaders/FBXLoader.js Line 1233 in 1cbcaab
|
Thank you, that was fast! it seems to have fixed the issue with fbx models made from blender, |
Do you also have issues with these models with |
@mrdoob Would it be not better to call |
I also had issues on r96 when using the latest fbx loader, but different ones. The only way I know to get a perfect Cinema4D fbx files in threejs is to use this combo: |
Okay, thanks for the feedback! I think it makes sense to separate both problems. Can you please share in this thread one of the problematic FBX files exported from Cinema4D? I'm sure @looeee can have a look at it. The issue about |
There seems to be quite a few reports if Cinema4D models being incorrect recently - maybe related to #15287 and #15097 and possibly happening since I switched to calculating transforms according to the spec in #14933. @pikilipita could you check those issues and if your issues with the Cinema4D model seem related to those, post the model there? Otherwise please make a new issue titled "Issues with Cinema4D FBX models" and include the model there. |
Thanks, not too sure if they are related, as from my side I only see issues with animated models. |
I test on r99 + fbx loader at r96 and add model.normalizeSkinWeights().The model is OK. |
Well, this change made me learn that models for GLTF files are supposed to have normalized skinweights so the computing would be redundant in that case. I would prefer to just fix |
Okay, then let's do this selectively per loader if necessary 👍 @looeee Do you want to make the change for |
Looks like you beat me to it! 😅 |
I've updated from threejs r96 to r99 and animated fbx meshes went all over the place.
The same fbx loader script is used in both cases.
Animated collada models seems fine.
r96:
https://lune.live/forums/3-96.png
r99
https://lune.live/forums/3-99.png
The text was updated successfully, but these errors were encountered: