-
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 conversion to xml inverts rotations #8
Comments
A workaround, until I find and fix it, seems to be to use command-line conversion:
These result in correct files, it seems. See https://castle-engine.io/view3dscene.php#section_converting . I do not yet have a solution for interactive conversion, I'll debug it. I can confirm that opening + saving http://www.seamless3d.com/browser_test/lucy_test0.x3dvz results in a file that has something weird with rotations :) Note that saving X3D from view3dscene is like saving the current DOM tree from HTML browser: You save the current state of everything, e.g. all However:
|
Thanks. Although it is always nice to fix a problem, it may suffice to modify saving from view3dscene so it just calls the command-line, probably in a whole separate process, or add as an option. Just a thought. |
Converting the Lucy model from
http://www.seamless3d.com/browser_test/lucy_test0.x3dvz
to X3D XML encoding with 3.18 results in this file:
https://raw.githubusercontent.com/andreasplesch/x3dom/HAnim_work/test/functional/HAnim/Lucy_test0.x3d
It seems during conversion the rotations somehow get inverted.
Here is X3D XML encoded scene:
https://raw.githubusercontent.com/andreasplesch/x3dom/HAnim_work/test/functional/HAnim/Lucy_test0b.x3d
converted by
http://doc.instantreality.org/tools/x3d_encoding_converter/
It has correct rotations.
The text was updated successfully, but these errors were encountered: