#! C:/Program Files/Nuke6.1v1/Nuke6.1.exe -nx
version 6.1 v1
Gizmo {
 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"
 addUserKnob {20 ourAnaglyph}
 addUserKnob {7 gamma_r l "gamma r" R 0 5}
 gamma_r 1
 addUserKnob {7 fstops_r l "f stops r" R -3 3}
 addUserKnob {7 multiplier l "f stops all" R -3 3}
 addUserKnob {7 saturation}
 saturation 1
 addUserKnob {7 h_off l "horizontal offset" R -100 100}
 addUserKnob {6 blackOutside l "black outside" +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\n"}
}
 Input {
  inputs 0
  name Input1
  xpos -243
  ypos -145
 }
 Saturation {
  saturation {{parent.saturation}}
  mode Average
  name Saturation2
  xpos -243
  ypos -119
 }
set N9381930 [stack 0]
 OneView {
  name OneView1
  label left
  xpos -288
  ypos -76
 }
 Transform {
  translate {{-parent.h_off.left*0.5} 0}
  center {1024 778}
  black_outside {{parent.blackOutside}}
  name Transform1
  xpos -288
  ypos -18
 }
push $N9381930
 OneView {
  view right
  name OneView2
  label right
  xpos -197
  ypos -75
 }
 Transform {
  translate {{parent.h_off.left*0.5} 0}
  center {1024 778}
  black_outside {{parent.blackOutside}}
  name Transform2
  xpos -197
  ypos -18
 }
 MergeExpression {
  inputs 2
  expr0 "pow (Ar, 1/parent.gamma_r)*pow(2, parent.fstops_r)*pow(2, parent.multiplier)"
  expr1 "Bg*pow(2, parent.multiplier)"
  expr2 "Bb*pow(2, parent.multiplier)"
  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 84
 }
 Output {
  name Output1
  xpos -243
  ypos 113
 }
push 0
 Viewer {
  inputs 2
  input_process false
  name Viewer1
  xpos -243
  ypos 154
 }
end_group
