Thanks Guillaume
From:
owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of guillaume laforge
Sent: March 2, 2007 4:03 PM
To: XSI(at)Softimage.COM
Subject: Re: Tranferring
transformation animation to constraint offfset
>I think I had to save
of key
>arrays and write them again into the new curve. (Plus you have to worry
>about keeping you tangents and so on)
Take a look at the CreateFCurveKeyCollection method.
You can add keys to this collections with all the key parameters ( time,
tangent, etc...).
then use this collection to add keys in an other fcurve.
1/2
--
Guillaume Laforge
On 3/2/07, Serguei
Kalentchouk <serguei.kalentchouk(at)ubisoft.com>
wrote:
Speaking of copying fcurves, I couldn't find a way to just copy an
fcurve object from one parameter to another with the object model. (not
using copy anim /paste anim commands) I think I had to save of key
arrays and write them again into the new curve. (Plus you have to worry
about keeping you tangents and so on)
Would be nice to have a way to just pass an fcruve object into the
argument of the AddFcurve method?
-----Original Message-----
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM]
On Behalf
Of Andre DeAngelis
Sent: March 2, 2007 3:13 PM
To: XSI(at)Softimage.COM
Subject: RE: Tranferring transformation animation to constraint offfset
Hi Brad,
No I definitely wasn't to keep the keys so that the animators can keep
working.
Why do you suggest plotting? If I can so easily copy the fcurves
manually from the object's local kinematics to the constraint offsets, I
would expect to be able to do it using the object model.
-----Original Message-----
From: owner-xsi(at)Softimage.COM
[mailto:owner-xsi(at)Softimage.COM]
On Behalf
Of Bradley Gabe
Sent: March 2, 2007 2:56 PM
To: XSI(at)Softimage.COM
Subject: Re: Tranferring transformation animation to constraint offfset
Do you care about maintaining fcurve keypoints, or is plotting okay?
> I came across an interesting issue here today.
>
> Having started with a scene, one of the animators decided he wanted to
> constrain a number of reference models to a null to offset
them. By
> that I mean the main SRT controller underneath the master Root null.
> We are using 5.11 so layers are not an option.
>
> The thing is that even with compensation enabled, the local animated
> transforms become disabled (as one would expect). The only way
around
> this I found was to copy the animation from the object's local
transform
> parameters to the offset parameters in the constraint Property.
>
> Before I write a script to do this, I was wondering if there was an
> easier way to do this?
>
> AD
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in
body:
> unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in
body:
unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM
with the following text in body:
unsubscribe xsi