Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Getting the mask values of vertices

  • Getting the mask values of vertices

    Posted by John Percival on July 10, 2011 at 4:38 am

    Is there a way to get all values of all vertices in an animated mask layer?

    I would like to read all the values of those points as they update during playback of the CTI.

    For example, storing all vertices of the mask in an array and get the individual value of the position property of the first vertice in the array. Doing this for vertices 0 through X.

    I know this would be a LOT of data but is it possible? Dan? Anyone?

    Let me know if you need more info. Thanks.

    Ryan Paterson replied 13 years, 11 months ago 3 Members · 3 Replies
  • 3 Replies
  • Dan Ebberts

    July 10, 2011 at 8:49 pm

    You’d have to run a script to get access to the vertex data. You could write the values as Point Control keyframes. Or, you might be able to save it in the parameters of a layer marker (only three parameters show up in the marker UI, but I don’t think there’s any limit to the number you can add with a script and access with an expression). You could also write the data to a text file and use the $.eval() hack to get the data into the expression. That’s all I can think of.

    Dan

  • John Percival

    July 20, 2011 at 12:50 am

    Thanks for the response, Dan. I will see what I can come up with.

  • Ryan Paterson

    June 18, 2012 at 9:21 pm

    just looking into this myself… is there a script available anywhere that will get access to that data?

    don’t know how to do any scripting 🙁

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