Time insertion

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
arfa
Posts: 244
Joined: Tue Dec 23, 2008 8:15 pm
Location: New Zealand

Time insertion

Post by arfa »

Been a bit busy but have got something working. I have tested for all the permutations that I can think of - basically threw a variety of my *.anme files at it. It took me a while (longer than it should have :( ) to get the logic-testing simple enough. It gets through 2Mb (around 130k lines) in just over a second.

You still manually need to adjust for transitions, action loops, etc.; those things that have a start before the point of time-insertion but have their finish keys after. I can't imagine any way around this.

I have it so you can upload a file. This is mainly to show it working (we hope). I will leave it online for a while and see how much interest there is. Ideally, if you find it useful, you download a copy of EasyPHP
http://www.easyphp.org/
and set up a local server. It is dead easy. Xamp is an alternative. It has a portable option.

Give it a whirl >
http://www.buddhamind.info/as/Arfas-Insert_time.php

Or, get your own free-time copy >
http://www.BuddhaMind.info/as/dload.php ... n_time.php

The lack of integration is far from convenient but it does the job.

- arfa
arfa
Posts: 244
Joined: Tue Dec 23, 2008 8:15 pm
Location: New Zealand

Post by arfa »

I always feel a bit dubious replying to my own posts :)(
Still, a couple of practical points...

Be clear that this is a PHP script - *not* Lua
You can enter negative values.
There are two variables at the top of the script that need changing - esp. the path to your files.

__________
So, quite a few downloads but no uploads.
I wonder how the downloaders found the script. Did you get it running? Working?

Now that cc_shift_layer_keyframes might do the job - AND BETTER - this becomes less relevant. Ahhhhhh, blessed are the magnanimously beneficent.

cheers - arfa
User avatar
synthsin75
Posts: 10267
Joined: Mon Jan 14, 2008 11:20 pm
Location: Oklahoma
Contact:

Post by synthsin75 »

I was one of those downloaders, but as soon as I realized I'd have to install something else (EasyPHP) I thought, surely it'd be easier to just fix cc_shift_layer_keyframes. So I ran off to do that without checking this out further.

Overall it's much nicer getting instant visual feedback within AS (and the ability to undo).
Post Reply