heya

you've got the inputs from the Minus-merge node swapped...
it's A - B:
A = b/w + colour
B = b/w
( A - B is not the same as B - A )

So in your example the A input of Merge on the righthand side
comes from the Dot and the B input from the ColorCorrect.

Still, it's not the same as using the PSD node...



here's what I was thinking of:


set cut_paste_input [stack 0]
version 7.0 v1b38
ColorWheel {
 inputs 0
 gamma 0.45
 name ColorWheel1
 selected true
 xpos -358
 ypos -63
}
set N19886c00 [stack 0]
push $N19886c00
clone node11c82a7e0|Saturation|10960 Saturation {
 saturation 0
 name Saturation1
 selected true
 xpos -441
 ypos 23
}
set C1c82a7e0 [stack 0]
Merge2 {
 inputs 2
 operation minus
 name Merge1
 selected true
 xpos -358
 ypos 56
}
ColorBars {
 inputs 0
 name ColorBars1
 selected true
 xpos -128
 ypos -77
}
set N1c87ecc0 [stack 0]
clone $C1c82a7e0 {
 xpos -211
 ypos 23
 selected true
}
Merge2 {
 inputs 2
 operation plus
 name Plus
 selected true
 xpos -211
 ypos 106
}
push 0
push $N1c87ecc0
RotoPaint {
 inputs 2+1
 curves {{{v x3f99999a}
  {f 0}
  {n
   {layer Root
    {f 512}
    {t x44700000 x44070000}
    {a}
    {cubiccurve Reveal1 576 catmullrom
     {cc
      {f 2080}
      {px 1
       {x44370000 x43e10000 1}
       {x44370000 x43e60000 1}
       {x44378000 x43e70000 1}
       {x44390000 x43ec0000 1}
       {x443d8000 x43f90000 1}
       {x44408000 x43ff0000 1}
       {x44438000 x44010000 1}
       {x44438000 x43ff0000 1}
       {x44328000 x43c50000 1}
       {x441e0000 x438a0000 1}
       {x44178000 x43700000 1}
       {x44150000 x43680000 1}
       {x44250000 x43a50000 1}
       {x442f8000 x43c90000 1}
       {x44300000 x43cc0000 1}
       {x44310000 x43c80000 1}
       {x44318000 x43c80000 1}
       {x44388000 x43c90000 1}
       {x443c0000 x43cb0000 1}
       {x44400000 x43cc0000 1}
       {x44408000 x43ce0000 1}
       {x44418000 x43cc0000 1}
       {x44418000 x43cb0000 1}
       {x44418000 x43c90000 1}
       {x44420000 x43c90000 1}
       {x44450000 x43ce0000 1}
       {x44468000 x43cf0000 1}
       {x44480000 x43cf0000 1}
       {x44480000 x43ce0000 1}
       {x44480000 x43cc0000 1}
       {x44480000 x43ce0000 1}
       {x44480000 x43cf0000 1}
       {x44478000 x43cf0000 1}
       {x44460000 x43ce0000 1}
       {x44438000 x43c80000 1}
       {x443d0000 x43b70000 1}
       {x44390000 x43ae0000 1}
       {x44328000 x439c0000 1}
       {x44318000 x43990000 1}
       {x44300000 x43940000 1}
       {x44300000 x43920000 1}
       {x44310000 x43920000 1}
       {x44318000 x43930000 1}
       {x44330000 x43930000 1}
       {x44340000 x43960000 1}
       {x44358000 x43990000 1}
       {x44358000 x439a0000 1}
       {x44358000 x439c0000 1}
       {x44358000 x43a20000 1}
       {x44310000 x43ab0000 1}
       {x442b8000 x43b40000 1}
       {x441c8000 x43c80000 1}
       {x44178000 x43ce0000 1}
       {x440d8000 x43db0000 1}
       {x44070000 x43e40000 1}
       {x44040000 x43e80000 1}
       {x44040000 x43e70000 1}
       {x44040000 x43e40000 1}
       {x44058000 x43de0000 1}
       {x44070000 x43d70000 1}
       {x44090000 x43d20000 1}
       {x44088000 x43cf0000 1}
       {x44040000 x43d20000 1}
       {x43fd0000 x43d80000 1}
       {x43ee0000 x43e00000 1}
       {x43eb0000 x43e00000 1}
       {x43ea0000 x43e00000 1}
       {x43ed0000 x43e00000 1}
       {x44010000 x43cf0000 1}
       {x440f0000 x43bd0000 1}
       {x441a8000 x43b10000 1}
       {x441c0000 x43ac0000 1}
       {x441c0000 x43ab0000 1}
       {x441b0000 x43ab0000 1}
       {x44150000 x43a80000 1}
       {x44120000 x43a80000 1}
       {x440d8000 x43a50000 1}
       {x44088000 x43a00000 1}
       {x44060000 x439f0000 1}
       {x44058000 x439c0000 1}
       {x44048000 x43990000 1}
       {x44048000 x43980000 1}
       {x44048000 x43960000 1}
       {x44030000 x43960000 1}
       {x44010000 x43980000 1}
       {x43fc0000 x43990000 1}
       {x43f10000 x43990000 1}
       {x43ed0000 x439a0000 1}
       {x43ea0000 x439a0000 1}
       {x43ed0000 x439c0000 1}
       {x43fa0000 x439c0000 1}
       {x440b8000 x439f0000 1}
       {x440f0000 x43a00000 1}
       {x44120000 x43a50000 1}
       {x44118000 x43a50000 1}
       {x44108000 x43a60000 1}
       {x440f0000 x43a60000 1}
       {x440e8000 x43a60000 1}
       {x440e8000 x43a80000 1}
       {x440e8000 x43ab0000 1}
       {x440e8000 x43b00000 1}
       {x440d0000 x43be0000 1}
       {x44090000 x43ce0000 1}
       {x44070000 x43d20000 1}
       {x44060000 x43cf0000 1}
       {x44078000 x43c90000 1}
       {x44088000 x43c30000 1}
       {x44090000 x43c20000 1}
       {x440a0000 x43be0000 1}
       {x44070000 x43c20000 1}
       {x44028000 x43c80000 1}
       {x44010000 x43cb0000 1}
       {x44000000 x43cb0000 1}}}
     {t
   {{1 x441dbae7}}
   {{1 x43bba9e9}}
   {{1 0}}
   {{1 0}}
   {{1 0}}
   {{1 0}}
   {{1 0}}
   {{1 0}}
   {{1 0}}
   {{1 1}}
   {{1 1}}
   {{1 1}}
   {{1 0}}
   {{1 0}}
   {{1 0}}  0 0 0
   {{1 0}}}
     {a ro 0 go 0 bo 0 ao 0 bs x43070000 bu 1 src x40400000 str 1 spx x44700000 
spy x44070000 sb 1 ltt x40000000 tt x41980000}}}}}}
 toolbox {reveal {
  { selectAll str 1 ssx 1 ssy 1 sf 1 }
  { createBezier str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createBezierCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createBSpline str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { createRectangleCusped str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { brush str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { eraser src 2 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { clone src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { reveal bs 135 src 3 str 1 ssx 1 ssy 1 sf 1 sb 1 tt 19 }
  { dodge src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { burn src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { blur src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { sharpen src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
  { smear src 1 str 1 ssx 1 ssy 1 sf 1 sb 1 }
} }
 toolbar_brush_size 135
 toolbar_brush_hardness 0.200000003
 toolbar_lifetime_type single
 toolbar_paint_source "bg 1"
 toolbar_source_transform_scale {1 1}
 toolbar_source_transform_center {960 540}
 colorOverlay {0 0 0 0}
 paint_source "background 1"
 motionblur_on true
 brush_size 135
 brush_spacing 0.05000000075
 brush_hardness 0.200000003
 source_black_outside true
 createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
 name RotoPaint1
 selected true
 xpos -128
 ypos 148
}


greets
arno



On 1 nov 2012, at 19:18, Marten Blumen wrote:

> set cut_paste_input [stack 0]
> version 6.3 v8
> StickyNote {
>  inputs 0
>  name StickyNote1
>  label "PSD Color Merge"
>  note_font_size 26
>  selected true
>  xpos -238
>  ypos -464
> }
> StickyNote {
>  inputs 0
>  name StickyNote2
>  label "DeSaturate & Plus"
>  note_font_size 26
>  selected true
>  xpos 141
>  ypos -474
> }
> ColorBars {
>  inputs 0
>  name ColorBars2
>  selected true
>  xpos -278
>  ypos -389
> }
> Shuffle {
>  alpha white
>  name Shuffle1
>  label "\[value red]/\[value green]/\[value blue]/\[value alpha]"
>  selected true
>  xpos -278
>  ypos -310
> }
> CheckerBoard2 {
>  inputs 0
>  name CheckerBoard2
>  selected true
>  xpos -137
>  ypos -389
> }
> set N17563600 [stack 0]
> PSDMerge {
>  inputs 2
>  name PSDMerge2
>  note_font "Bitstream Vera Sans"
>  selected true
>  xpos -278
>  ypos -229
>  operation color
>  maskChannelInput none
> }
> push 0
> push $N17563600
> RotoPaint {
>  inputs 2+1
>  cliptype none
>  curves {AnimTree: "" {
>  Version: 1.2
>  Flag: 0
>  RootNode: 1
>  Node: {
>   NodeName: "Root" {
>    Flag: 512
>    NodeType: 1
>    Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 960 S 0 540 
>    NumOfAttributes: 11
>    "vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1 
> "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "pt" S 0 0 
>   }
>   NumOfChildren: 1
>   Node: {
>    NodeName: "Rectangle1" {
>     Flag: 576
>     NodeType: 3
>     CurveGroup: "" {
>      Transform: 0 0 S 1 1 0 S 1 1 0 S 1 1 0 S 1 1 1 S 1 1 1 S 1 1 0 S 1 1 
> 1003 S 1 1 486 
>      Flag: 0
>      NumOfCubicCurves: 2
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1 0 S 1 1 -480 0 1 S 1 1 -86 S 1 1 1206 0 1 S 1 1 726 S 1 1 0 0 1 
> S 1 1 -726 S 1 1 0 0 1 S 1 1 2092 S 1 1 1206 0 1 S 1 1 0 S 1 1 -480 0 1 S 1 1 
> 0 S 1 1 480 0 1 S 1 1 2092 S 1 1 -234 0 1 S 1 1 -726 S 1 1 0 0 1 S 1 1 726 S 
> 1 1 0 0 1 S 1 1 -86 S 1 1 -234 0 1 S 1 1 0 S 1 1 480 0 
>      }
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1 0 S 1 1 -480 0 1 S 1 1 0 S 1 1 0 0 1 S 1 1 726 S 1 1 0 0 1 S 1 
> 1 -726 S 1 1 0 0 1 S 1 1 0 S 1 1 0 0 1 S 1 1 0 S 1 1 -480 0 1 S 1 1 0 S 1 1 
> 480 0 1 S 1 1 0 S 1 1 0 0 1 S 1 1 -726 S 1 1 0 0 1 S 1 1 726 S 1 1 0 0 1 S 1 
> 1 0 S 1 1 0 0 1 S 1 1 0 S 1 1 480 0 
>      }
>      NumOfAttributes: 44
>      "vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 
> 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 0 "inv" S 0 0 "mbo" S 0 0 "mb" S 
> 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 
> "ff" S 0 1 "ft" S 0 0 "src" S 0 3 "stx" S 0 0 "sty" S 0 0 "str" S 0 1 "sr" S 
> 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 960 "spy" S 0 540 "stot" S 0 
> 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 1 "view1" S 0 1 "ltn" 
> S 0 1 "ltm" S 0 1 "ltt" S 0 0 "tt" S 0 7 "pt" S 0 0 
>     }
>    }
>    NumOfChildren: 0
>   }
>  }
> }
> }
>  toolbox {selectAll {
>   { selectAll str 1 ssx 1 ssy 1 sf 1 }
>   { createBezier ssx 1 ssy 1 sf 1 sb 1 }
>   { createBSpline ssx 1 ssy 1 sf 1 sb 1 }
>   { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 tt 6 }
>   { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 tt 7 }
>   { brush ssx 1 ssy 1 sf 1 sb 1 }
>   { eraser src 2 ssx 1 ssy 1 sf 1 sb 1 }
>   { clone src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { reveal src 3 ssx 1 ssy 1 sf 1 sb 1 }
>   { dodge src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { burn src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { blur src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { sharpen src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { smear src 1 ssx 1 ssy 1 sf 1 sb 1 }
> } }
>  toolbar_brush_hardness 0.200000003
>  toolbar_lifetime_type all
>  toolbar_source_transform_scale {1 1}
>  toolbar_source_transform_center {320 240}
>  toolbar_source_translate_round true
>  colorOverlay 0
>  paint_source "background 1"
>  lifetime_type "all frames"
>  motionblur_shutter_offset_type centred
>  source_translate_round true
>  source_black_outside true
>  createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
>  name RotoPaint1
>  selected true
>  xpos -137
>  ypos -195
> }
> Dot {
>  name Dot2
>  label "OUT\n"
>  note_font_size 20
>  selected true
>  xpos -107
>  ypos -126
> }
> ColorBars {
>  inputs 0
>  name ColorBars1
>  selected true
>  xpos 120
>  ypos -417
> }
> Dot {
>  name Dot1
>  selected true
>  xpos 150
>  ypos -302
> }
> set N1e1e4fc0 [stack 0]
> ColorCorrect {
>  saturation 0
>  name ColorCorrect1
>  selected true
>  xpos 37
>  ypos -282
> }
> push $N1e1e4fc0
> Merge2 {
>  inputs 2
>  operation minus
>  name Merge1
>  selected true
>  xpos 120
>  ypos -237
> }
> push 0
> CheckerBoard2 {
>  inputs 0
>  name CheckerBoard1
>  selected true
>  xpos 243
>  ypos -424
> }
> RotoPaint {
>  inputs 2+1
>  cliptype none
>  curves {AnimTree: "" {
>  Version: 1.2
>  Flag: 0
>  RootNode: 1
>  Node: {
>   NodeName: "Root" {
>    Flag: 512
>    NodeType: 1
>    Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 960 S 0 540 
>    NumOfAttributes: 11
>    "vis" S 0 1 "opc" S 0 1 "mbo" S 0 1 "mb" S 0 1 "mbs" S 0 0.5 "fo" S 0 1 
> "fx" S 0 0 "fy" S 0 0 "ff" S 0 1 "ft" S 0 0 "pt" S 0 0 
>   }
>   NumOfChildren: 1
>   Node: {
>    NodeName: "Rectangle1" {
>     Flag: 576
>     NodeType: 3
>     CurveGroup: "" {
>      Transform: 0 0 S 1 1 0 S 1 1 0 S 1 1 0 S 1 1 1 S 1 1 1 S 1 1 0 S 1 1 
> 1003 S 1 1 486 
>      Flag: 0
>      NumOfCubicCurves: 2
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1 0 S 1 1 -480 0 1 S 1 1 -86 S 1 1 1206 0 1 S 1 1 726 S 1 1 0 0 1 
> S 1 1 -726 S 1 1 0 0 1 S 1 1 2092 S 1 1 1206 0 1 S 1 1 0 S 1 1 -480 0 1 S 1 1 
> 0 S 1 1 480 0 1 S 1 1 2092 S 1 1 -234 0 1 S 1 1 -726 S 1 1 0 0 1 S 1 1 726 S 
> 1 1 0 0 1 S 1 1 -86 S 1 1 -234 0 1 S 1 1 0 S 1 1 480 0 
>      }
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1 0 S 1 1 -480 0 1 S 1 1 0 S 1 1 0 0 1 S 1 1 726 S 1 1 0 0 1 S 1 
> 1 -726 S 1 1 0 0 1 S 1 1 0 S 1 1 0 0 1 S 1 1 0 S 1 1 -480 0 1 S 1 1 0 S 1 1 
> 480 0 1 S 1 1 0 S 1 1 0 0 1 S 1 1 -726 S 1 1 0 0 1 S 1 1 726 S 1 1 0 0 1 S 1 
> 1 0 S 1 1 0 0 1 S 1 1 0 S 1 1 480 0 
>      }
>      NumOfAttributes: 44
>      "vis" S 0 1 "r" S 0 1 "g" S 0 1 "b" S 0 1 "a" S 0 1 "ro" S 0 0 "go" S 0 
> 0 "bo" S 0 0 "ao" S 0 0 "opc" S 0 1 "bm" S 0 7 "inv" S 0 0 "mbo" S 0 0 "mb" S 
> 0 1 "mbs" S 0 0.5 "mbsot" S 0 0 "mbso" S 0 0 "fo" S 0 1 "fx" S 0 0 "fy" S 0 0 
> "ff" S 0 1 "ft" S 0 0 "src" S 0 3 "stx" S 0 0 "sty" S 0 0 "str" S 0 1 "sr" S 
> 0 0 "ssx" S 0 1 "ssy" S 0 1 "ss" S 0 0 "spx" S 0 960 "spy" S 0 540 "stot" S 0 
> 0 "sto" S 0 0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 1 "view1" S 0 1 "ltn" 
> S 0 1 "ltm" S 0 1 "ltt" S 0 0 "tt" S 0 7 "pt" S 0 0 
>     }
>    }
>    NumOfChildren: 0
>   }
>  }
> }
> }
>  toolbox {selectAll {
>   { selectAll str 1 ssx 1 ssy 1 sf 1 }
>   { createBezier ssx 1 ssy 1 sf 1 sb 1 }
>   { createBSpline ssx 1 ssy 1 sf 1 sb 1 }
>   { createEllipse str 1 ssx 1 ssy 1 sf 1 sb 1 tt 6 }
>   { createRectangle str 1 ssx 1 ssy 1 sf 1 sb 1 tt 7 }
>   { brush ssx 1 ssy 1 sf 1 sb 1 }
>   { eraser src 2 ssx 1 ssy 1 sf 1 sb 1 }
>   { clone src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { reveal src 3 ssx 1 ssy 1 sf 1 sb 1 }
>   { dodge src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { burn src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { blur src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { sharpen src 1 ssx 1 ssy 1 sf 1 sb 1 }
>   { smear src 1 ssx 1 ssy 1 sf 1 sb 1 }
> } }
>  toolbar_brush_hardness 0.200000003
>  toolbar_lifetime_type all
>  toolbar_source_transform_scale {1 1}
>  toolbar_source_transform_center {320 240}
>  toolbar_source_translate_round true
>  colorOverlay 0
>  paint_source "background 1"
>  blending_mode plus
>  lifetime_type "all frames"
>  motionblur_shutter_offset_type centred
>  source_translate_round true
>  source_black_outside true
>  createNewTrack {{-1} "-1\t(none)\t-1" "1000\tNew Track Layer\t1000"}
>  name RotoPaint2
>  selected true
>  xpos 253
>  ypos -208
> }
> Dot {
>  name Dot3
>  label "OUT\n"
>  note_font_size 20
>  selected true
>  xpos 276
>  ypos -127
> }

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to