Skip to content

Instantly share code, notes, and snippets.

@draconiansolo
Created February 26, 2014 10:53
Show Gist options
  • Save draconiansolo/9227491 to your computer and use it in GitHub Desktop.
Save draconiansolo/9227491 to your computer and use it in GitHub Desktop.
Nuke timewarp node with speed diagnostic based on input frame
set cut_paste_input [stack 0]
version 7.0 v9
push $cut_paste_input
TimeWarp {
lookup 1
filter none
name TimeWarp
tile_color 0xffdd00ff
label "\[value prevSpeed], \[value nextSpeed]"
selected true
xpos 3728
ypos 680
addUserKnob {20 User l INVISIBLE +INVISIBLE}
addUserKnob {7 prevSpeed l INVISIBLE +INVISIBLE}
prevSpeed {{lookup-lookup(frame-1)}}
addUserKnob {7 nextSpeed l INVISIBLE +INVISIBLE}
nextSpeed {{lookup(frame+1)-lookup}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment