2

In After Effect, I tracked a moving object in my Video with the Motion Tracker. There I got Keyframes, which I want to use. Now, I would like to show the path of my object in the Video. I thought to use the stroke effect, to get one stroke that is builded when it "follows" my object. The goal is, that the stroke shows in the end the path of my object.

Do you know how to accomplish this task? I don't now how to modify the position keyframes from motion tracker that I can use them in "stroke". (Thought also to interpolate them with bezier, but what's next?)

Thanks for your help!

Max

2 Answers 2

3

Select the motion keyframes & copy. Now create a new mask on the layer on which you have the stroke effect, any old mask shape will do. Set its mode to none. Now select the mask's Mask Path property and paste. The mask can now be used to provide the path for the stroke effect (it's the first property in the stroke effect). You have to directly select the Mask Path property, just pasting it on the layer will paste it to the position property of the layer.

paste on the mask path

Because there's always more than one way of doing things in AE:

You can also create a shape layer with the pen tool. Once you've done expand the new shape layer until you see the Contents>Shape 1>Path property (it could be called Shape 2, 3 etc) and paste the motion path on to it. Then you can use it as a normal stroked shape layer.

select this and paste

Note As Alyssa points out below, when pasting a motion path to some other property you have to explicitly select that property, otherwise AE will just paste it on to the layer's position.

1
  • Like stib said, make a shape layer and get to that shape 1/path 1/path spot, make sure you've selected path, and paste the keyframes. ***make sure when you copy the path go to EDIT then COPY. If you straight up ctrl/cmmd C it'll only let you paste in position. Mar 2, 2018 at 21:25
1

Not sure how to do this with the stroke effect.

But you can use a particle generator set the movement and physics to 0 and link the particle source to the trackpoint. This will generate a stroke of particles, and if you ramp up the amount of particles you can make a solid line.

1
  • 1
    That could be used to generate interesting particle effects, but it's a very computationally intensive way to draw a stroke, given that there's a couple of methods for drawing strokes built-in to AE.
    – stib
    Nov 17, 2014 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.