Created
April 12, 2016 15:03
-
-
Save kpprt/675a693187d1d76a6837cdfb0123f3e4 to your computer and use it in GitHub Desktop.
Create color overlays at the corners of an image in Nuke. Might be helpful for matching colors of a corner pin.
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_ColorCorners1 | |
selected true | |
xpos 840 | |
ypos -130 | |
addUserKnob {20 CS_ColorCorners} | |
addUserKnob {20 corner1 l "Bottom Left Corner" n 1} | |
addUserKnob {14 size1 R 0 100} | |
size1 1 | |
addUserKnob {41 softness1 T Radial1.softness} | |
addUserKnob {41 color1 T Radial1.color} | |
addUserKnob {41 disable1 l disable T Radial1.disable} | |
addUserKnob {20 endGroup1 n -1} | |
addUserKnob {20 corner2 l "Bottom Right Corner" n 1} | |
addUserKnob {14 size2 R 0 100} | |
size2 1 | |
addUserKnob {41 softness2 T Radial2.softness} | |
addUserKnob {41 color2 T Radial2.color} | |
addUserKnob {41 disable2 l disable T Radial2.disable} | |
addUserKnob {20 endGroup2 n -1} | |
addUserKnob {20 corner3 l "Top Right Corner" n 1} | |
addUserKnob {14 size3 R 0 100} | |
size3 1 | |
addUserKnob {41 softness3 T Radial3.softness} | |
addUserKnob {41 color3 T Radial3.color} | |
addUserKnob {41 disable3 l disable T Radial3.disable} | |
addUserKnob {20 endGroup3 n -1} | |
addUserKnob {20 corner4 l "Top Left Corner" n 1} | |
addUserKnob {14 size4 R 0 100} | |
size4 1 | |
addUserKnob {41 softness4 T Radial4.softness} | |
addUserKnob {41 color4 T Radial4.color} | |
addUserKnob {41 disable4 l disable T Radial4.disable} | |
addUserKnob {20 endGroup4 n -1} | |
} | |
Input { | |
inputs 0 | |
name Input | |
xpos 840 | |
ypos -250 | |
} | |
Radial { | |
area {{-width*size1.w} {-height*size1.h} {width*size1.w} {height*size1.h}} | |
color {1 0 0 1} | |
name Radial1 | |
xpos 840 | |
ypos -178 | |
} | |
Radial { | |
area {{width-width*size2.w} {-height*size2.h} {width+width*size2.w} {height*size2.h}} | |
color {0 1 0 1} | |
name Radial2 | |
xpos 840 | |
ypos -130 | |
} | |
Radial { | |
area {{width-width*size3.w} {height-height*size3.h} {width+width*size3.w} {height+height*size3.h}} | |
color {0 0 1 1} | |
name Radial3 | |
xpos 840 | |
ypos -82 | |
} | |
Radial { | |
area {{-width*size4.w} {height-height*size4.h} {width*size4.w} {height+height*size4.h}} | |
color {1 1 0 1} | |
name Radial4 | |
xpos 840 | |
ypos -34 | |
} | |
Output { | |
name Output | |
xpos 840 | |
ypos 38 | |
} | |
end_group |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment