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

What does NODE_SKINNED_MESH_NON_ROOT mean exactly? #133

Closed
trusktr opened this issue Jan 28, 2020 · 10 comments
Closed

What does NODE_SKINNED_MESH_NON_ROOT mean exactly? #133

trusktr opened this issue Jan 28, 2020 · 10 comments
Labels

Comments

@trusktr
Copy link

trusktr commented Jan 28, 2020

Hello!

I have meshes with animations exported from Blender 2.80, with some small distortions. I'm wondering if this warning has anything to do with it.

I'm getting two warnings:

Warning Message Pointer
NODE_SKINNED_MESH_NON_ROOT Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh. /nodes/49
NODE_SKINNED_MESH_LOCAL_TRANSFORMS Local transforms will not affect a skinned mesh. /nodes/49

Any idea how I can translate the meaning of these back into Blender?

Are there more in-depth explanations of these warning messages somewhere?

@lexaknyazev
Copy link
Member

These two warnings refer to this note from the spec:

Client implementations should apply only the transform of the skeleton root node to the skinned mesh while ignoring the transform of the skinned mesh node.

It's unlikely (although still possible) that they cause any distortions. It's hard to say what causes visual issues without original .blend file and an engine used for runtime rendering.

Please note, that this repo is for tracking issues with the validation tool rather than with various glTF implementations. Issue tracker for Blender plugin is here:
https://github.com/KhronosGroup/glTF-Blender-IO/issues

@emackey
Copy link
Member

emackey commented Jun 27, 2020

This particular warning is a technicality in the spec that the Blender exporter doesn't yet follow. But, it shouldn't be causing models to become scaled incorrectly. Make sure your Blender units are set to meters, as that is what glTF uses. A typical person model should be somewhere close to 1.7 meters tall, give or take.

@Naushikha
Copy link

@emackey Is it possible to get rid of the warning? Is there an update on the situation? I still get it when exporting gltf

@emackey
Copy link
Member

emackey commented Aug 4, 2021

@Naushikha Depending how you're using or calling the validator, all of the warnings and messages are configurable, and can be reduced or suppressed with settings.

In this particular case, if you exported from Blender, the root cause is likely a quirk of the way the Blender exporter works, making the skinned mesh a child of the armature (an arrangement required in the Blender scene hierarchy). This is probably something that should be fixed in the exporter, but it doesn't really hurt anything, so it's not a high-priority issue at the moment.

This warning is safe to ignore.

@Naushikha
Copy link

ahh got it! Thank you for the clarification! 😄

@ppoh71
Copy link

ppoh71 commented Sep 15, 2021

have the same issue, how did you solve it ?

@anakin2022
Copy link

@Naushikha Depending how you're using or calling the validator, all of the warnings and messages are configurable, and can be reduced or suppressed with settings.

In this particular case, if you exported from Blender, the root cause is likely a quirk of the way the Blender exporter works, making the skinned mesh a child of the armature (an arrangement required in the Blender scene hierarchy). This is probably something that should be fixed in the exporter, but it doesn't really hurt anything, so it's not a high-priority issue at the moment.

This warning is safe to ignore.

hello!

I am trying to work with animations in augmented reality with ModelViewer object. Particularly with this warning: Node with a skinned mesh is not root. Parent transforms will not affect a skinned mesh …. I have a big problem because the animation are available on preview mode but when I want to request the augmented reality mode... it does not work. So for this situation is very bad... I am stuck with my project :( and yes I work with Blender....

I hope somebody find any solution

@delaurean
Copy link

also having the same issue.. Did you find any solution to exporting from blender?

@emackey
Copy link
Member

emackey commented Apr 14, 2022

It's a minor bug in the Blender exporter, safe to ignore.

I've filed a new issue on the exporter: KhronosGroup/glTF-Blender-IO#1626

@delaurean
Copy link

delaurean commented Apr 18, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants