Sin descripción
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.

ourInterlacedStereo.gizmo 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
  2. version 6.1 v1
  3. Gizmo {
  4. help "ourInterlacedStereo 0.3\n\ndocumentation\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\nswap scanlines\nself explanatory\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 ourInterlacedStereo}
  6. addUserKnob {7 h_off l "horizontal offset" R -100 100}
  7. addUserKnob {6 blackOutside l "black outside" +STARTLINE}
  8. addUserKnob {6 swap_scanlines l "swap scanlines" +STARTLINE}
  9. addUserKnob {6 sRGB +STARTLINE}
  10. sRGB true
  11. addUserKnob {7 alpha l "alpha (mix-max)"}
  12. addUserKnob {20 info}
  13. addUserKnob {26 history T "0.3 added 'alpha (mix-max)'\n0.2 initial release"}
  14. }
  15. Input {
  16. inputs 0
  17. name Input1
  18. xpos -247
  19. ypos -192
  20. }
  21. set N937f980 [stack 0]
  22. OneView {
  23. name OneView1
  24. label left
  25. xpos -288
  26. ypos -141
  27. }
  28. Transform {
  29. translate {{-parent.h_off.left*0.5} 0}
  30. center {1024 778}
  31. black_outside {{parent.blackOutside}}
  32. name Transform1
  33. xpos -288
  34. ypos -102
  35. }
  36. push $N937f980
  37. OneView {
  38. view right
  39. name OneView2
  40. label right
  41. xpos -197
  42. ypos -140
  43. }
  44. Transform {
  45. translate {{parent.h_off.left*0.5 i} 0}
  46. center {1024 778}
  47. black_outside {{parent.blackOutside i}}
  48. name Transform2
  49. xpos -197
  50. ypos -102
  51. }
  52. MergeExpression {
  53. inputs 2
  54. expr0 parent.swap_scanlines>0?(fmod(y,2)?Ar:Br):(fmod(y,2)?Br:Ar)
  55. expr1 parent.swap_scanlines>0?(fmod(y,2)?Ag:Bg):(fmod(y,2)?Bg:Ag)
  56. expr2 parent.swap_scanlines>0?(fmod(y,2)?Ab:Bb):(fmod(y,2)?Bb:Ab)
  57. channel3 rgba
  58. expr3 "(max(Aa,Ba)*parent.alpha) + (((Aa+Ba)/2)*(1-parent.alpha))"
  59. name MergeExpression1
  60. xpos -243
  61. ypos -58
  62. }
  63. Expression {
  64. expr0 parent.sRGB>0?toSRGB(r):r
  65. expr1 parent.sRGB>0?toSRGB(g):g
  66. expr2 parent.sRGB>0?toSRGB(b):b
  67. name Expression1
  68. xpos -243
  69. ypos -32
  70. }
  71. Output {
  72. name Output1
  73. xpos -243
  74. ypos 4
  75. }
  76. end_group