-
Notifications
You must be signed in to change notification settings - Fork 158
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
Converter generates incorrect rotation key frames #108
Comments
I noticed the same issue. I am converting from Maya to COLLADA (using the OpenCollada plugin) and then using Collada2GLTF to convert the gltf. I get the axis flip issue on animations as well, i.e. rotations about the y-axis converts to rotations about the x-axis. Will there be a fix soon? Is there any work arounds in the meantime? |
@rck1, are you using the 2.0 branch? |
@lasalvavida, I am using the pre-built binaries from the latest release (v2.0). |
@rck1, can you attach the model that isn't converting correctly here? |
@lasalvavida, I won't be able to attach the model that I'm using at work but I'll see if I can replicate it at home. |
Replaces KhronosGroup/glTF#244
A COLLADA model with the following animation (hand edited at this point) has five keyframes:
The rotation angles around Z are simply
0 90 180 270 360
. However, the converter generates the following axis-angle rotations, which include an axis flip:Adding more keyframes (with shorter deltas between the rotation angles) does not fix the problem nor does changing the domain from
[0, 360]
to[-180, 180]
.The text was updated successfully, but these errors were encountered: