Baking motion to every frame.

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
Dodgy
Posts: 207
Joined: Sat Jan 13, 2007 8:01 pm
Location: Sydney
Contact:

Baking motion to every frame.

Post by Dodgy »

Hiya, my first post to this forum, I hope you find this useful. It's a script for baking motions of layers/bones to every frame. I have to add changing actions to keyframes, but I'm not sure how to access those. In the meantime, here's the script :) It's shouldn't break anything, but it's free so it's not my fault if it does okay!
http://dodgy.ghostoutpost.com/Files/mg_motion_baker.zip

Mike
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Great, thanks!
But I can't get it to work properly, no matter if I only select one or a few of the channels all of them get baked.

And would it be possible to only bake the selected layer/bone(s)?
Dodgy
Posts: 207
Joined: Sat Jan 13, 2007 8:01 pm
Location: Sydney
Contact:

Post by Dodgy »

It might when I have the time :)

Hmm, it works perfectly for me, tested quite extensively. Which version of M/AS are you using?
User avatar
rylleman
Posts: 750
Joined: Tue Feb 15, 2005 5:22 pm
Location: sweden
Contact:

Post by rylleman »

Anime Studio Pro v5.5 build 20060822p.

Here's a link to the file I'm testing your scripts on;
http://www.rylanderanimation.se/temp/spets_v01s03.anme
I'm having all sort of trouble when trying the script, at first I can't get it to work at all, then if I turn on or off different channels suddenly it might work, or partly work where some of the selected channels get's baked.
At one testrun the channels of the other skeleton got baked (had "pointy" selected, "pointy_REVERSED" got baked).
Post Reply