reading the lenght of a mask !
Posted: April 21st, 2006, 1:47 am
hye everyone,
I need to calculate the lenght (in pixel) of a complex mask and i think this can be very useful in a lot of other stuffs.
here is my original post on the cow:
http://forums.creativecow.net/cgi-bin/n ... tid=876431
I have only find this way:
(...My idea was to use the ability of AE to exchange data between mask and spatial position. Let me explain: with a spatial position, we can find a speed so a number of pixel by seconde... if we know the duration, we are able to know the lenght of the path, and the lenght of the mask !!!!!...)
The purpose of this post is now to find a way (probably a script) to automatically convert the mask to the spatial position... to avoid a borring copy/paste everytime !
Let's have a look on http://www.apt-a.com/cow/dotted_lines_AE7.aep
I need to calculate the lenght (in pixel) of a complex mask and i think this can be very useful in a lot of other stuffs.
here is my original post on the cow:
http://forums.creativecow.net/cgi-bin/n ... tid=876431
I have only find this way:
(...My idea was to use the ability of AE to exchange data between mask and spatial position. Let me explain: with a spatial position, we can find a speed so a number of pixel by seconde... if we know the duration, we are able to know the lenght of the path, and the lenght of the mask !!!!!...)
The purpose of this post is now to find a way (probably a script) to automatically convert the mask to the spatial position... to avoid a borring copy/paste everytime !
Let's have a look on http://www.apt-a.com/cow/dotted_lines_AE7.aep