Hi!
My layer Effect is working with Masks.
For the moment, I get the PF_PathOutlinePtr from my mask, and mask my world with PF_MaskWorldWithPath. Everything works fine.
I can transform the result with matrices.
However, I'd like to make per vertex transformations on the mask (or at least, on the result, the mask needs not to change).
I have several methods in mind, but it's tedious, so any advice will be welcome:
1_Transform the Stream of the Mask before checking it out? It works, but it invalidates the cache, as there is a transformation on the mask itself.
Is it possible to transform the mask stream without invalidating the cache? In general, is it possible to perform transforms on a layer without invalidating it?
2_Make a "fake" PF_PathOutlinePtr? Is it even possible? PF_PathOutlinePtr seems read only... Or can we Mask a world with something else than PF_MaskWorldWithPath?
3_Create another comp, add a layer and a mask, make all the transformations, get the result and use it inside my effect, delete the comp?
On the paper it should work. But isn't it a waste of memory? I mean, creating so many things just to get rid of it...
Cheers,
François