Page 1 of 1

Mask Inside Mask

Posted: Sun Dec 18, 2022 11:55 am
by shubi
Hi,
So i understand that we can mask layers on top of a base layer, so that the masked layers are contained within the boundary of the base layer. I understand how masking can be used to create a mouth for a character. It works great.

But what if i want that mouth group to be masked inside a face? I tried making the head group (face layer + mouth group), but it does not simply mask the mouth group within the face, instead it uses the face layer as a base for all the other layers ie. including all the layers of mouth group. (Image attached)

So my question is, is there a way to use mask within masks?

https://postimg.cc/7JhMmcHR
Image

Re: Mask Inside Mask

Posted: Sun Dec 18, 2022 12:40 pm
by hayasidist
The "quick settings" (mask inside / outside bottom layer) are helpful as they're commonly needed.

But if you go to the masking tabs on the layers, there are more options that allow you to build more complex masks -- and that's what the following examples are founded on.


You can use a group to create a mask.

e.g.
group maskgroup - hide all
>vector object - mask this layer
>vector mask - add invisibly to mask

Then use that maskgroup as a mask

e.g.
group scene - reveal all
>vector object - mask this layer
> group maskgroup (from above) - subtract from mask

>>>>>>>>>>>>The workspace display fails for "complex masks" but the render is correct<<<<<<<<<

... and so on and so on.

hth

Re: Mask Inside Mask

Posted: Mon Dec 19, 2022 6:32 am
by shubi
Thanks @hayasidist, The preview helped, as the editor does not show the complete masking.

But i am unable to see the quick setting (mask inside / outside bottom layer) as you indicated. Don't know what i am missing here.

Here is what i see.
https://postimg.cc/8fmw0WMF
Image

Re: Mask Inside Mask

Posted: Mon Dec 19, 2022 1:01 pm
by hayasidist
Ah! From the wording in the OP, I'd assumed you'd tried them and decided they weren't good enough! -- You get them (along with other frequently needed actions) by right click on a group layer in the layers window.

Re: Mask Inside Mask

Posted: Mon Dec 19, 2022 4:45 pm
by shubi
This is what i get in right click options...

https://postimg.cc/yDvdzmZm
Image

Is it possible that may be those options were available in older moho versions? I am using 13.5.

Edit : To be more clear, i do get the quick actions, and the other options you mentioned are there. i just that i thought there is a "mask inside / mask outside bottom layer" option as well, so was looking for that exact option.

Re: Mask Inside Mask

Posted: Tue Dec 20, 2022 12:25 am
by synthsin75
shubi wrote: Mon Dec 19, 2022 4:45 pm i just that i thought there is a "mask inside / mask outside bottom layer" option as well, so was looking for that exact option.
Those options are in group/bone layers.

Re: Mask Inside Mask

Posted: Tue Dec 20, 2022 12:09 pm
by hayasidist
hayasidist wrote: Mon Dec 19, 2022 1:01 pm ...You get them (along with other frequently needed actions) by right click on a group layer in the layers window.
synthsin75 wrote: Tue Dec 20, 2022 12:25 am
shubi wrote: Mon Dec 19, 2022 4:45 pm i just that i thought there is a "mask inside / mask outside bottom layer" option as well, so was looking for that exact option.
Those options are in group/bone layers.
Image

Re: Mask Inside Mask

Posted: Tue Dec 20, 2022 1:28 pm
by shubi
:o umm... that is weird. It does not show up in mine for some reason. So i guess its broken, i may have to reinstall.
Meanwhile i have created this blank file with group and bone layers for test. Could someone please check if it shows up with right click in yours to confirm... (i am using 13.5)

File : https://drive.google.com/file/d/1PHtEXt ... share_link
My Screen : https://i.postimg.cc/wTLwYRGt/test.png
Image

Re: Mask Inside Mask

Posted: Tue Dec 20, 2022 4:55 pm
by hayasidist
it looks as though that's a 13.0 screenshot??? or maybe an earlier 13.5??? Can you check you're actually using the latest version - 13.5.5

Re: Mask Inside Mask

Posted: Tue Dec 20, 2022 5:09 pm
by shubi
Got it, its 13.5. Didn't noticed that, thanks for pointing out :)