View Full Version : Importing animation curves - possible with raw track data?
mojo_rodeo
06-27-2008, 11:03 AM
Hi,
I was wondering if anyone has figured out a way to import raw tracking data (simple fcurves, such as X and Y tracking from Shake) as an animation fcurve in XSI. Such a solution would greatly help my work.
Thanks!
mojo_rodeo
06-27-2008, 12:01 PM
I was looking into the fraw2 file format to see how to convert data from shake to XSI. When exporting a raw curve in fraw2 it seems fairly simple:
1 <key - time> <right value> <constraints>
with simple formatting operations I'm able to take my tracking data and replace it in this format.
1 1 367.554 0
1 2 367.514 0
1 3 367.311 0
1 4 367.16 0
1 5 367.101 0
1 6 366.925 0
1 7 366.668 0
1 8 366.43 0
1 9 366.178 0
But this doesn't work. It can't properly read the fraw2 and fails to import. I can't seem to figure out the <key -time> parameter.
I did a test fcurve on a random object in XSI. When I export a test fraw2 file, even though my keys are at frame 1 -5 - 9 - 10 - 12 etc. I see values such as 0.041667 - 0.083333 - 7.58333 etc.
How do I convert my keyframe sequence (i have one key per frame, 1 through 600) to be able to import my data in XSI?
Thanks!
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.