-
Notifications
You must be signed in to change notification settings - Fork 19
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
HAnim skin deformation #7
Comments
BSContact renders the Lucy models also with inverted rotations, in the same way. A first, very inefficient, x3dom skin deformation implementation also shows the same rotations: https://rawgit.com/andreasplesch/x3dom/HAnim_work/test/functional/HAnim/inlineloader.html while the JoeKick mode is animated correctly. So perhaps there is a problem with the Lucy model. Let me double check the Linux version of view3dscene. |
It turns out that while view3dscene converted Lucy x3d model at has the inverted rotations, the original vrml model at http://www.seamless3d.com/browser_test/lucy_test4.x3dvz is correct. So there seems to be an issue with the view3dscene vrml to x3d conversion. See #8 . |
It turns out the JoeSkin example has not enough texCoords for a vertices. Here is a fixed version: view3dscene does not produce any more warnings and displays the texture animation but does not animate the skin. |
Sorry it took so long to address this! Indeed the https://raw.githubusercontent.com/andreasplesch/x3dom/HAnim_work/test/functional/HAnim/JoeSkinTexcoordDisplacerKick.x3d does not animate. That is because it doesn't list the joints in the It is an error in X3D as far as I know -- https://www.web3d.org/documents/specifications/19774-1/V2.0/Architecture/ObjectInterfaces.html#Humanoid says """The joints field contains a list of references, one for each Joint object defined within the skeleton field hierarchy of the Humanoid object."""
right before
Adding these joints to your https://raw.githubusercontent.com/andreasplesch/x3dom/HAnim_work/test/functional/HAnim/JoeSkinTexcoordDisplacerKick.x3d fixes the problem also, even for older view3dscene. |
Thanks. Unfortunately, I do not remember if I got the .x3d with the missing joints field from Joe. I do seem to remember asking about the field on the mailing list as it is redundant, and I think the response was that it needs to be populated for a pretty printer to function. |
http://www.web3d.org/x3d/content/examples/Basic/HumanoidAnimation/JoeSkinTexcoordDisplacerKick.x3d
produces warnings and does not animate the skin in 3.18 on Windows.
BSContact displays as below and does not show warnings:
https://raw.githubusercontent.com/andreasplesch/x3dom/HAnim_work/test/functional/HAnim/Lucy_test4.x3d
has inverted kinematics on Windows 3.18 but is correct on Linux 3.18.
The text was updated successfully, but these errors were encountered: