Problem importing animated rotation with my script.

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

 
Thread Tools Display Modes
  10 October 2014
Problem importing animated rotation with my script.

Hello everyone.

While trying my hand on doing some Python scripting in Poser I came across the following problem.

What I'm trying to do, is to use a Python script to import some basic animation from an imported Collada file. Location works well, but rotations behave a bit erratic.

I created a test scene in Blender, exported it as Collada 1.4.1 file and checked with Cinema4D that the export was correct. The animation looked ok in C4D. The script imported animation in Poser however does not.

The attached animated GIFs show how the cube should rotate and how it actually does in Poser.

What puzzles me, is that the rotation values are pretty much what I expected. Both Poser and Blender use Euler XYZ as rotation model as far as I know, the only difference being that Blender uses Z-Up axis and Poser Y-Up. So the rotation values are translated:

Blender -> Poser
X -> X
Y -> -Z
Z -> Y

But the cube jumps to weird angles over the four frames.

I wonder if I'm missing something about rotation animation in this case.

Anyone got an idea what I might be doing wrong? I'm grateful for all pointers that I could follow to debug this.

Thanks in advance!

Blender:


Poser:
 
reply share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:31 PM.


Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.