TimeMachine v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Ivan Busquets
Does a per-pixel time offset on the image, based on a secondary mask input.
Requirements:
6.1, 6.2, 6.3 or later
08 Oct 2011
1207

Changes in v1.1 - Re-uploaded as a "Group" instead of a Gizmo, to avoid some of the problems incurred during the onCreate callback since Nuke 6.1. Mainly, the node was losing connection of its inputs when reopening the script. Also fixes a couple of deprecation warnings.

 


This is sort of a copy of Houdini's Time Machine. Takes an image sequence plus a mask, then offsets the image in time based on the input mask as follows:

- Pixels with a mask value of 1 will be offset by the number of frames set in the "frames" knob. - Mask values of 0 return the image at the current frame.
- Values between 0-1 will return an interpolated offset.
- Mask gets clamped to 0-1, so values <0 and >1 are not accounted for.

Very simple as it stands, but could be a good example of rebuilding a gizmo's internals using callbacks.

Examples:

 

TimeMachine

TimeMachine2

Please login in order to download these files.

Comments   

 
# Frank Rueter 2010-06-09 02:44
kewl. any fun screen shots you could upload?
 
 
# frank rueter 2010-06-09 16:44
sweet! thanks
 
 
# djati waskito 2010-08-20 09:47
cooolll like the old times music video
 
 
# Martin Malmqvist 2011-08-29 08:05
Very cool and useful in certain shots! The inner workings is interesting.

Would be cool if it worked in reverse time too.
 
 
# Nicolas Noel Jodoin 2012-12-17 19:15
You Rock!!!
TimeMachine totally save my live !
Thanks :-)
 
 
+1 # Zee S 2014-11-10 11:25
Greetings. I've been dreaming of something to do time displacement with through a matte and I was so happy when I found this, thank for for which but I can't seem to get it to work. I'm using it in nuke8 and it doesn't seem to have any effect, whatever I set the frame offset to and whatever alpha, or mask or channel I pump into the mask input. I was wondering if you could help with that.

Thanks
 
 
# martin constable 2016-04-26 07:44
Wow! Lovely work.
 
 
# Steve Drew 2017-01-18 17:01
This is great for offsetting frames. Is there anything similar that can be done with time remapping? i.e. I want to apply a Kronos retime through a mask where alpha1= 'kronos retime' and alpha0= 'no effect'.
 
 
+1 # Peter Timberlake 2017-01-24 21:45
hey! this is awesome, thank you. I'm curious how you added the python script into this gizmo. I can see it in the .gizmo file, as well as echoed in the script editor, but I'm entirely unclear from where the callback is coming from, and how its accessing knobs, and how you worked with the script while developing the script. Could you shed some light on this? thanks:)
 

You have no rights to post comments

We have 2854 guests and 34 members online