Skip to main content
Participant
February 24, 2023
Question

Tracing the path of a moving object filmed with a moving camera

  • February 24, 2023
  • 2 replies
  • 1611 views

Hello there!

I'm trying to trace a path that follows a moving object. I've managed to get a nice effect using a particle system linked to a null that has tracked the motion. Nothing was hand animated, it's 100% position tracking. You can see the result here:

https://www.youtube.com/watch?v=915G6XPNnmo

 

How would I go about doing the same thing with a moving camera (let's say, a simple arc around the person)?
I know I can recreate the camera movement with 3d camera tracking, but would the particle system leave it's trail in 3d space (with depth variation?) I get the feeling that it would track the motion, but in a 2d plane... Is it possible? Should I track the camera first? The moving object first? I'm kinda stumped...

Thanks!

This topic has been closed for replies.

2 replies

Community Expert
February 24, 2023

The most efficient workflow depends entirely on the shot. Camera Tracking requires a fair amount of fixed geometry (objects that don't move) to be in the shot. If you were to walk around the same actor on the same set that you have in the example, there would be very little to track because there is nothing on the wall, and the actor is moving around a bit. 

 

You would still need to motion-track the actor's hand. Mocha AE would be my tool of choice for that. You would also need to do some rotoscoping work to separate the actor from the background so that the particles could go behind the actor as the camera moves around him. That would require you to at least estimate the camera movement. If there is enough detail on the set you use, and the camera move is carefully executed, you should be able to pull it off. 

 

The composite would have you place 3D layer as a guide layer in the same plane as the actor to verify that you have the camera move properly tracked. Once that is done, the coordinates for that layer would be used as the center of the particle system's 3D world on a 2D layer. A rotoscoped copy of the original footage would be used as a track matte to hide some of the particles as the camera moves around the actor. You'll probably need more than one copy of the particle layer, one for the particles between the actor and the camera, and one for the particles behind the actor. 

 

If you have a sample shot that shows the camera moves I can be more specific on the workflow. 

MarkalarkAuthor
Participant
February 24, 2023

Ok, here's a new file that shows a bit of what I'm trying to do...

https://youtu.be/nE5SKFk_H3I

WHAT I CAN DO

-I can track an object (in this case an orange pencil sharpener attached to a moving fan - Nobody was home to help me!)
-I can wiplink a particle system's emitter position to that tracking null's position so that it traces that object's position and leave a trail in 2d space

-I can track the camera's motion (see the Orange solid with a T on the table in front of the fan)

WHAT I CANNOT DO

-Have the particle trail remain at the position of the tracked object in 3D space. I don't know how to go about in doing so.

 

Thanks for the help!

MarkalarkAuthor
Participant
March 3, 2023

Mocha Pro can do the kind of tracking you want to do, but it is incredibly complex to mix camera tracking and motion tracking. 

 

Your sample shot would be a lot easier to use for a demo if you had not added the particles. 

 

Another approach would be to motion-stabilize the fan so it does not move, add your particles to the motion-stabilized fan, then put the motion back in the shot. 

 

When you shoot something like this, understanding the mechanics of tracking and blocking your shot, so you don't back yourself into corners is the most critical part of the workflow. You can end up with a shot that takes several days to complete or one that takes a couple of hours. 

 

If you want to share a sample shot without added particles, I may have time to throw together a simplified tutorial. 


Yeah, it would be easier, but the entire point of this shot is to trace in 3d space a moving object. If you have another way than through a particle system, I'm all ears.

Cheers!

Mylenium
Legend
February 24, 2023

It would work the same, but of course the tracked position would be a result of both motions combined and not necessarily physically plausible. You may need some expressions to subtract the camera motion. Really depends on the specifics of the shot and what you can get away with.

 

Mylenium