think this is dependent on vibrancy which is now also attached

 



________________________________
From: Howard Jones <mrhowardjo...@yahoo.com>
To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
Sent: Fri, 25 March, 2011 10:40:14
Subject: Re: [Nuke-users] Extract CMY Color id


here's the example ( secondaryColour attached)

set cut_paste_input [stack 0]
version 6.2 v2
push $cut_paste_input
RotoPaint {
 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 1056 S 0 436 
   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: 2
  Node: {
   NodeName: "Bezier2" {
    Flag: 512
    NodeType: 3
    CurveGroup: "" {
      Transform: 0 0 S 0 0 S 0 0 S 0 0 S 0 1 S 0 1 S 0 0 S 0 436.5 S 0 502 
     Flag: 0
     NumOfCubicCurves: 2
     CubicCurve: "" {
      Type: 0 Flag: 8192 Dim: 2
      NumOfPoints: 12
      0 S 0 0 S 0 0 0 0 S 0 804 S 0 646 0 0 S 0 0 S 0 0 0 0 S 0 2 S 0 0 0 0 S 0 
518 S 0 488 0 0 S 0 -2 S 0 0 0 0 S 0 0 S 0 -2 0 0 S 0 686 S 0 256 0 0 S 0 0 S 0 
2 0 0 S 0 12 S 0 -12 0 0 S 0 1000 S 0 422 0 0 S 0 -12 S 0 12 0 

     }
     CubicCurve: "" {
      Type: 0 Flag: 8192 Dim: 2
      NumOfPoints: 12
      0 S 0 0 S 0 0 0 0 S 0 0 S 0 0 0 0 S 0 0 S 0 0 0 0 S 0 0.233582 S 0 
-1.98627 0 0 S 0 -98 S 0 -4 0 0 S 0 -4 S 0 34 0 0 S 0 0 S 0 -2 0 0 S 0 0 S 0 0 
0 
0 S 0 0 S 0 2 0 0 S 0 12 S 0 -12 0 0 S  0 0 S 0 0 0 0 S 0 -12 S 0 12 0 

     }
     NumOfAttributes: 44
     "vis" S 0 1 "r" S 0 0 "g" S 0 0 "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 1056 "spy" S 0 436 "stot" S 0 0 "sto" S 
0 
0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" 
S 0 1 "ltm" S 0 1 "ltt" S 0 0 "tt" S 0 4 

    }
   }
   NumOfChildren: 0
  }
  Node: {
   NodeName: "Bezier1" {
    Flag: 512
    NodeType: 3
    CurveGroup: "" {
     Transform: 0 0 S 0 0 S 0 0 S 0 0 S  0 1 S 0 1 S 0 0 S 0 436.5 S 0 502 
     Flag: 0
     NumOfCubicCurves: 2
     CubicCurve: "" {
      Type: 0 Flag: 8192 Dim: 2
      NumOfPoints: 12
      0 S 0 0 S 0 0 0 0 S 0 514 S 0 690 0 0 S 0 0 S 0 0 0 0 S 0 2 S 0 0 0 0 S 0 
230 S 0 532 0 0 S 0 -2 S 0 0 0 0 S 0 0 S 0 -2 0 0 S 0 396 S 0 300 0 0 S 0 0 S 0 
2 0 0 S 0 12 S 0 -12 0 0 S 0 710 S 0 466 0 0 S 0 -12 S 0 12 0 

     }
     CubicCurve: "" {
      Type: 0 Flag: 8192 Dim: 2
      NumOfPoints: 12
      0 S 0 0 S 0 0 0 0 S 0 0 S 0 0 0 0 S 0 0 S 0 0 0 0 S 0 2 S 0 0 0 0 S 0 0 S 
0 0 0 0 S 0 -2 S 0 0 0 0 S 0 0 S 0 -2 0 0 S 0 0 S 0 0 0 0 S 0 0 S 0 2 0 0 S 0 
12 
S 0 -12 0 0 S 0 0 S 0 0 0 0 S 0 -12 S 0 12 0 

     }
     NumOfAttributes: 44
     "vis" S 0 1 "r" S 0 1 "g" S 0 0 "b" S 0 0 "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 1056 "spy" S 0 436 "stot" S 0 0 "sto" S 
0 
0 "sv" S 0 0 "sf" S 0 1 "sb" S 0 1 "nv" S 0 2 "view1" S 0 1 "view2" S 0 2 "ltn" 
S 0 1 "ltm" S 0 1 "ltt" S 0 0 "tt" S 0 4 

    }
   }
   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 }
  { createEllipse ssx 1 ssy 1 sf 1 sb 1 }
   { createRectangle ssx 1 ssy 1 sf 1 sb 1 }
  { 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}
 color {0 0 1 1}
 colorOverlay 0
 lifetime_type "all frames"
 view {}
 motionblur_on true
 motionblur_shutter_offset_type centred
 source_black_outside true
 name RotoPaint1
 selected true
 xpos -525
 ypos -58
}
set  N77b0d80 [stack 0]
secondaryColour {
 name secondaryColour2
 selected true
 xpos -574
 ypos -4
 BlackKnob {0 0 0}
 vibrancyControls 0
 ViewWhat RGB
 ViewCMYas RGB
}
Shuffle {
 green red
 blue red
 alpha red
 name Shuffle1
 selected true
 xpos -574
 ypos 24
}
push $N77b0d80
secondaryColour {
 name secondaryColour1
 selected true
 xpos -465
 ypos -9
 BlackKnob {0 0 0}
 vibrancyControls 0
 ViewWhat CMY
 ViewCMYas RGB
}
Shuffle {
 red green
 blue green
 alpha green
 name Shuffle2
 selected true
 xpos -465
 ypos 19
}
Merge2 {
 inputs 2
 operation plus
 name Max
 selected true
 xpos -514
 ypos 89
}



________________________________
From: Howard Jones <mrhowardjo...@yahoo.com>
To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
Sent: Fri, 25 March, 2011 8:09:56
Subject: Re: [Nuke-users] Extract CMY Color id


Yes that would create a semi magenta edge and would be extracted as such I 
thought the mattes were cmy though?

I'll try it in a bit and check but it returns the colours split as described 
along with overlap issues as you describe because they are in the image. 

Howard

On 24 Mar 2011, at 23:16, Hugh Macdonald <li...@hughmacdonald.co.uk> wrote:


I've never quite seen how anything that crosses channels, if there's any 
anti-aliasing involved, can not have issues...
>
>
>If a red and a blue matte meet, and there is anti-aliasing along the edges, 
>causing a pixel to be (0.5, 0.0, 0.5), how is that different to a similar 
>pixel 
>along an antialiased edge where a magenta matte meets black...
>
>Hugh  Macdonald
>nvizible – VISUAL EFFECTS
>
>hugh.macdon...@nvizible.com
>+44(0) 207 659 2038
>+44(0) 7773 764 708
>
>www.nvizible.com 
>
>On 24 Mar 2011, at 23:08, Howard Jones wrote:
>
>in that case btw the red matte would be separate to the magenta, any overlap 
>would be black in the respective channels.
>>
>>
>>H
>>
>>
>>
>>
________________________________
From: Howard Jones <mrhowardjo...@yahoo.com>
>>To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
>>Sent: Thu, 24 March, 2011 22:45:32
>>Subject: Re: [Nuke-users] Extract CMY Color id
>>
>>
>>should do...
>>
>>splits into 
>>primary (rgb outside of cmy bnw)
>>secondary (cmy outside of rgb, bnw)
>>tertiary (bw (split into bnw) outside of rgb, cmy)
>>
>>H
>>
>>
>>
>>
>>
>>
________________________________
From: Deke Kincaid <dekekinc...@gmail.com>
>>To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
>>Sent: Thu, 24 March, 2011 22:33:12
>>Subject: Re: [Nuke-users] Extract CMY Color id
>>
>>This pulls perfect mattes even when you have a magenta and red matte
>>on top of each other or any other primary/secondary overlapping?
>>
>>-deke
>>
>>On  Thu, Mar 24, 2011 at 15:17, Howard Jones <mrhowardjo...@yahoo.com> wrote:
>>> Hi
>>>
>>> <Shameless plug>
>>> my secondary colour node on nukepedia/creative crash - splits any image into
>>> rgb, cmy and bnw (black neutral whites).
>>> The output will show you any set of above ie rgb, cmy, bnw mapped into the
>>> rgb channels.
>>>
>>> So plug in your image choose cmy (as rgb) and in the rgb channels you will
>>> have cyan magenta and yellow mapped to rgb respectively, so as long as its
>>> pure cmy you get perfect mattes instantly
>>>
>>> </Shameless plug>
>>>
>>> Howard
>>>
>>>
>>>
>>> ________________________________
>>>  From: Spider <spi...@555lab.com>
>>> To: Nuke user discussion <nuke-users@support.thefoundry.co.uk>
>>> Sent: Thu, 24 March, 2011 20:14:50
>>> Subject: Re: [Nuke-users] Extract CMY Color id
>>>
>>> Merci Julien,
>>> I'll try this at home in few minutes.
>>> Maybe my 3d gay, sorry i mean guy like pink ;)
>>> Spider
>>>
>>>
>>>
>>> 2011/3/24 Julien Chandelle <julienchande...@gmail.com>
>>>>
>>>> I just did this gizmo, you can pick any color choose if you want extract a
>>>> matte or apply the alpha on your picture with a premult if you want. Of
>>>> course I agree with Deke this way suck, an exr with matte is better but I
>>>> prefer several RGB matte pass.
>>>>
>>>> set cut_paste_input [stack 0]
>>>> version 6.2 v2
>>>> push $cut_paste_input
>>>> Group {
>>>>  name Select_color
>>>>  selected true
>>>>  xpos -168
>>>>  ypos 2
>>>>  addUserKnob {20 User}
>>>>  addUserKnob {41 color T Constant1.color}
>>>>  addUserKnob {6 out_alpha l  "Out Alpha" +STARTLINE}
>>>>  addUserKnob {6 premult +STARTLINE}
>>>> }
>>>>  Constant {
>>>>   inputs 0
>>>>   channels rgb
>>>>   color {0.3005436957 0.02121900581 0.3762620389 1}
>>>>   last 100000
>>>>   name Constant1
>>>>   xpos 38
>>>>   ypos 109
>>>>  }
>>>>  Input {
>>>>   inputs 0
>>>>   selected true
>>>>   xpos -101
>>>>   ypos 86
>>>>  }
>>>>  Difference {
>>>>   inputs 2
>>>>   gain 90
>>>>   name Difference1
>>>>   xpos -101
>>>>   ypos 126
>>>>  }
>>>>  Invert {
>>>>   channels alpha
>>>>   name Invert1
>>>>   xpos -101
>>>>   ypos 171
>>>>  }
>>>>  Premult {
>>>>    name Premult1
>>>>   xpos -101
>>>>   ypos 209
>>>>   disable {{!parent.premult i}}
>>>>  }
>>>>  Shuffle {
>>>>   red alpha
>>>>   green alpha
>>>>   blue alpha
>>>>   name Shuffle1
>>>>   xpos -101
>>>>   ypos 235
>>>>   disable {{!parent.out_alpha i}}
>>>>  }
>>>>  Output {
>>>>   name Output1
>>>>   xpos -101
>>>>   ypos 287
>>>>  }
>>>> end_group
>>>>
>>>>
>>>> On Thu, Mar 24, 2011 at 8:57 PM, Deke Kincaid <dekekinc...@gmail.com>
>>>> wrote:
>>>>>
>>>>>  Keyer is pretty much it.  There are gizmos which just automate doing
>>>>> id channels on nukepedia and creativecrash but underneath they are all
>>>>> just keyers.
>>>>>
>>>>> For future though, get your cg guys to render multiple mattes to a
>>>>> single exr instead of using id's which just suck, especially pink that
>>>>> it likes to throw in there.  There are mel scripts for Mental Ray and
>>>>> Vray which automate doing this.
>>>>>
>>>>> -deke
>>>>>
>>>>> On Thu, Mar 24, 2011 at 12:50, Spider <spi...@555lab.com> 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
>>>>> >
>>>>>  > _______________________________________________
>>>>> > Nuke-users mailing list
>>>>> > Nuke-users@support.thefoundry.co.uk
>>>>> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>>> >
>>>>> >
>>>>>  _______________________________________________
>>>>> Nuke-users mailing list
>>>>> Nuke-users@support.thefoundry.co.uk
>>>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>>
>>>>
>>>>
>>>> --
>>>> Julien Chandelle
>>>> GSM : +32 (0) 494 277 542
>>>> julienchandelle.be
>>>> || Nuke , AE & Fusion Compositor ||
>>>>
>>>>
>>>> _______________________________________________
>>>> Nuke-users mailing list
>>>> Nuke-users@support.thefoundry.co.uk
>>>> 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
>>>
>>> _______________________________________________
>>> Nuke-users mailing list
>>> Nuke-users@support.thefoundry.co.uk
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>
>>>
>>_______________________________________________
>>Nuke-users mailing list
>>Nuke-users@support.thefoundry.co.uk
>>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>_______________________________________________
>>Nuke-users mailing list
>>Nuke-users@support.thefoundry.co.uk
>>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>
_______________________________________________
>Nuke-users mailing list
>Nuke-users@support.thefoundry.co.uk
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>

Attachment: vibrancy.gizmo
Description: Binary data

_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to