Created
March 24, 2012 13:04
-
-
Save dbr/2182554 to your computer and use it in GitHub Desktop.
OCIOLookTransform UI prototype
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 6.3 v5 | |
push $cut_paste_input | |
Group { | |
name Group1 | |
knobChanged "\nn = nuke.thisNode()\nas_str = n\['look_as_str'].value()\nn\['look'].setEnabled(not as_str)\nn\['look_str'].setVisible(as_str)\n\nif as_str and n\['look_str'].value() == \"\":\n n\['look_str'].setValue(n\['look'].value())\n" | |
selected true | |
xpos 140 | |
ypos -56 | |
addUserKnob {20 User l OCIOLookTransformTest} | |
addUserKnob {41 channels T Grade1.channels} | |
addUserKnob {26 space l " " T " "} | |
addUserKnob {4 direction M {forward inverse}} | |
addUserKnob {26 space2 l " " T " "} | |
addUserKnob {4 in M {lnf}} | |
addUserKnob {4 look M {neutral beauty}} | |
addUserKnob {6 look_as_str l "specify as string" -STARTLINE} | |
addUserKnob {1 look_str l "look str" +HIDDEN} | |
addUserKnob {4 out M {lnf}} | |
addUserKnob {26 space3 l " " T " "} | |
addUserKnob {22 reload +STARTLINE} | |
addUserKnob {6 ignoreerror l "ignore errors" +STARTLINE} | |
} | |
Input { | |
inputs 0 | |
name Input1 | |
xpos 0 | |
} | |
Grade { | |
name Grade1 | |
selected true | |
xpos 0 | |
ypos 24 | |
} | |
Output { | |
name Output1 | |
xpos 0 | |
ypos 300 | |
} | |
end_group |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment