PDA

View Full Version : Bug with rotationInterpolation


covert
11-08-2010, 10:55 PM
I have a script that uses rotationInterpolation to fix my animation curves before exporting as FBX.

// Fix curves
string $all_animCurveList[] = `ls -type "animCurveTA"`;
string $all_animCurve;

string $rot_animCurveList[];

for ( $all_animCurve in $all_animCurveList )
{
if ( `gmatch $all_animCurve "*_rotate?"` ) stringArrayInsertAtIndex (0, $rot_animCurveList, $all_animCurve);
}

selectKey -clear;
selectKey -add -k $rot_animCurveList;

filterCurve $rot_animCurveList;

rotationInterpolation -c quaternion $rot_animCurveList;
rotationInterpolation -c none $rot_animCurveList;
Now the problem is that upon exporting to FBX, the curves get screwed up.
(As if it had not properly completed its evaluation of that second rotationInterpolation.)

Also, if I remove that second rotationInterpolation, the FBX exporter crashes.
(As if it does not like that my curves are in quaternion.)

Ideas?

CGTalk Moderation
11-08-2010, 10:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.