Moving a mask over stationary object/text

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
highrise955
Posts: 26
Joined: Fri May 24, 2013 8:34 am

Moving a mask over stationary object/text

Post by highrise955 »

I've searched this forum and tutorials for help on this but not having much luck.

I want to move an object across the screen and I want stationary text to appear as the object moves over it. I tried making a mask but can't figure out how to keep the text stationary as the object and its mask moves over it. Can anyone point me in the right direction?
User avatar
Droxon
Posts: 111
Joined: Thu Jun 13, 2013 5:30 am

Re: Moving a mask over stationary object/text

Post by Droxon »

Just animate the layers individually, don't animate the group(mask) or the text layer.

Here is an example hopefully this can help you:
https://www.dropbox.com/s/miuggq3qeqvep7r/mask.anme
highrise955
Posts: 26
Joined: Fri May 24, 2013 8:34 am

Re: Moving a mask over stationary object/text

Post by highrise955 »

Thanks for the example but that isn't what I was looking for. I need the object to move over the text (say from left to right). As the object passes over, the text appears.

For example:
Image

As the witch flies across the screen the words appear behind her. (The above was a cheat. I still haven't figured it out yet. :roll: ) The only thing that is moving is the witch, the text is stationary.
User avatar
slowtiger
Posts: 6079
Joined: Thu Feb 16, 2006 6:53 pm
Location: Berlin, Germany
Contact:

Re: Moving a mask over stationary object/text

Post by slowtiger »

Move the witch layer, then move the mask layer the same way.
AS 9.5 MacPro Quadcore 3GHz 16GB OS 10.6.8 Quicktime 7.6.6
AS 11 MacPro 12core 3GHz 32GB OS 10.11 Quicktime 10.7.3
Moho 13.5 iMac Quadcore 2,9GHz 16GB OS 10.15

Moho 14.1 Mac Mini Plus OS 13.5
User avatar
Víctor Paredes
Site Admin
Posts: 5658
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Re: Moving a mask over stationary object/text

Post by Víctor Paredes »

To avoid animating the character and the mask separately, you can bind both to an overall bone. That way, you only need to translate that bone to move both the character and the mask.

Here is an anme file with an example
https://dl.dropboxusercontent.com/u/544 ... er_v9.anme

The mask setup is this:

ImageAll (Reveal All)
__ImageCharacter (Don't mask this layer)
____ImageVector layer (there's no need to setup a mask)
__ImageText (Mask this layer)
__ImageMask (Subtract from mask)
__ImageYellow (Don't mask this layer)


The subtracting layer must be under the layer you want to mask. In this case, since you want to hide the text layer with a mask, the vector layer with the mask shape must be under the text layer. All the other layers don't need to mask or be masked, so you just setup all them to "Don't mask this layer".
Image Image Image Image
Moho Product Manager

www.mohoanimation.com
Rigged animation supervisor in My father's dragon - Lead Moho artist in Wolfwalkers - Cartoon Saloon - My personal Youtube Channel
Post Reply