I’ve been watching tutorials and searching and reading but I’m still not quite understanding Masking.
I have the following scenario.
- I’m working in 2D orthographic mode
- the z-axis represents in and out of the screen
- the y axis represents up and down
- the x axis represent left and right
- I have a background plane or image.
- I have a thin object, call it “bar” (a horizontal bar) positioned in front of the background (higher in the z-axis)
- I have another object (a text object) call it “text” between the “bar” and the background (in the z-axis)
- I want all parts of “text” that are above the “bar” (in the y-axis) to be visible but all parts of “text” that are below “bar” (in the y-axis) to be hidden.
- I intend to animate “text” so that it starts (hidden) beneath “bar” in the y-axis and rises up to be revealed as it rises above the “bar”.
- because the text is tall and the bar is thin, the bar doesn’t even come close to covering the bar. In fact, I could replace the bar with just a single horizontal line in my example.
If not for the background, I could use a plane in a masking layer, which properly masks the “text” but of course, it also masks everything beneath it in the z-axis which includes the background.
Is there a simple way to make a mask layer (or better still a mask object on a mask layer) apply only to a single object? Or can I make other objects immune to a masking layer (or object in a masking layer)?
I’ve seen some tutorials on masking that do some seemingly complex things with the compositing editor but I’m still trying to figure that out.
The other issue is that eventually I want to save my objects and animation with the masking in place so that I can append or link the objects + masking effect + animation to future blender projects. The idea is to create a fancy text animation effect and then re-use it and edit the text again some other time in the context of a more complex scene.
This image might help. I want to mask the green text that is beneath the blue bar while not masking any of the orange rectangle.