Copy link to clipboard
Copied
Hello,
I'm facing a big issue with my after effects project. I recorded a mountain scene from Google earth, and I would like to animate a path in the mountain.
For that I used the camera tracker to set up some points of the mountains (works perfectly), and now I would like to draw an animated path passing by these points (like a typical animation travel path). And I'm unable to do that.
Here are two screenshots of my video to make myself clear. The camera is moving around the mountains, and the track points are working fine)
Any help/ tips to achieve this will be highly appreciate.
Thanks.
François
Copy link to clipboard
Copied
I think you don't have a clear understanding of how camera tracking works. Your points don't move, the Comp Camera Does. Here's how I would approach the problem.
Open up 2 comp views and dig around in the second view to figure out exactly where in 3D space all of your tracking points are. If they are sticking to the surfaces well then each of the anchor points and position of the layers will be in a different 3D space. You should also be able to see this in the timeline by just looking at the transform properties of each layer. I suggested the 2 views because it is a little easier to visualize in a custom view where you can move the Custom View camera around using the Camera tool.
When you use a shape layer or draw a mask path they only exist on the X Y plane on a 3D layer. This means you'll need a new layer to go from one point to the next and you'll need to orient the layer to look at the next layer in the timeline. Did you follow that?
Here's what I would do.
If I had a little more time I would give you an expression that would tie the x scale of the layer to the distance between the points or get really fancy and tie the size of a rectangle with trim paths applied to the distance between the points. It would probably take me an hour to figure that one out.
Maybe that will get you started. This screenshot may help:
There are other options including this idea: Flying A Kite, a tutorial and example I put up a million years ago on a dead website. The technique is a little different but the expressions will still work. Those expressions would adjust the scale so the line always pointed at the anchor point of the next point on the map.
There is another option using the Create Nulls from Paths in CC 2018. It doesn't give you a true 3D line but it might be quicker.
As I said the line isn't 3D but it will tie the line to the anchor point of each of the markers on the map and it will only take a couple of minutes. The comp looks like this:
Copy link to clipboard
Copied
Thanks a lot for your help, it's very kind.
i'll try to follow your instructions and make it work !