set cut_paste_input [stack 0]
version 7.0 v10
push $cut_paste_input
Group {
 name DayForNight
 selected true
 xpos 162
 ypos -210
 addUserKnob {20 User}
 addUserKnob {7 stops l daylight}
 stops 1
 addUserKnob {7 red l "red exponent"}
 red 3
 addUserKnob {7 green l "green exponent"}
 green 2
 addUserKnob {7 blue l "blue exponent"}
 blue 1
 addUserKnob {7 desaturate}
 desaturate 0.25
 addUserKnob {6 preserveHighlights l "preserve highlights" +STARTLINE}
 preserveHighlights true
 addUserKnob {7 lights l highlights R 1 32}
 lights 1
 addUserKnob {7 exposure R -16 16}
}
 Input {
  inputs 0
  name Input1
  xpos 290
  ypos -464
 }
set N192a4530 [stack 0]
 Multiply {
  value {{"1/(pow(lights, 2))" i}}
  name Multiply5
  xpos 61
  ypos -357
 }
push $N192a4530
 Multiply {
  value {{1/lights i}}
  name Multiply4
  xpos 186
  ypos -358
 }
set N192a4c10 [stack 0]
 Keyer {
  operation "luminance key"
  name Keyer1
  xpos 108
  ypos -275
 }
push 0
 Switch {
  inputs 2
  which {{parent.preserveHighlights i}}
  name Switch1
  xpos 108
  ypos -187
 }
push $N192a4530
 Multiply {
  value {{stops i}}
  name Multiply1
  xpos 290
  ypos -360
 }
set N192a52f0 [stack 0]
 Expression {
  temp_name0 value
  temp_expr0 stops
  expr0 r*pow(value,(parent.red+parent.green+parent.blue)/3)
  expr1 g*pow(value,(parent.red+parent.green+parent.blue)/3)
  expr2 b*pow(value,(parent.red+parent.green+parent.blue)/3)
  name Expression1
  xpos 277
  ypos -268
 }
push $N192a52f0
 Multiply {
  value {{(1/stops)/(1/desaturate) i}}
  name Multiply3
  xpos 487
  ypos -156
  disable true
 }
 Expression {
  expr3 (g+b)/2
  name Expression3
  xpos 487
  ypos -120
 }
 Invert {
  name Invert1
  xpos 487
  ypos -96
 }
 Multiply {
  value {{desaturate i}}
  name Multiply2
  xpos 487
  ypos -60
 }
push $N192a52f0
 Expression {
  temp_name0 value
  temp_expr0 stops
  expr0 r*pow(value,parent.red)
  expr1 g*pow(value,parent.green)
  expr2 b*pow(value,parent.blue)
  name Expression2
  xpos 362
  ypos -266
 }
set N1d48c530 [stack 0]
 Expression {
  expr0 (r*stops+g+b)/3
  expr1 (r*stops+g+b)/3
  expr2 (r*stops+g+b)/3
  expr3 (r*stops+g+b)/3
  name Expression4
  xpos 372
  ypos -84
 }
push $N1d48c530
 Keymix {
  inputs 3
  name Keymix1
  xpos 293
  ypos 22
 }
 Keymix {
  inputs 3
  name Keymix2
  xpos 207
  ypos 86
 }
 Multiply {
  value {{pow(2,parent.exposure)}}
  name Multiply6
  xpos 207
  ypos 137
 }
set N1d48d2f0 [stack 0]
 Output {
  name Output1
  xpos 207
  ypos 210
 }
push $N192a4c10
push $N1d48d2f0
 Viewer {
  inputs 2
  input_process false
  name Viewer1
  xpos 487
  ypos 170
 }
end_group
# Creation Time=Fri Mar 07 12:42:52 2014
# Creator=nils
