Nuke Masking Problem


#1

I’ve been looking through tutorials for this but either I’m misunderstanding the steps to make it work or I’m looking in all the wrong places. This semester has been the first I’ve done with Nuke and I’m still wrapping my head around things, the primatte node took forever to figure out even with instruction =___=

 I have a shot where I need to make a flower glow, and I've rendered out a solid mask layer to help me do that. The problem is that the flower is behind other objects for a few seconds, so I need to roto that out, but is it possible to do so using masks instead of hand drawing the roto using a bezier? Basically I rendered out solid colour masks for everything I thought I'd need, including those foreground objects.

[img]http://oi57.tinypic.com/2jewmti.jpg[/img]

Basically, that blue blob is where the flower glow would be. The next few frames that play after this have the camera moving to the right.

I set up the shuffle node to use the blue channel as an alpha thinking that’d do something but the mask won’t even show up unless I disable the out node with ‘d’.


#2

If you don’t want to roto it then you would need to render the objects which pass in front of it as a separate mask. Then use a channelMerge node to subtract the foreground object from the flower mask.