Thanks James,

I'll try it at home.


Spider

2011/3/24 James Etherington <[email protected]>

> Try this...
>
> set cut_paste_input [stack 0]
> version 6.2 v2
> Constant {
>  inputs 0
>  channels rgb
>  color {1 1 0 0}
>  name yellow
>  selected true
>  xpos 543
>  ypos -945
> }
> Roto {
>  output alpha
>  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: 10
>    "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
>   }
>   NumOfChildren: 1
>   Node: {
>    NodeName: "Rectangle1" {
>     Flag: 576
>     NodeType: 3
>     CurveGroup: "" {
>      Transform: 0 0 S 1 1037 0 S 1 1037 0 S 1 1037 0 S 1 1037 1 S 1 1037 1
> S 1 1037 0 S 1 1037 402 S 1 1037 561
>      Flag: 0
>      NumOfCubicCurves: 2
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 1331 S 1 1037 939.6 0 1 S 1
> 1037 170.667 S 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 1851.4
> S 1 1037 936.8 0 1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 254 0 1
> S 1 1037 1851.4 S 1 1037 174.8 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037
> 170.667 S 1 1037 0 0 1 S 1 1037 1339.4 S 1 1037 174.8 0 1 S 1 1037 0 S 1
> 1037 254 0
>      }
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 0 0 1 S 1 1037
> 170.667 S 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 0 S 1 1037
> 0 0 1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 254 0 1 S 1 1037 0 S
> 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 170.667 S 1 1037 0 0
> 1 S 1 1037 0 S 1 1037 0 0 1 S 1 1037 0 S 1 1037 254 0
>      }
>      NumOfAttributes: 43
>      "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 0 "stx" S 0 0 "sty" S 0 0 "str" S
> 0 0 "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 1037 "ltm" S 0 1037 "ltt" S 0 0 "tt" S 0 7
>     }
>    }
>    NumOfChildren: 0
>   }
>  }
> }
> }
>  toolbox {selectAll {
>   { selectAll ssx 1 ssy 1 sf 1 }
>   { createBezier ssx 1 ssy 1 sf 1 sb 1 tt 4 }
>   { createBSpline ssx 1 ssy 1 sf 1 sb 1 tt 5 }
>   { createEllipse ssx 1 ssy 1 sf 1 sb 1 tt 6 }
>   { createRectangle 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}
>  colorOverlay 0
>  lifetime_type "all frames"
>  lifetime_start 1037
>  lifetime_end 1037
>  motionblur_shutter_offset_type centred
>  source_black_outside true
>  name Roto4
>  selected true
>  xpos 543
>  ypos -868
> }
> Premult {
>  name Premult3
>  selected true
>  xpos 543
>  ypos -819
> }
> push 0
> Constant {
>  inputs 0
>  channels rgb
>  color {0 1 1 0}
>  name cyan
>  selected true
>  xpos 344
>  ypos -947
> }
> Roto {
>  output alpha
>  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: 10
>    "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
>   }
>   NumOfChildren: 1
>   Node: {
>    NodeName: "Rectangle1" {
>     Flag: 576
>     NodeType: 3
>     CurveGroup: "" {
>      Transform: 0 0 S 1 1037 0 S 1 1037 0 S 1 1037 0 S 1 1037 1 S 1 1037 1
> S 1 1037 0 S 1 1037 402 S 1 1037 561
>      Flag: 0
>      NumOfCubicCurves: 2
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 146 S 1 1037 942 0 1 S 1 1037
> 170.667 S 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 658 S 1
> 1037 942 0 1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 254 0 1 S 1
> 1037 658 S 1 1037 180 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 170.667
> S 1 1037 0 0 1 S 1 1037 146 S 1 1037 180 0 1 S 1 1037 0 S 1 1037 254 0
>      }
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 0 0 1 S 1 1037
> 170.667 S 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 0 S 1 1037
> 0 0 1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 254 0 1 S 1 1037 0 S
> 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 170.667 S 1 1037 0 0
> 1 S 1 1037 0 S 1 1037 0 0 1 S 1 1037 0 S 1 1037 254 0
>      }
>      NumOfAttributes: 43
>      "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 0 "stx" S 0 0 "sty" S 0 0 "str" S
> 0 0 "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 1037 "ltm" S 0 1037 "ltt" S 0 0 "tt" S 0 7
>     }
>    }
>    NumOfChildren: 0
>   }
>  }
> }
> }
>  toolbox {selectAll {
>   { selectAll ssx 1 ssy 1 sf 1 }
>   { createBezier ssx 1 ssy 1 sf 1 sb 1 tt 4 }
>   { createBSpline ssx 1 ssy 1 sf 1 sb 1 tt 5 }
>   { createEllipse ssx 1 ssy 1 sf 1 sb 1 tt 6 }
>   { createRectangle 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}
>  colorOverlay 0
>  lifetime_type "all frames"
>  lifetime_start 1037
>  lifetime_end 1037
>  motionblur_shutter_offset_type centred
>  source_black_outside true
>  name Roto2
>  selected true
>  xpos 344
>  ypos -866
> }
> Premult {
>  name Premult1
>  selected true
>  xpos 344
>  ypos -823
> }
> Constant {
>  inputs 0
>  channels rgb
>  color {1 0 1 0}
>  name magenta
>  selected true
>  xpos 446
>  ypos -949
> }
> Roto {
>  output alpha
>  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: 10
>    "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
>   }
>   NumOfChildren: 1
>   Node: {
>    NodeName: "Rectangle1" {
>     Flag: 576
>     NodeType: 3
>     CurveGroup: "" {
>      Transform: 0 0 S 1 1037 0 S 1 1037 0 S 1 1037 0 S 1 1037 1 S 1 1037 1
> S 1 1037 0 S 1 1037 402 S 1 1037 561
>      Flag: 0
>      NumOfCubicCurves: 2
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 728.4 S 1 1037 947.2 0 1 S 1
> 1037 170.667 S 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 1240.4
> S 1 1037 947.2 0 1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 254 0 1
> S 1 1037 1240.4 S 1 1037 185.2 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037
> 170.667 S 1 1037 0 0 1 S 1 1037 728.4 S 1 1037 185.2 0 1 S 1 1037 0 S 1 1037
> 254 0
>      }
>      CubicCurve: "" {
>       Type: 0 Flag: 8192 Dim: 2
>       NumOfPoints: 12
>       1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 0 0 1 S 1 1037
> 170.667 S 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 0 S 1 1037
> 0 0 1 S 1 1037 0 S 1 1037 -254 0 1 S 1 1037 0 S 1 1037 254 0 1 S 1 1037 0 S
> 1 1037 0 0 1 S 1 1037 -170.667 S 1 1037 0 0 1 S 1 1037 170.667 S 1 1037 0 0
> 1 S 1 1037 0 S 1 1037 0 0 1 S 1 1037 0 S 1 1037 254 0
>      }
>      NumOfAttributes: 43
>      "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 0 "stx" S 0 0 "sty" S 0 0 "str" S
> 0 0 "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 1037 "ltm" S 0 1037 "ltt" S 0 0 "tt" S 0 7
>     }
>    }
>    NumOfChildren: 0
>   }
>  }
> }
> }
>  toolbox {selectAll {
>   { selectAll ssx 1 ssy 1 sf 1 }
>   { createBezier ssx 1 ssy 1 sf 1 sb 1 tt 4 }
>   { createBSpline ssx 1 ssy 1 sf 1 sb 1 tt 5 }
>   { createEllipse ssx 1 ssy 1 sf 1 sb 1 tt 6 }
>   { createRectangle 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}
>  colorOverlay 0
>  lifetime_type "all frames"
>  lifetime_start 1037
>  lifetime_end 1037
>  motionblur_shutter_offset_type centred
>  source_black_outside true
>  name Roto3
>  selected true
>  xpos 446
>  ypos -866
> }
> Premult {
>  name Premult2
>  selected true
>  xpos 446
>  ypos -820
> }
> Merge2 {
>  inputs 3+1
>  name Merge4
>  selected true
>  xpos 458
>  ypos -743
> }
>  set N33d24000 [stack 0]
> Expression {
>  temp_name0 a
>  temp_expr0 g*b-r
>  expr0 r
>  expr1 g
>  expr2 b
>  channel3 alpha
>  expr3 a
>  name Expression1
>  selected true
>  xpos 339
>  ypos -657
> }
> Shuffle {
>  red alpha
>  green alpha
>  blue alpha
>  name Shuffle3
>  selected true
>  xpos 339
>  ypos -619
> }
> push $N33d24000
> Expression {
>  temp_name0 a
>  temp_expr0 r*b-g
>  expr0 r
>  expr1 g
>  expr2 b
>  channel3 alpha
>  expr3 a
>  name Expression2
>  selected true
>  xpos 475
>  ypos -654
> }
> Shuffle {
>  red alpha
>  green alpha
>  blue alpha
>  name Shuffle4
>  selected true
>  xpos 475
>  ypos -613
> }
> push $N33d24000
> Expression {
>  temp_name0 a
>  temp_expr0 r*g-b
>  expr0 r
>  expr1 g
>  expr2 b
>  channel3 alpha
>  expr3 a
>  name Expression3
>  selected true
>  xpos 577
>  ypos -659
> }
> Shuffle {
>  red alpha
>  green alpha
>  blue alpha
>  name Shuffle5
>  selected true
>  xpos 577
>  ypos -620
> }
>
>
> On Thu, Mar 24, 2011 at 7:50 PM, Spider <[email protected]> wrote:
>
>> Hi everyone,
>>
>> I have a question maybe already ask (i checked before)
>> i'd like to know what is the best way to extract CMY to make a object
>> matte,
>> i guess that their is a better way than use keying nodes.
>>
>> May someone can light me ?
>>
>> i put in attachement an example.
>>
>>
>> Thanks.
>>
>> Spider
>>
>>
>>
>> --
>> *Luddnel Spider Magne **|** Director - Lead Motion Compositor*
>> 555Lab – Alchemy between you and us
>> 24 rue du Pré St-Gervais 93500 Pantin
>> Office (+33)148 453 555 | Fax (+33)171 864 387
>> Mobile (+33)699 434 555 | 555lab.com <http://www.555lab.com/>
>>
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>>
>


-- 
*Luddnel Spider Magne **|** Director - Lead Motion Compositor*
555Lab – Alchemy between you and us
24 rue du Pré St-Gervais 93500 Pantin
Office (+33)148 453 555 | Fax (+33)171 864 387
Mobile (+33)699 434 555 | 555lab.com <http://www.555lab.com/>
_______________________________________________
Nuke-users mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to