PDA

View Full Version : time variable and custom tool


m.d.
12-31-2004, 06:31 AM
can the time variable be used to access frames from a buffer...

example i want to get the red values from the previous frame and write them to the blue channel..

setup expression

s1
time -1

blue channel expression
r1(s1)

this probably isn't possible but i was just making sure it wasn't syntax or anything

Jayk2k
01-05-2005, 06:54 PM
As far as I know, this isn't possible. The next best thing would be to feed in a timespeed with a -1 delay into the 2nd or 3rd input and use it's red channel.

m.d.
01-07-2005, 12:12 AM
ok that makes sense...
thanks Jayk2k

so the only practical use of the time variable would be to trigger an event at time(x)?

thebrucep
01-07-2005, 02:00 AM
Found this thread looking for some additional stuff on using the DF custom tool.

I want to time warp a clip by using an alpha channel to determiine the frame from which to fetch the current pixel.

Example:

We wish to use pixels that are up to 30 frames previous to the current frame. Find the frame by ((Alpha/255) * -30) + CurrentFrame = the frame from which to fetch the pixel.

Possible?

Bruce Pearson

m.d.
01-07-2005, 10:27 PM
i don't think that's possible with just the custom tool..those frames would have to be stored in a buffer of some sort,and the time variable on the custom tool is just an input and would have no actual control over time(i think)

you may be able to script this...
i'm definately not the expert though..

CGTalk Moderation
01-20-2006, 08: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.