Notifications
Clear all

[Closed] burn to keys

I have some mo cap on a spline control. Works fine. But I’m having trouble converting the motion to burnt keyframes. I’ve tried lots of approaches, but nothing really works very well. I didn’t expect to have this much headache over something this simple. Any ideas?

8 Replies

any example of lots of approaches?

 lo1

Ok . I’m on my phone so I can’t format code but this should work as something similar works elsewhere
In my app. First I create array containing position of markers:

Markerpos =#(); slidertime =1; for t =1 to 100 do (
Slidertime = slidertime +1; append Markerpos marker.pos); slidertime =1;

This produces the desired array of position values from the marker.

Then I move the spline control (splinectrl ), with animate on:
with animate on;
for t =1 to 100 do ( slidertime =slidertime +1;splinectrl. pos = Markerpos[t]);slidertime =1;
However this just seems to create key frames without changing position of spline control.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

it’s a needy approach. but… the idea is right. forget about spline ik control. you can technically delete it (or disable) if you wish to bake the chain.
ik chain transform is not just position only. it’s full transformation (yes… and it can include scale as well)

so… if you want to bake a bone chain controlled by spline ik you have to:

walking thought a baking interval collect transforms of all chain bones at every frame

disable or break spline ik

apply the stored data to every bone in the chain at every stored frame with animate ON of course

one hint to know… the bone-tm data has to be sorted in descendant order.

No Denis . This problem had nothing to do with splineIK. It’s just an object that in this case is a spline
Being moved by markers. I’m wanting to burn the motion to keys, the nature of the object is irrelevant .

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

what did i have to think?

tell us better what drives what…

… but anyway. the method i told about above will work the same well.

collect transforms of driven objects

eliminate all influences from any animation constraints

set collected transforms to driven objects