View Full Version : Free Plug-in TimeJumper
06 June 2006, 02:14 PM
>> This is a newer version R2 - it allows jumping backward too <<
I have a few little plugins I wrote to help my workflow. Today someone was looking over my shoulder and said they would like this one - so, I thought I would give it to everybody.
I am currently doing a bunch of motion graphics stuff (mograph came just in time) that is very time based. My storyboard shows changes by seconds. So I am jumping ahead in the timeline for the next action half a second, a second etc. at a time.
The other thing about this project is that they are being done at 4 different frame rates.
So that is why I put TimeJumper together. It gives you a pallete with a .5, 1,2,3,5,10 second button on it. Dock and just push the button to jump ahead that amount of time in the time line. It determines the amount of frames needed for the time from the frame rate you have set in your project settings, so you don't have to figure it out.
It isn't much and certainly a one trick pony - but if you find your self on frame 137 and know you have to jump ahead 3.5 seconds - a couple clicks of the mouse is faster than the calculation (at least for me). And I don't make the mistake of thinking I was working in a different frame rate than I reallly am.
Hope someone else finds it useful.
06 June 2006, 02:47 PM
Thanks Ed. Will take a look at it and play around a bit...
06 June 2006, 09:25 PM
Thanks ed, thats a cool one:) Would it be possible to add jumping back in time as well?
06 June 2006, 10:07 PM
Hey Lennart - funny you should ask.
I was thinking that would be useful too and thought, if anybody asks for it, I will do it.
So, yeah I will. I have a couple of other ideas that could enhance it a little too.
06 June 2006, 06:21 PM
Suddenly got called out of town last week - sorry I didn't get that update to you.
Should have it done in the next couple of days.
06 June 2006, 06:34 PM
Thats cool. Looking forward to it! Will make it very usefull.
06 June 2006, 06:44 PM
Very nice! I'm used to jumping back and forth 10 frames at a time in AE (command-shift-left/right arrow on a mac). Will be helpful to be able to jump around the timeline this way in c4d.
06 June 2006, 07:44 PM
Here is a new version - i added jumping backward. I also changed the names of the buttons, making them shorter and added a 1/4 second jump too.
Hope this makes it more useful to anyone using it!
06 June 2006, 11:37 PM
Hey, Ed! That's sweet! Many thanks.
May I be so crued, that I might ask you a Q here. I'm trying to make a simple script that would be close to what you've done. I'm tired and confused atm and are failing woth a simple task- set a value back to the document(I must be missing something obviuos here)
What it should do is set the PreView Range to the document range minus 1 frame.
That makes a loop. I can get the document length - but not set it back again.....
I get incompatible values in trying (object/float)
If you see whats missing I'd be reliefed.
Cheers and thanks again.
var start = 0;
var framerate = doc->GetFps();
var t = doc->GetTime()->GetSecond();
var lframe = doc->GetTime()->GetFrame(framerate);
var mintime = doc->GetMinTime()->GetFrame(doc->GetFps());
var maxtime = doc->GetMaxTime()->GetFrame(doc->GetFps());
var minloop = mintime + start;
var maxloop = maxtime - 1 + start;
06 June 2006, 08:18 PM
I am running about with my laptop right now. But, I will take a look at it later and see if something jumps out at me. I know how confusing COFFEE can be and how there are so few resources to get help...so, I will do my best!
06 June 2006, 08:41 PM
thanks ed. I -think- I'm one step closer.. I'll get the Container of doc and then I should SetData(??PREVIEW??, value) to the Container and then set the Container back to doc.
However, unlike other ID's that can be cought by dragging them into the EditorCommandLine,
I haven't managed to find/guess the ID of PreViewLoopminTime and Max.
I even searched the new 9.6 SDK (C++) to get any hints, but it also only sais SetMinLoopTime() and no ID info.
PS I'd recommend putting the Plugin link back to your first post, or it will "dissapear" because of junk posts like this one:) DS
06 June 2006, 07:51 PM
I had this same issue with my little plug-in - the problem is that SetLoopMinTime is part of the BaseTime class. So, you can't set it directly with doc-> you have to update the class and then send that to the doc.
Hope that helps!
06 June 2006, 09:56 PM
Thanks ed. I'll check out what that means.
06 June 2006, 05:58 PM
Hey Lennart - did you get that figured out?
I see a lot of posts from you... must be working on something big and cool!!
06 June 2006, 04:30 PM
No I haven't solved it just yet, just not enough time atm. Will get at it thou later:)
It is just meant for a simple "set preview" option. Clicking it and preview is set to the scene duration minus one frame (either without the last or twithout he first).
90% of what I do are loops, so that's why it would help/speed up things.
06 June 2006, 10:59 PM
very handy, thanks!!
06 June 2006, 09:02 PM
@ Rizon - you bet, glad you found it useful. I have a couple of other little guys like this that will probably get posted soon.
06 June 2006, 10:42 PM
Love to see what's cooking:)
07 July 2006, 04:01 AM
Thanks for this. Could be useful for character animation. Jump 4 frames, set keyframe, jump 4 frames set keyframe, very useful.
07 July 2006, 02:03 PM
here it does jump 1/2 secs or whatever time i need, but it doesn't redraw the viewport automatically, so i have to do this by hand... what am i missing? can you make it automatically redraw the viewport?
07 July 2006, 02:03 PM
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.