Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

ourAnaglyph.gizmo 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
  2. version 6.1 v1
  3. Gizmo {
  4. help "ourAnaglyph 0.3\n\ndocumentation\n\ngamma r\ngamma control for red channel\n\nf stops r\nexposure control for red channel\n\nf stops all\nglobal exposure control for all channels\n\nsaturation\nadjusts saturation\n\nhorizontal offset\ncontrols the screen plane according to the horizontal image offset\n\nblack outside\nsets the undefined pixels on left/right side to black\n\nsRGB\napplies a lin to sRGB curve to the rendered output\n\nalpha (mix-max)\nblends between a 50 percent mix or a max of inputs' left/right alphas"
  5. addUserKnob {20 ourAnaglyph}
  6. addUserKnob {7 gamma_r l "gamma r" R 0 5}
  7. gamma_r 1
  8. addUserKnob {7 fstops_r l "f stops r" R -3 3}
  9. addUserKnob {7 multiplier l "f stops all" R -3 3}
  10. addUserKnob {7 saturation}
  11. saturation 1
  12. addUserKnob {7 h_off l "horizontal offset" R -100 100}
  13. addUserKnob {6 blackOutside l "black outside" +STARTLINE}
  14. addUserKnob {6 sRGB +STARTLINE}
  15. sRGB true
  16. addUserKnob {7 alpha l "alpha (mix-max)"}
  17. addUserKnob {20 info}
  18. addUserKnob {26 history T "0.3 added 'alpha (mix-max)'\n0.2 initial release\n"}
  19. }
  20. Input {
  21. inputs 0
  22. name Input1
  23. xpos -243
  24. ypos -145
  25. }
  26. Saturation {
  27. saturation {{parent.saturation}}
  28. mode Average
  29. name Saturation2
  30. xpos -243
  31. ypos -119
  32. }
  33. set N9381930 [stack 0]
  34. OneView {
  35. name OneView1
  36. label left
  37. xpos -288
  38. ypos -76
  39. }
  40. Transform {
  41. translate {{-parent.h_off.left*0.5} 0}
  42. center {1024 778}
  43. black_outside {{parent.blackOutside}}
  44. name Transform1
  45. xpos -288
  46. ypos -18
  47. }
  48. push $N9381930
  49. OneView {
  50. view right
  51. name OneView2
  52. label right
  53. xpos -197
  54. ypos -75
  55. }
  56. Transform {
  57. translate {{parent.h_off.left*0.5} 0}
  58. center {1024 778}
  59. black_outside {{parent.blackOutside}}
  60. name Transform2
  61. xpos -197
  62. ypos -18
  63. }
  64. MergeExpression {
  65. inputs 2
  66. expr0 "pow (Ar, 1/parent.gamma_r)*pow(2, parent.fstops_r)*pow(2, parent.multiplier)"
  67. expr1 "Bg*pow(2, parent.multiplier)"
  68. expr2 "Bb*pow(2, parent.multiplier)"
  69. channel3 rgba
  70. expr3 "(max(Aa,Ba)*parent.alpha) + (((Aa+Ba)/2)*(1-parent.alpha))"
  71. name MergeExpression1
  72. xpos -243
  73. ypos 58
  74. }
  75. Expression {
  76. expr0 parent.sRGB>0?toSRGB(r):r
  77. expr1 parent.sRGB>0?toSRGB(g):g
  78. expr2 parent.sRGB>0?toSRGB(b):b
  79. name Expression1
  80. xpos -243
  81. ypos 84
  82. }
  83. Output {
  84. name Output1
  85. xpos -243
  86. ypos 113
  87. }
  88. push 0
  89. Viewer {
  90. inputs 2
  91. input_process false
  92. name Viewer1
  93. xpos -243
  94. ypos 154
  95. }
  96. end_group