SmoothScrub v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Max van Leeuwen
Viewer scrubbing by clicking anywhere in the viewer instead of on the timeline. Also a performance hack: it plays at 0 fps while scrubbing, which can be a lot smoother.
Requirements:
12.0, 11.3, 11.2, 11.1, 11.0, 10.5, 10.0, 9.0 or later
26 Jul 2020
463

SmoothScrub

 

Viewer scrubbing by clicking anywhere in the viewer instead of on the timeline.

Also a performance hack: it plays at 0 fps while scrubbing, which can be a lot smoother than nomal viewer scrubbing.

 

Toggle: ctrl+space in viewer (can be changed in menu.py!)

 

 

 

 

Performance hack

In order for the 'performance hack' to work, the frames you're scrubbing through must be cached already.
Often, even cached frames are laggy in Nuke when scrubbing through them. But not when playing the shot - so this script plays the active viewer at 0 fps, which makes the scrubbing much smoother.

 

 

nuke smooth scrubbing viewer laggy

 

 

 

 

 

Scrubbing from anywhere in the viewer

 

When SmoothScrub is on, you can click+drag from anywhere in the viewer like in many image playback softwares (instead of only dragging in the timeline).

 

 

 

 

 

Both the smooth scrubbing and the clicking anywhere in the viewer are enabled by default, but can be disabled individually in the menu.py.

Works with Nuke 11 and 12, in 10 only the smooth scrubbing orks.

 

 

 

 

 

 

 

Installation:

 

1. Place the SmoothScrub folder in your .nuke folder (or somewhere else on your computer)

2. Go to your .nuke folder, and create a file called 'init.py'. If such a file already exists, open it.

3. In the init.py file, add this line of text to the end and save it:

nuke.pluginAddPath('./SmoothScrub')

 

If you want to place the folder somewhere else than in the .nuke folder, make sure to change the path in the init.py file so that it points to that other path instead!

 

 

Installation using NukeShared

 

1. Place the SmoothScrub folder in the '_AutoInstaller' repository.

 

NukeShared is a way of installing plugins by dragging/dropping them in folders, see my website (maxvanleeuwen.com/nukeshared) for more information.

Please login in order to download these files.

Comments   

 
+2 # Frank Rueter 2020-07-27 00:39
Love it! I remember asking for a feature like this years ago and the reply was "sounds interesting", but never ever came of it.
One request: could you make it so you have to hold the key while scrubbing, rather than popping in and out of the scrub mode (i.e. key press activates, key relase deactivates the mode)? PFTrack has this on the alt-key (In fact, doesn't Maya have the same?). Nice work!

Cheers,
frank
 
 
0 # Mohamed Abuzeid 2020-07-27 18:53
Like it too much , but it works with me on 11 , but not working on 10 , I don't know why actually !! :D
 
 
0 # Erwan Leroy 2020-07-28 00:10
I don't care too much about scrubbing from anywhere, but the performance gain from the 0 fps hack is genius! That's going to make life a lot easier.
 
 
0 # Lucas Pfaff 2020-07-28 10:21
This sounds so great but I have a strange issue, as soon as I hit the hotkey the viewer starts playing super fast, at around 60fps. I'm on OSX and changed it to alt+space, as ctrl+space didn't work
 
 
0 # Max van Leeuwen 2020-07-28 13:10
That's interesting, is this also the case when scrubbing from anywhere in the viewer is disabled in the menu.py?
 
 
0 # Lucas Pfaff 2020-07-28 13:59
Hm, then it doesn't seem to happen. But hard to tell if it's activated at all, at least there's no red "0 fps" or something :)
 
 
0 # fast abst 2020-07-31 16:55
Great tool Max, like always!
 
 
0 # Chris Staves 2021-01-05 17:18
Wow, really surprising how well this works. I definitely agree with Frank, though, that it would be nice to have it only active when a hotkey is pressed. If you have it enabled, then the play button doesn’t work, so if you go to another clip and you want to cache it so you can scrub, you need to disable smooth scrub, hit play, and then re-enable smooth scrub.
 

You have no rights to post comments

We have 3318 guests and 76 members online