Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. set cut_paste_input [stack 0]
  2. version 6.0 v6
  3. push $cut_paste_input
  4. ColorLookup {
  5. channels rgb
  6. name ColorLookup3
  7. label PS
  8. selected true
  9. xpos 1619
  10. ypos 331
  11. addUserKnob {20 PS_Curves}
  12. addUserKnob {7 psout l "PS Output" R 0 255}
  13. psout 50
  14. addUserKnob {7 psin l "PS input" R 0 255}
  15. psin 180
  16. addUserKnob {26 ""}
  17. addUserKnob {7 linoutx l "lin X"}
  18. linoutx {{psin/255}}
  19. addUserKnob {7 linouty l "lin Y"}
  20. linouty {{psout/255}}
  21. addUserKnob {26 addpointtoo l "Add Point To"}
  22. addUserKnob {22 RGB T "n = nuke.thisNode()\nk = n\['lut']\no = n\['linoutx']\nd = n\['linouty']\nk.setValueAt(d.getValue(0), o.getValue(0), 1)\nk.setValueAt(d.getValue(1), o.getValue(1), 2)\nk.setValueAt(d.getValue(2), o.getValue(2), 3)" +STARTLINE}
  23. addUserKnob {22 R -STARTLINE T "n = nuke.thisNode()\nk = n\['lut']\no = n\['linoutx']\nd = n\['linouty']\nk.setValueAt(d.getValue(0), o.getValue(0), 1)\n"}
  24. addUserKnob {22 G -STARTLINE T "n = nuke.thisNode()\nk = n\['lut']\no = n\['linoutx']\nd = n\['linouty']\nk.setValueAt(d.getValue(1), o.getValue(1), 2)\n"}
  25. addUserKnob {22 B -STARTLINE T "n = nuke.thisNode()\nk = n\['lut']\no = n\['linoutx']\nd = n\['linouty']\nk.setValueAt(d.getValue(2), o.getValue(2), 3)"}
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement