Copy link to clipboard
Copied
Hey guys, I've searched and searched but can't find an answer to this particular question. I'm trying to animate a line along the path of a flying disc. I regularly do this from stationary cameras and use a solid layer with a pen tool drawn path. I generate a stroke and animate it with key frames along the path. Now, I'm trying to mimic this same effect, but with a camera that is zooming and following the frisbee through the air.
I have camera tracked the clip and have some good 3D tracking points. I selected three of them and created a null layer. On this null layer I drew a path that follows the flight of the disc through the air with the 3D tracking. What I cannot figure out is how to properly animate a line in 3D space that follows the flight of the disc. I tried creating a solid layer from the 3D tracked points, but the more the camera zooms in, the more the solid gets blurry and the generate stroke gets very blurry and doesn't work.
Is there a way to make a shape layer and attach it to the 3D traced path? Can I use trim paths tool to animate the line through the air while the camera zooms. The line will be leaving the frame as the camera zooms, and that is fine. I don't want the line itself to become blurry from zooming, but to just remain locked to the 3D tracked background.
TL;DR - Need to animate a line that follows a frisbee through the air. I 3D tracked the scene and created a null layer. Then drew a path on the null (seems to be paired to the 3D camera). The path zooms with the camera. I need to animate along this path without the animated line getting blurry as it zooms in.
EDIT: Something like this would be amazing. Hole-by-Hole flyover with ball trace animation sample on Vimeo
Thanks!!
Copy link to clipboard
Copied
Hi. Two thoughts: use a particle system that's creating a solid line as the emitter travels, or have a look at
Buy Red Giant Trapcode 3D Stroke | 3D Lines Plugin for After Effects
Copy link to clipboard
Copied
I will look more into a particle system, good idea. I watched some videos on the Trapcode 3D Stroke, but I'm not seeing how I would be able to apply it to a 3D camera that is moving without it still getting blown up in size. Hmmm.
Copy link to clipboard
Copied
Is your DOF (Depth of Field) enabled on your camera settings?
If its is the closer the camera moves to the object the more blurred it will get.
You can counter this by key framing the focal point of the camera
The zoom on the camera will also affect this so please check that setting as well
Mo
Copy link to clipboard
Copied
It is not. But it still gets blurred when it's moving in, and the stroke gets bigger. Is there anyway to have a layer be 3D, moving with the camera tracker, but not change stroke width? The camera does have a lot of zoom, from about 1000px to 20000px, so the change is pretty drastic. Looking for a way to draw a line that doesn't change width, but still moves around as the camera moves.
Copy link to clipboard
Copied
Did this test for you. Line remained perfectly crisp throughout the cam movement. No particles used. The line was a simple pen line drawn.
I will upload the vid tomorrow as its 3am here and I need to get some sleep
Mo
Copy link to clipboard
Copied
Just looking at your shot I would probably motion stabilize the shot so there is no motion in the shot, then just draw a path the way you want it to be, then add a null and tie the position of the null to the Anchor Point of the motion stabilized shot, then parent the path and the stabilized shot to the null. This will put the motion back into the footage and add the camera motion to the shape layer.
I think it might be a lot easier than trying to do some camera tracking. I would have to actually see the shot to be sure.
Copy link to clipboard
Copied
Rick Gerard​ I was wondering why the OP camera tracked with 3D points when I saw the pics. I also would just motion track but like u said it’s difficult to make the call without seeing the shot. Maybe it needs stabilization etc.
OP can u upload a small clip showing us the shot plz
Copy link to clipboard
Copied
Here's a sample project using this piece of Adobe Stock footage: 203730786 which looks like it has similar motion - moving down a highway....
You will find the project file here: Dropbox - 3D laser blast.aep
I split the footage on the section where I wanted the laser blast to happen, pre-composed to make Stabilize Motion easier, selected position, scale and rotation and tracked the two cars so the geometry between them would stay the same, Added a shape layer, made it 3D and rotated it in Y so the perspective matched the perspective between the cars, added a camera with a 35mm lens to approximately match the angle of view of the lens used to create the shot, added a glow and trim paths, added a solid layer with a lens flare for the transfer of energy, set a few keyframes and adjusted the timing, added the null and an expression for position, scale and rotation to the null, then moved to the first frame of the stabilized footage and parented the stabilized footage, the shape layer and the solid with the lens flare to the null to return the motion to the shot and add motion to the effects layers. Total time, about five minutes. About 1/10 the work of trying to use Camera Tracking to pull off the shot. The expressions I added to put the motion back in the shot have been saved as an animation preset. It was created right after AE added 3D layers to the toolbox and I can't count the number of times I have used it since then. I have more than 200 that I made and probably another 200 that I have bought to speed up my workflow. The sample project also demonstrates an important part of the workflow. I have only worked on the frames that are necessary for the shot by splitting the footage so I am only messing with the frames that will actually be in the final shot.
Here's a gif (created in Photoshop from a half rez lossless export of a portion of the project) that shows how it looks. Another 10 minutes fine-tuning the timing and polishing the effect and the shot would work just fine:
EDIT: I just noticed that I didn't match the OP's footage, I matched another sample. Maybe I'll run another project with a Frisby after lunch. The process would be exactly the same. Stabilize position rotation and scale, add the line, and then put the motion back in the shot.
Ok, 5 minutes with this footage: 126321339 gives me this: Dropbox - Frisby.aep
and it looks like this:
Copy link to clipboard
Copied
Nice one RIck. I’m going to grab that stock footage of the cars on the highway and see what I can come up with when I have some time. I have a few ideas playing around in my head.
Will you posted.
Mo