FORUMS: list search recent posts

Copying mask point overtime

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Marie-Christine Laniel
Copying mask point overtime
on Mar 23, 2019 at 10:20:31 pm
Last Edited By Marie-Christine Laniel on Mar 23, 2019 at 10:20:51 pm

Hi there everyone!

I have a question that I had ask myself for a long time, and I can't find answer anywhere about this subject. Is there a way that when you're doing masking/rotoscoping, you could select a point from the path, and copy ONLY the point to overwrite the same point of the same path couple of frames later. So my point here is not to copy/paste the entire path of the keyframe, but only one point.

I hope that someone understand why I am asking this question. Especially when you are using the ''track mask'' function and you want one point to stay at the same place, not move, for a period of time. I really hope that I explained it clearly, thank you in advance!

Marie-Christine Laniel


Return to posts index

Eric Santiago
Re: Copying mask point overtime
on Mar 23, 2019 at 11:55:50 pm

I have never got that to work.
Similar to Maya as far as creating blend shapes.


Return to posts index

Marie-Christine Laniel
Re: Copying mask point overtime
on Mar 24, 2019 at 6:10:29 pm

Thank you both for your quick answer! Do you know any kind of alternative or script that could help for this purpose?

Marie-Christine Laniel


Return to posts index


Dave LaRonde
Re: Copying mask point overtime
on Mar 24, 2019 at 4:10:18 am

I think you explained yourself rather well... and the answer is "no".

Dave LaRonde
Promotion Producer
KGAN (CBS) & KFXA (Fox) Cedar Rapids, IA


Return to posts index

Steve Bentley
Re: Copying mask point overtime
on Mar 24, 2019 at 8:16:24 pm

You might be able to use the new node control. Write an expression that tests the time parameter: if time is between thistime and thistime, then the mask node takes the attributes from some static value (a null say). Outside of those time parameters the null would follow along with the keyframes set in the animation.



Return to posts index

Marie-Christine Laniel
Re: Copying mask point overtime
on Mar 24, 2019 at 8:35:27 pm

I am really not that good in expression, I wouldn't know where to begin unfortunately. But im really interested about the new node control, I never heard of it in after effects! Where do you find it in your after effects interface?

Marie-Christine Laniel


Return to posts index


Steve Bentley
Re: Copying mask point overtime
on Mar 24, 2019 at 9:22:42 pm
Last Edited By Steve Bentley on Mar 24, 2019 at 9:30:16 pm

Once you have a mask you can go under the Windows menu and scroll down near the bottom to find "Create Nulls from paths". From there you can choose either "points follow nulls" or "nulls follow points".



Return to posts index

Steve Bentley
Re: Copying mask point overtime
on Mar 24, 2019 at 9:32:31 pm

You could probably use MaskAvenger too - its a plug in on aescriptsdotcom. It gives you access to each point on a path.



Return to posts index

Steve Bentley
Re: Copying mask point overtime
on Mar 24, 2019 at 10:21:50 pm

Just tested the points follows nulls idea. It works.
You have to make two copies of your animated mask. One gets "points follows nulls" and one gets "nulls follows points". Then you can pickwhip the position value of the nulls AE generated that control mask (that has suddenly stopped animating because you used points follows nulls and the new nulls have no animation on them) and link those to the nulls AE generated that are following the first mask around. After you do this pickwhipping, both masks will be back moving around the way you have animated them. Then pick the one you want to stop moving and apply an expression to the null that controls that point (not the null that is following that point around)
It would be something like:

a=thisComp.layer("MySolid 1: Mask 1 [1.0]").transform.position // this sets a= to the position of the null that is following the node on the mask around
if(time>20 || time<60) { // this defines the spot in time (in seconds) where you want the null to freeze
b=[20,30]; // this sets the position of the null during the freeze (here's its x=20 and y=30)
}
else { // if not within your time parameters do the following
b=a; // set the null to the position of the null that is following the mask around
}

You could also have the null figure out where it is in time so it sets the static position correctly (using the valueAtTime() paramater.
In the first line of the code the "Mask 1 [1.0] stuff is just the index of the node point. So the third node would be[1.2] because the node indexes start at zero.



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]