This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 9.0 v5 | |
push $cut_paste_input | |
Axis2 { | |
translate {{"noise(frame * frequency, seeds.x) * noise(frame * frequency * 0.666, seeds.y) * noise(frame * frequency * 0.333, seeds.z) * amplitude * 8"} {"noise(frame * frequency, seeds.z) * noise(frame * frequency * 0.666, seeds.x) * noise(frame * frequency * 0.333, seeds.y) * amplitude * 8"} {"noise(frame * frequency, seeds.y) * noise(frame * frequency * 0.666, seeds.z) * noise(frame * frequency * 0.333, seeds.x) * amplitude * 8"}} | |
name CS_WiggleAxis1 | |
selected true | |
xpos 0 | |
ypos 0 | |
addUserKnob {20 Wiggle} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_Looper1 | |
tile_color 0xafa35dff | |
selected true | |
xpos 7880 | |
ypos 5798 | |
addUserKnob {20 Looper} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 9.0 v5 | |
push $cut_paste_input | |
Expression { | |
temp_name0 dx | |
temp_expr0 "(x - offset.x + width) % width" | |
temp_name1 dy | |
temp_expr1 "(y - offset.y + height) % height" | |
expr0 "r(dx, dy)" | |
expr1 "g(dx, dy)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 9.0 v5 | |
push $cut_paste_input | |
Group { | |
name CS_SoftTiler1 | |
selected true | |
xpos 0 | |
ypos 0 | |
addUserKnob {20 SoftTiler} | |
addUserKnob {12 offset} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nuke | |
prefs = nuke.toNode('preferences') | |
grid_width = prefs['GridWidth'].getValue() | |
grid_height = prefs['GridHeight'].getValue() | |
def resize_to_grid(): | |
n = nuke.thisNode(); | |
k = nuke.thisKnob(); | |
if knob_to_grid(k, 'bdwidth', grid_width) or knob_to_grid(k, 'bdheight', grid_height): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 9.0 v5 | |
push $cut_paste_input | |
Group { | |
name CS_JelloEffect1 | |
selected true | |
xpos -2900 | |
ypos 1166 | |
addUserKnob {20 CS_JelloEffect} | |
addUserKnob {7 effect R -1 1} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 9.0 v8 | |
push $cut_paste_input | |
Group { | |
name CS_FixFrames1 | |
addUserKnob {20 CS_FixFrames} | |
addUserKnob {3 first_frame_to_fix l range} | |
first_frame_to_fix 1 | |
addUserKnob {3 last_frame_to_fix l "" -STARTLINE R 0 100} | |
last_frame_to_fix 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_PositionToDepth | |
} | |
Input { | |
inputs 0 | |
name InputWPP | |
xpos -920 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cut_paste_input [stack 0] | |
version 10.5 v3 | |
push $cut_paste_input | |
Group { | |
name CS_AutoBBox1 | |
selected true | |
xpos -8180 | |
ypos -3184 | |
addUserKnob {20 CS_AutoBBox} | |
addUserKnob {41 color T CurveTool1.color} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import nuke | |
in_min = sys.maxint | |
out_max = -sys.maxint | |
for n in nuke.allNodes(): | |
if n.Class() == 'Write': | |
n_in = int(n.knob('first').getValue()) | |
n_out = int(n.knob('last').getValue()) | |
if(n_in < in_min): | |
in_min = n_in |
OlderNewer