Geen omschrijving
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NeutralGrade.gizmo 967B

12345678910111213141516171819202122232425262728293031323334
  1. #! C:/Program Files/Nuke6.3v6/Nuke6.3.exe -nx
  2. version 6.3 v4
  3. Gizmo {
  4. addUserKnob {20 User}
  5. addUserKnob {41 blackpoint l "Black Point" T neutralGrade.blackpoint}
  6. addUserKnob {41 whitepoint l "White Point" T neutralGrade.whitepoint}
  7. addUserKnob {19 midgray l "Mid Gray" t "This color is turned into 0.18 gray"}
  8. midgray 0.18
  9. addUserKnob {41 reverse T neutralGrade.reverse}
  10. addUserKnob {41 black_clamp l "black clamp" -STARTLINE T neutralGrade.black_clamp}
  11. addUserKnob {41 white_clamp l "white clamp" -STARTLINE T neutralGrade.white_clamp}
  12. }
  13. Input {
  14. inputs 0
  15. name Input1
  16. xpos 457
  17. ypos -180
  18. }
  19. Grade {
  20. black {{((blackpoint.r)+(blackpoint.g)+(blackpoint.b))/3}}
  21. white {{((whitepoint.r)+(whitepoint.g)+(whitepoint.b))/3}}
  22. multiply {{"((1/parent.midgray.r + 1/parent.midgray.g + 1/parent.midgray.b)/3) * 0.18"}}
  23. black_clamp false
  24. name neutralGrade
  25. selected true
  26. xpos 457
  27. ypos -96
  28. }
  29. Output {
  30. name Output1
  31. xpos 457
  32. ypos 3
  33. }
  34. end_group