Page 1 of 1

mask so one layer appears while one disappears

Posted: Fri Oct 15, 2010 8:37 am
by rogermate
Is there an easy way to have a wipe which blocks one layer and shows another? I'd like to have a wipe like those old batman shows.

I can only think of using a brute force method, and then somehow copying the two masks. Could have two rectangle shapes both controlled by the same bone. One rect adds to the mask and the layer above is hidden. Another rect which mimicks the first rect is just above and while it mimicks the motion of the first rect, it instead is subtracted from the mask and the layer above it is hidden.

A little more work especially in making sure the rectangle shapes mimick exactly.

Or is there an easier way?

Posted: Fri Oct 15, 2010 8:58 am
by slowtiger
If the images themselves don't move, you just need 1 mask, in the group on top.

Posted: Fri Oct 15, 2010 6:00 pm
by rogermate
slowtiger wrote:If the images themselves don't move, you just need 1 mask, in the group on top.
Only the mask moves. It is like a wipe from one scene to another.

Image A and B are now put in a parent group P. The mask M is above A and B in group P?

I can get M to reveal or hide both A and B in such a structure. But what I'd like is for image A to be hidden by the shape M at the same time that image B is being revealed. Also, A and B are not of the same outline.

What am I missing?

Posted: Fri Oct 15, 2010 8:08 pm
by slowtiger
Given that both images cover the whole project area, the top image will cover the bottom one. So only the top image needs to be in a group with the mask. Start with the mask a bit bigger than the frame, then move it outside.

- group layer (hide all)
- - image a (mask this layer)
- - mask (add to mask, but keep invisible)
- image b

Posted: Fri Oct 15, 2010 9:48 pm
by rogermate
slowtiger wrote:Given that both images cover the whole project area
My explanation was not clear. The two images don't cover the whole project area, think of a donut and a slice of swiss cheese in front of a house. I want to preserve the transparent parts of the donut and the cheese as the wipe goes by.

Posted: Sat Oct 16, 2010 2:32 am
by funksmaname
that doesn't really clarify anything - but it does leave a quite surreal image in my mind lol

Posted: Sat Oct 16, 2010 3:43 am
by rogermate
funksmaname wrote:that doesn't really clarify anything - but it does leave a quite surreal image in my mind lol
Instigating extraordinary images in the public's mind is the artist's imperative.

Posted: Mon Oct 18, 2010 5:29 pm
by rogermate
Seems like the easiest solution (also the only one i thought of before stopping) is to just "do it twice".

In other words, on mask group for the reveal. Another mask group for the hide.

Then I just copied the swipe layer - which holds the shape used to either hide or reveal - into both masking groups.

Figured I post my solution here for future reference of others, and myself.