Skip to content
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

Gltfio : Skinning - Some wrong bones influence #4236

Closed
ThomasGorisse opened this issue Jul 2, 2021 · 4 comments
Closed

Gltfio : Skinning - Some wrong bones influence #4236

ThomasGorisse opened this issue Jul 2, 2021 · 4 comments

Comments

@ThomasGorisse
Copy link
Contributor

Hi,

I have a strange skinning behavior.

It seems that there is little gap between some bones influences on some vertex groups:

GIF 02-07-2021 17-13-59

Everything seems OK when rendering it from Blender or Kronos sample model viewer

image

GIF 02-07-2021 17-24-13

I can't see it on the web Filament model viewer since the camera is in the wrong orientation.

Do you have an idea of where it could come from?

@ThomasGorisse
Copy link
Contributor Author

OK.

I figure out that disabling the

Blender > Export > gltTF 2.0
   v Animation
      v Skinning
         x Include All Bone Influences

is the way to go.

GIF 02-07-2021 18-14-07

Now I have to make my animation more natural

@romainguy
Copy link
Collaborator

There's a limit on the number of influences a vertex can receive, I imagine that's what you are running into. @prideout

@prideout
Copy link
Contributor

prideout commented Jul 6, 2021

Hard to tell what's going on without looking at your gltf file, but here are our known skinning limitations:

  • Filament supports only one vec4 joints/weights set (however this conforms with the glTF spec).
  • Filament does not support shearing in the bone matrix, where shearing is defined as rotation + non_uniform_scale + rotation.

@prideout
Copy link
Contributor

prideout commented Jul 7, 2021

This is not actionable unless we have a repro model to work with.

@prideout prideout closed this as completed Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants