Motion track everything in blender with this vfx trick

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Mouse VFX starts with motion tracking and this is what we're going to be learning today I'm going to show you how you can turn a simple shot like this into what you see here we add a spaceship extra buildings like this and flags waving this is the original you can see we don't have any extra buildings we don't have a ship we don't even have other flags or anything like that I'm also going to show you how you can track this to turn it into something like this so basically a way to to add anything you want into any footage you have can see we have the spaceship and I'm also going to show you how to mask different parts of your footage so that you can add things into the background of your video so for example I want this spaceship to be in the back of this building so I can just add an extra layer to make that go in the back so you can go to VFX motion tracking and get any footage you want going to use use this building and I want to track about 120 frames yeah so we can start right away the way I work when I'm motion tracking I like to subdivide my screen into four parts like this so four sections like this and track them individually just a way to keep track of what I'm doing so uh we're going go to the track and add about 20 tracking points for each section and I track them separately this building has some good areas for our tracking points so I'll say that those up and I can also add a few there just spread them a bit in different areas just make sure that the areas you you add don't move or or don't get obscured too much or abstracted too much so add one ta light so then I can select all all of these using B to box select and I can track forward by using this okay you see things have truck properly I think in that area but I'm seeing a spike here around here so if you select that Spike you can see the the tracking point that is going off his Original Point you you set it so you want to avoid those abrupt jumps so I can but I still want to use that tracking point because from here it looks fine it just goes off about here so I can just select the tracking point and make sure it's the only tracking Point selected and can use this delayed clear path clear path it will clear everything after that so now that tracking Point only ends there where it's where it's okay now I can go into my second section at about 20 so maybe there there window Corners are very very great these tracking points can also be used later to position your objects I'll select everything and track forward again I'm seeing some spikes in different areas especially on this so around here it jumps up so I will delete H make sure you don't delete everything select everything and select the specific track you want to delete and I would delete everything after that Spike let me see if there is anything else and see this here it seems to have a we fall off so just going to end there and remove that move forward I'm seeing this Spike here another jump there so I'm going to get rid of that that seems okay except I can also come up here in the third section and I just so the more good tracking points you have the better so if you have areas of high contrasts like we do here take advantage of them if you want to add more tracking points you can but I think this is good enough so after you do that you can go to the solve section and solve camera you always want to go to a solve error that is less than5 or less than one but anything below5 is going to give you really good results uh you may want to also add some tracking point to anything that is on the ground like these marking lines because you can use that to set your flow or your X and Y axis so I'm just going to add a few tracking points to these these and these cars that are packed you don't want to track moving objects like cars but cars that are packed somewhere are those are good so and uh at this stage here you might want to also add just tracking points on areas that you might want to place objects so for for example I want to add a flag here so I can add a tracking point there there may be a flag there and maybe also something there I could I can also add something on that building this building here we could add some stuff so I will add more tracking points after you solve you can use set background to set this as the background if you see this is coming out as purple just make sure that you on frame one so that you can see something and uh we can set up tracking scenes so so you can see now if we play back we should see that all our points are perfectly lining with the buildings with that uh we can also just select all the control points and under reconstruction use 3D markers to mesh and that will set up these 3D markers as as a mesh object in our scene and one last thing we can do is select any of the points on your ground like this and set it as let's say see what direction this would be this would be the Y you can see that green line so as the Y AIS and we can also set it as the origin now you can see that everything perfectly moves along our scene so I'm going to delete this and let's say I want I want a person on this building to be moving I can tab into edit mode use shift s to have my curser at that point and then Tab out of edit mode and now what I can do is add any object I want so I want a character so for a character I have this animated character and uh let me show you how this looks in Eevee or in Cycles so if I go to EV when we clicked this uh set as background blender went into our compositor and set everything up so if I go to the compositor you see that we have a bunch of nodes but we not be able to see the results here so let's make sure that we are go to the viewport shading and turn on the compositor to be always on so now you can see that we have a character up there but it seems like he's floating and the reason for that is because if you look at the viewport here and you try to move the camera you can see the the viewport doesn't scale with the footage uh first make sure in the compositor there is this node this scale node make sure you set it to fit so that the background is the same size as your view area so if I expand this you'll see it expands but your camera will still be able to be zoomed in and zoom out which will remove the aligning of your view of your viewport with your camera zoom in a bit until you can see that it at least matches and uh now that will reduce on the floating if you zoom out again you can see it will still float because now the your camera is not the same scale as your viewport your camera is still going to be matched with your footage when you render but it's just in the viewport here it's free to move which misaligns it with your footage just make sure it's at least close when you're previewing things but when it's time to render it won't matter now if you go to cycle you see that we don't see the background and the reason for that is because are we still rendering our sky so you can go to the render settings you can go to the render settings scroll down to film and turn off transparency and if you play back you can see they're moving with your world another thing you can do is add some lighting using a sky texture and uh if you have the quick functions add-on my add-on quick functions you can go to it and use the link sun to to Sky to have a certain object that you can rotate around and it aligns the world sky with your sun now we have our character in our scene but he doesn't cast any Shadows so I can go to any points on this building because that's where we want to cast our shadow tap into edit mode select a point shift s to cast c it selected go out of edit mode add a plane and I just make sure it lines up with with this so I'm just going to select this Edge yes have it there push this that and also this around there now you can see that it's impossible to line up all the edges correctly because sometimes the buildings are not perfect squares uh so I'm just going to just go into edit mode and try and match these edges and I think this building slops a bit in some areas than in other areas so try to line up line it up that way you can see it decently matches now you can see capturing the shadow we still see the plane we don't want that so we can go into the object visibility and use it as a shadow cure that way it can capture the shadow but not but not itself another thing I want to do is make sure that this character is standing directly onto the floor so that the the Shadows match you can also add them to your scene so I do something like this I can see everything matches correctly so you want a waving flag here you can just select this point add a pole maybe let me just use Cube like this me add in some Stripes let me do a quick render here to show you how this looks okay so here is what we have rendered you see see the building is properly planted onto this other building and our waving flag is there we could have made it a bit smaller but yeah you get the point yeah that's the same way I made this entire scene I just added a few extra buildings some jets flying away and uh this spaceship in the background if you want to look at the different settings I used for this scene and the scene itself check out the project files in the description on my gumro patreon and my YouTube membership if you want to see more stuff like this make sure sure to subscribe to the channel for more content thank you
Info
Channel: TopChannel1on1
Views: 15,453
Rating: undefined out of 5
Keywords: blender, blender tutorial, blender 2.8 learn blender, 3d modeling, live stream, blender addons
Id: 8BD0aJzCF5M
Channel Id: undefined
Length: 10min 32sec (632 seconds)
Published: Sun Feb 11 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.