#! /Applications/Nuke5.0v1/Nuke5.0v1.app/Contents/MacOS/Nuke5.0 -nx version 5.0100 Gizmo { addUserKnob {20 Background} addUserKnob {4 sliderswitch l "BG Style" t "Choose the style of background to pass through this node." M {"Colorbars (Full Sat)" "Colorbars (Desat)" Checkerboard "Constant Color" Passthrough "" ""}} addUserKnob {41 PAL t "Check this box for PAL style color bars (with no pluge line)." T BGColorbars.PAL} addUserKnob {26 "" l ""} addUserKnob {41 saturation l "Colorbar Saturation" t "Set the desaturation level for the Colorbars (Desat) output." T ColorbarSat.saturation} addUserKnob {41 boxsize l "Checkerboard Size" t "Set the box size of the Checkerboard output." T BGCheckerboard.boxsize} addUserKnob {41 color0 l "Checkerboard Color 0" T BGCheckerboard.color0} addUserKnob {41 color1 l "Checkerboard Color 1" T BGCheckerboard.color1} addUserKnob {41 color l "Constant Color" t "Set the desired color for the Checkerboard / Constant outputs." T BGConstant.color} } Input { inputs 0 name BGPlate label "Background Plate Here" selected true xpos 360 ypos 119 } Dot { name Dot12 xpos 315 ypos 127 } Dot { name Dot1 xpos 315 ypos 167 } Constant { inputs 0 channels rgb color 0.5 name BGConstant xpos 280 ypos -22 } Reformat { type "to box" box_width {{BGPlate.format.width}} box_height {{BGPlate.format.height}} box_fixed true box_pixel_aspect {{BGPlate.format.pixel_aspect}} name Reformat3 xpos 280 ypos 71 } Dot { name Dot7 xpos 275 ypos 127 } Dot { name Dot2 xpos 275 ypos 167 } CheckerBoard2 { inputs 0 color0 0.5 color1 0.1 color2 {{color0.r i} {color0.g i} {color0.b i} {color0.a i}} color3 {{color1.r i} {color1.g i} {color1.b i} {color1.a i}} centerlinewidth 0 name BGCheckerboard xpos 201 ypos -21 } Reformat { type "to box" box_width {{BGPlate.format.width}} box_height {{BGPlate.format.height}} box_fixed true box_pixel_aspect {{BGPlate.format.pixel_aspect}} name Reformat2 xpos 201 ypos 71 } Dot { name Dot10 xpos 235 ypos 167 } ColorBars { inputs 0 name BGColorbars xpos 121 ypos -20 } Reformat { type "to box" box_width {{BGPlate.format.width}} box_height {{BGPlate.format.height}} box_fixed true box_pixel_aspect {{BGPlate.format.pixel_aspect}} name Reformat1 xpos 120 ypos 71 } set N4a613370 [stack 0] Saturation { saturation 0.5 name ColorbarSat xpos 161 ypos 111 } Dot { name Dot3 xpos 195 ypos 167 } push $N4a613370 Dot { name Dot4 xpos 155 ypos 167 } Switch { inputs 5 which {{sliderswitch i x106 0}} name BGSelect xpos 201 ypos 212 addUserKnob {20 User} addUserKnob {41 condition_1 l "knob which \$value" T Switch3.condition} } Output { name Output1 xpos 198 ypos 244 } end_group