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.
6.1, 6.2, 6.3 or later
08 Oct 2011

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.





Please login in order to download these files.


-8 # Frank Rueter 2010-06-09 02:44
kewl. any fun screen shots you could upload?
0 # frank rueter 2010-06-09 16:44
sweet! thanks
0 # djati waskito 2010-08-20 09:47
cooolll like the old times music video
0 # 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.
0 # 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.

0 # martin constable 2016-04-26 07:44
Wow! Lovely work.
0 # 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'.
+2 # 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:)
0 # fuzz bucketz 2021-05-28 16:08
Hi! does this work for anyone in Nuke Indie? Trying to get it to work for the first time here...and thinking maybe its Nuke Indie that stops it from working for me?

You have no rights to post comments

We have 4700 guests and 140 members online