Hi,
I'm using an image as background, a mask (image) and a vector layer on top of that, all that placed in a group layer.
This works fine, but if I create a new sub-group with the image and the mask in it, the vector layer disappears. I tried all kind of different settings, but no luck.
The idea is to move the image and the mask together.
Masking and groups
Moderators: Víctor Paredes, Belgarath, slowtiger
- Lost Marble
- Site Admin
- Posts: 2356
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
A layer that is acting as a mask can only affect other layers in the same group (or in sub-groups of its group) - it cannot affect layers higher up in the hierarchy. By placing the mask in a sub-group, it will be unable to mask the vector layer higher up, but I'm not sure why the vector layer disappeared. If you can post a link to your Moho file (including the images), I can probably be more specific.
Thanks,
here is the link to a simplified project (440 kb)
http://mypage.bluewin.ch/ncplus/downloa ... ngTest.zip
What I would like from here is to be able to move, size,.. the two pictures layers at the same time independently from the vector layer.
Is this possible ?
here is the link to a simplified project (440 kb)
http://mypage.bluewin.ch/ncplus/downloa ... ngTest.zip
What I would like from here is to be able to move, size,.. the two pictures layers at the same time independently from the vector layer.
Is this possible ?
- Lost Marble
- Site Admin
- Posts: 2356
- Joined: Tue Aug 03, 2004 6:02 pm
- Location: Scotts Valley, California, USA
- Contact:
Here's one way to move two layers together:
http://www.lostmarble.com/misc/MaskingTest.zip
I took your file and made the following changes:
1. I put everything in a bone layer instead of a group.
2. I added a single bone to this bone layer.
3. I bound the two image layers to this bone - now ehn you move the bone, both image layers will move with it.
4. In the vector layer, I selected all the points and used the Bone->Release Points menu command to un-bind the points from the bone so that the vector shape does not move with the bone.
So now the two images (the background and the mask) move together if you move the bone around. In this particular case, it may make sense to use the camera controls instead of moving the background layer around, but my changes make it possible to do what you originally asked about.
http://www.lostmarble.com/misc/MaskingTest.zip
I took your file and made the following changes:
1. I put everything in a bone layer instead of a group.
2. I added a single bone to this bone layer.
3. I bound the two image layers to this bone - now ehn you move the bone, both image layers will move with it.
4. In the vector layer, I selected all the points and used the Bone->Release Points menu command to un-bind the points from the bone so that the vector shape does not move with the bone.
So now the two images (the background and the mask) move together if you move the bone around. In this particular case, it may make sense to use the camera controls instead of moving the background layer around, but my changes make it possible to do what you originally asked about.