Using Multiple masks

I'd like use multiple masks to reveal separate parts of an underlying clip.


The idea is that a kid is painting on a wall, and as she paints, I'll reveal more and more of an underlying clip with each brush stroke. However, I can't figure out how to get each mask to display its own part of the underlying clip. See the attached screenshot. The upper clip is the one being revealed by the painting girl.


I'd like to use a new mask + keyframe set for each brush stroke to reveal more and more of the underlying clip, until the whole thing is revealed. But when I add a second mask, it applies to the composite of the first mask + the clip, so that if the first mask is hiding the same part of the clip as the second mask, the underlying clip is still hidden. You can see in the screen shot the control points for the second mask, and they aren't revealing anything from the clip.


Any ideas? There's got to be a blend of view setting to make this work, right?


Thanks

Windows, Windows 6

Posted on Sep 23, 2023 1:50 PM

Reply
Question marked as Top-ranking reply

Posted on Sep 23, 2023 6:57 PM

Try this:

https://fcpxtemplates.com/sdm_downloads/brush-mask/


This is how it works.


Instead of a color stroke, the "brush mark" is a Mask that cuts through the video. The effect only does 1 stroke but the stroke is a 3-point B-spline vector line that can be placed anywhere using the provided OSCs.


You'll need a color solid or other media (any kind) underneath the clip the effect is applied to.


You'll need to add an instance of the Brush Mask effect for each brush stroke you need. If your computer is rather speedy, I don't see any problems with using 20 or more.


There are two "brush" types (one and two...see sample below). You can set the width (I don't recommend going over 150). You can also "spin" the brush stroke to give it a little perspective (Brush Angle), make it appear thinner/denser, etc.


You will need to keyframe the First Point Offset or the Last Point Offset for this project. [A creative balance between First and Last Point Offsets will let you partial lines for shorter patterns.]


This is an Effect. You can use Effects Masks > Color Mask to limit its appearance in your clip to a specific color. I would recommend you select the Gray wall so that the effect doesn't interfere with the painter. You also have access to unlimited Shape Masks...


Color Mask sample:



HTH

Similar questions

9 replies
Question marked as Top-ranking reply

Sep 23, 2023 6:57 PM in response to geofffromdowney

Try this:

https://fcpxtemplates.com/sdm_downloads/brush-mask/


This is how it works.


Instead of a color stroke, the "brush mark" is a Mask that cuts through the video. The effect only does 1 stroke but the stroke is a 3-point B-spline vector line that can be placed anywhere using the provided OSCs.


You'll need a color solid or other media (any kind) underneath the clip the effect is applied to.


You'll need to add an instance of the Brush Mask effect for each brush stroke you need. If your computer is rather speedy, I don't see any problems with using 20 or more.


There are two "brush" types (one and two...see sample below). You can set the width (I don't recommend going over 150). You can also "spin" the brush stroke to give it a little perspective (Brush Angle), make it appear thinner/denser, etc.


You will need to keyframe the First Point Offset or the Last Point Offset for this project. [A creative balance between First and Last Point Offsets will let you partial lines for shorter patterns.]


This is an Effect. You can use Effects Masks > Color Mask to limit its appearance in your clip to a specific color. I would recommend you select the Gray wall so that the effect doesn't interfere with the painter. You also have access to unlimited Shape Masks...


Color Mask sample:



HTH

Sep 24, 2023 8:57 AM in response to geofffromdowney

You don't need to draw a mask around the girl - you have a flat wall that can be Color Masked:



You apply the "Brush Mask" Effect, then select its Color Mask from the Effects Masks selection:


Use the Eyedropper tool to Select the color to be masked. This can be ***any*** color.


I recommend you boost the saturation of your image a little bit to strengthen the skin tones and dress colors.


There are 2 types of color mask: 3D (I don't really know where "3D" comes from) and HSL.


The 3D mask is click on the color you need masked and hold down the Shift Key and add more color to the Mask by clicking in different tones of the color you need Mask (you can technically mask more than one color.) The Softness control will expand the range of the selection - but you need to be careful that you don't cross over your subject.


The HSL variation is similar, but you should probably just make a single click with the eyedropper and use the HSL controls to expand the mask as needed... This variation will give better results overall, but really takes a lot of practice to "master".


You are going to have a problem with the paint brush bristles since you have paint of the same color on it. You can either live with it (it probably won't look all that bad) or you can apply Effects Masks Shape Masks to intersect with the color masks (or Subtract from them.) It would be easier if the wall were a different color than the paint on the brush.


You will need to add a Color Mask for each Brush Mask you Add (if there is any point where your subject is "in front" of the mask.)


I understand that newer versions of FCP have a "Scene Removal Mask". Never seen it; don't know how it works; but it might be something you can make work for this effect.







Sep 24, 2023 8:02 AM in response to geofffromdowney

Another question - Is anyone aware of a plugin or tool that will draw in mask control points around a moving object? The painter girl will partially obscure the painted image, so I'll need to mask it as she moves around in the shot.


I can draw in the control points manually for each frame, but even for a few seconds this is pretty laborious.


Open to better options as well, but with all the motion tracking stuff out there, i wonder if there's a tool to assist me in this otherwise very laborious job. :-D



Sep 26, 2023 9:11 PM in response to fox_m

Thanks, fox - I did end up figuring it out. Using the color mask as you said was a much better way. There are a few frames where the colors in the brush I guess match the colors in the wall closely enough and the brush looks transparent for a second, but I'm not gonna quibble over that. This is a no-budget music video for my band, not a studio production, hah.

Sep 26, 2023 10:18 PM in response to geofffromdowney

:D

If you can remember back to MTv in the 80's when it was just starting out, the effects used then were **much worse**!! Nobody cared!!! It's a "magical paintbrush" - it's allowed to "glow" — or — the scene underneath is part of the "paint".


If you want to put more effort into it, you could add a Colorize or Tint Effect to the original video and use and keyframe an Effects Mask > Shape Mask from Colorize/Tint to localize the effect to the paint brush tip where the color matches the wall color. All you have to do is change the color *just enough* to keep it from being picked up by the Color Masks of the Brush Mask effects. Try a very desaturated "blue".


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Using Multiple masks

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.