...is at times VERY difficult.
I find myself in a situation in which, were the option to simply invert a mask present, would be child's play. BUT since it is not an option, I am having to try and figure out how to create this rig to emulate that sort of behavior.
Simple setup:
L3rd, made of a simple Quad, set to a width of 1920. The pivot point for this quad is set to -960, so that it is all the way to the Left Side of the screen.
I have a VL setup which drives the X Scale of the quad based on the bounding box width of the text which resides in said L3rd.
Then, I have a group object set to the same position as the quad, and am bringing the quad on by animating the X scale of that group object. This allows the easing of the animation to translate perfectly regardless of the length of the text.
All of this is working great. Where it goes off the rails is on the text reveal...
The text is meant to appear as though it were being wiped on in place by the quad. In After Effects, this is a simple matter of duplicating the animated quad, and setting it to be an alpha matte for the text, so that it only appears when and where the back plate is, no sweat. For this to work the same way in XPression, I would have to be able to set the mask to an Inverted state so the element growing on would reveal, but since I cannot do that, I have to make the opposite happen where the mask object moves off the text in a way that mirrors the quad scaling on, while also respecting the logic with respect to text length. I can get the inverse telescoping thing to happen, but animating the reveal is proving to be an exercise in frustration. I've tried all manner of things, dividing thus by that, adding this to that, subtracting one thing from the other, using a second group to scale the mask separately etc, but I cannot seem to get a repeatable, scalable behavior.... I know there has to be an answer, and it seems like it should be relatively simple, but it has eluded me all afternoon.
Anyone have any ideas?
Thanks in advance