12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
- version 6.1 v1
- Gizmo {
- 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"
- addUserKnob {20 ourInterlacedStereo}
- addUserKnob {7 h_off l "horizontal offset" R -100 100}
- addUserKnob {6 blackOutside l "black outside" +STARTLINE}
- addUserKnob {6 swap_scanlines l "swap scanlines" +STARTLINE}
- addUserKnob {6 sRGB +STARTLINE}
- sRGB true
- addUserKnob {7 alpha l "alpha (mix-max)"}
- addUserKnob {20 info}
- addUserKnob {26 history T "0.3 added 'alpha (mix-max)'\n0.2 initial release"}
- }
- Input {
- inputs 0
- name Input1
- xpos -247
- ypos -192
- }
- set N937f980 [stack 0]
- OneView {
- name OneView1
- label left
- xpos -288
- ypos -141
- }
- Transform {
- translate {{-parent.h_off.left*0.5} 0}
- center {1024 778}
- black_outside {{parent.blackOutside}}
- name Transform1
- xpos -288
- ypos -102
- }
- push $N937f980
- OneView {
- view right
- name OneView2
- label right
- xpos -197
- ypos -140
- }
- Transform {
- translate {{parent.h_off.left*0.5 i} 0}
- center {1024 778}
- black_outside {{parent.blackOutside i}}
- name Transform2
- xpos -197
- ypos -102
- }
- MergeExpression {
- inputs 2
- expr0 parent.swap_scanlines>0?(fmod(y,2)?Ar:Br):(fmod(y,2)?Br:Ar)
- expr1 parent.swap_scanlines>0?(fmod(y,2)?Ag:Bg):(fmod(y,2)?Bg:Ag)
- expr2 parent.swap_scanlines>0?(fmod(y,2)?Ab:Bb):(fmod(y,2)?Bb:Ab)
- channel3 rgba
- expr3 "(max(Aa,Ba)*parent.alpha) + (((Aa+Ba)/2)*(1-parent.alpha))"
- name MergeExpression1
- xpos -243
- ypos -58
- }
- Expression {
- expr0 parent.sRGB>0?toSRGB(r):r
- expr1 parent.sRGB>0?toSRGB(g):g
- expr2 parent.sRGB>0?toSRGB(b):b
- name Expression1
- xpos -243
- ypos -32
- }
- Output {
- name Output1
- xpos -243
- ypos 4
- }
- end_group
|