PDA

View Full Version : Convert Keyframes to Curve?


MasonDoran
11-22-2002, 04:23 PM
I have some keyframe animations that i want to convert to a spline as the mel script "Beauty Line" does. Problem is i cant get the script to work properly.....the spline is created...but seems to be invisible. Is there any way to do this without the script?

I notice it cant be a motion path because the motion path ignores any rotations in preferance for the facing axis etc.

MasonDoran
11-25-2002, 09:37 AM
i just wanted to put this back on top of the list. I noticed in Max that all Keyframe animations had splines already....

MasonDoran
11-26-2002, 09:05 AM
i also notice there is a tutorial of this on gnomon....alas....:shrug:

olivier georges
11-26-2002, 04:58 PM
hi,
in maya, if you need to see the trajectory of a keyframed object, you can use the motion trail.

Olivier.

MasonDoran
11-27-2002, 07:51 AM
the problem with motion trail is it is not actually a motion path that can be edited -it is for display purposes only :(

if the trajectory was actually a spline that you could edit...it would make animation much more efficient and intuitive.

i notice there was a video tutorial on Gnomon covering this exact topic

olivier georges
11-27-2002, 09:15 AM
to create a motion path from your keyframe anim you can do that :
create a one span linear curve, snap its pivot to its first point.
pointConstraint this curve to your object, then use the "create animation sweep command in animate menu in order to create a loft object from the animation of your constraint curve, then select from the generated surface the isoparm corresponding to the first point of your constraint curve and use duplicate surface curve... you'll have a nurbs curve history dependent of your animation corresponding to the trajectory of your object :)

hope it will help you and sorry for my bad english, eh i'm a french :))


Olivier.

dwalden74
11-27-2002, 10:18 AM
Actually, I figured a feature like this would already be in the Maya interface. Thatīs strange... :annoyed: Anyway, if you know something about scripting, generating a motion path from XYZ translation values should be fairly simple. Just query the XYZ position at each frame, then use these values as point inputs in creating a linear curve. Iīm working right now in Soft3D, so I donīt have time (or Maya in front of me) to do this for you right now. :*( Perhaps some nice soul would be kind enough to do this for 2byts???

:beer:
David

CGTalk Moderation
01-13-2006, 04:00 AM
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.