Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Access Mask Interpolation in script ?

  • Dan Ebberts

    April 8, 2017 at 12:05 am

    As far as I know, there’s no way to do that with scripting.

    Dan

  • Steve Sierra

    April 8, 2017 at 12:50 pm

    Thank you Dan !
    I’ll have to do it by hand, unless I can find a way to imitate it…

    Let’s say we have a mask interpolating between two different keyframes A and B.

    here’s what I’m thinking :

    first :
    – if both keyframes don’t have the same number of verticies, add verticies where needed.
    – if it isn’t possible, use (A+ 1 frame) as (A) or (B- 1 frame) as (B)

    then :
    – set keys at every frame
    – gather vertices order and position info at every frame
    – compare every vertice’s x and y position compared to the previous and next vertex at frames A and B (verticies V1-V2-V3)
    – if the verticies are in the same x and y “order”(xV1A&& xV1B&& yV1A&& yV1B

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy