-2
$\begingroup$

I am working with masking. Here is my node setting with the mask. nodes

And here is my node settingsnode settings

And what am i getting is this.

enter image description here

I tried invert node and many settings. It just doesnt work. Where am i going wrong

$\endgroup$
5
  • 2
    $\begingroup$ Please explain what are you tringin to acheve. Readable screenshots would also be nice. $\endgroup$
    – J.Doe
    Commented Nov 26, 2017 at 9:32
  • $\begingroup$ Try lower opacity, I guess 1 is pure white, so Alpha over node is kind of replacing image rather than overlaying (due to you haven't got transparency on image with "magic force" ) Or try ADD mixRGB node instead of Alpha over - it would be a bit brighter, but black values will not appear on the hand. $\endgroup$
    – Serge L
    Commented Nov 26, 2017 at 9:36
  • $\begingroup$ There is a energy ball in my hand and i want my fingers to mask it. But only two this happen. 1 )the one mentioned in pic and 2) oe else only the tge energy ball and the mask is getting rendered(only the part of image covered by mask and the animation) $\endgroup$ Commented Nov 26, 2017 at 9:49
  • 2
    $\begingroup$ Please use screenshots taken with the print screen key on your keyboard, not photos of the display $\endgroup$ Commented Nov 26, 2017 at 11:54
  • $\begingroup$ In blender you can make a screen shot by pressing Ctrl+F3 and saving the image. $\endgroup$
    – user1853
    Commented Nov 26, 2017 at 17:03

1 Answer 1

1
$\begingroup$

The Over operation of a cg object using a mask

Make sure the cg render has a transparent background.

enter image description here
[Sorry the labeling is switched, right is Internal and left is cycles.]

The render preview will show a checkered background, indicating transparency.

enter image description here

The mask (created in the image editor) can also by viewed, by connecting its output to a viewer node in the compositor.

enter image description here

For the easiest over operation, our mask is the "wrong way around". This means, we'll have to invert it. Add a [Color >] Invert node after the mask.

mask invert nodes


Method to be used with any number of masks.

If you want to use multiple mask nodes, you are not going to be able to use the above node setup.

For that, unpremultiply image, alter the alpha (subtraction, max, cojoint-over, etc), premultiply it. This method is far more superior but also much more complex. Read up on premultiplication!

enter image description here


Premultiplication related: Popcorn question, Green screen question, Alpha nodes assumes alpha (so smart, wow), when to convert to premultiplied, Worst answer ever

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .