How to a Add 3D Object into your Footage in Blender

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
I'm going to show you how to put a 3D object into your video using the camera tracking features in blender and if you want to follow along with me in this tutorial click the link below to download this exact video clip so open up blender and go into the motion tracking tab by clicking here then here you can either drag your footage in here but I'm going to click open and select our video clip the first thing I'm going to do is click on set scene frames so that in and out points matches the length of the video clip then click on prefetch to load the clip into memory then under tracking settings I'm going to set the motion model to affine and the match to previous frame our fire takes into account the perspective changes in the short and previous frame basically just tracks the pattern from the current frame to the next one then I'm going to tick normalize this makes sure that if there's any changes in light in the video clip the track is not affected by it now that's done I'm going to go to the first frame by pressing shift left arrow and then click on detect features now these boxes on the scene are tracking markers they track points of contrast within the clip now I want more tracking markers so I'm going to click on this little tab on the bottom left and I change the threshold to 0.1 I'm gonna change the distance to say 50 and I'm going to set the margin from the edge of the frame or the borders of the frame to about 50 pixels now if you go into our tracking setting over here we need to set the value of this margin lower than the value of the other margin so I'm going to set this to about 40. now I've ordered marker selected I'm going to press Ctrl T to track forwards yeah brilliant once you finish tracking forwards making sure all the markers are highlighted and if you want to highlight all the markers just hover your mouse over here and press a now I'm going to press h to hide them all and while still being on the last frame I'm going to once again click on the tech features to bring up all the tracking points and I'm fully happy with these tracking markets so I'm going to track backwards by pressing shift Ctrl t or Ctrl shift T nice next I want to reveal all the trackers so I'm going to press alt H to bring up all the trackers now we have a couple trackers that are problematic for instance maybe these ones here that follow the cards so what I'm going to do you can either delete them manually by selecting them and pressing X to delete or you can also click on solve right here foreign to get rid of any glitchy tracks or tracks that have high error value I'm going to click on filter tracks and as you can see it's selected all the markers that are glitchy so all I have to do is hold my mouse over the footage press X and delete I'm going to go halfway throughout the clip and select filter tracks and there's none and just to make sure I'm gonna go to the last frame and select filter tricks and there's none shown up so that's good okay so next while still on the solve tap I'm going to select focal length and optical center then for keyframe A and B so you want to pick a frame range where the camera is moving a lot so blender can actually track the shot so I'm going to pick a frame rate between 100 to say frame 180. I've just seen some tracks that are wild so I'm going to delete them now like so get rid of this that one yeah that's cool that's fine now I'm going to click on solve camera motion and we have a solver of 0.35 which is fantastic any solve variable or pixel is good and anything below 0.5 is great any solve error above one pixel is not a good track I wouldn't use it now in the scene setup on the left click on set as background and as you can see it puts the video in the background of the camera then I'm going to select setup tracking scene next I'm going to hold shift and select these three tracks and click on floor to set the floor plane now we're going to set the origin of my scene by clicking this track and selecting set origin just to make sure that's the middle of my scene I'm going to delete this Cube and I'm going to go into the layout view so I'm going to click this tab then I'm going to press zero on my numpad to look through the camera and I'm going to click this little 12 down button here and I'm going to select 3D cursor once I've selected 3D cursor I'm going to make sure my camera is highlighted and I'm going to press R for rotation and I'm just going to line up the camera's perspective so that the y direction is going along the road and the x is going across the road just like that in this field just so it lines up like that that's perfect so let's select the 12 down button again and select a bounding box center next I'm going to change the scale and I'm going to move the plane about here yep that's nice that's perfect I'm happy with that now I'm going to press spacebar just make sure that the plane is sticking to the ground yeah that looks good now we can easily put a 3D object into the scene I'm going to press shift a mesh and select the monkey I'm going to place the monkey so that it's kind of facing the camera also so that it's just sitting above the plane yep that's good I'm gonna decrease the scale a bit yep perfect now I'm going to go into render view by either pressing Z then clicking render now as you can see we can't really see the video footage but to show the video clip click on the render properties tab go to film and select transparent and we can now view the clip through the camera now as you can see we don't have any Shadows cars that's because we need to bring the ground plane from the ground collection into the foreground collection so I'm going to do that I'm going to change the light to a sunlight by clicking on this light and clicking on the light properties and selecting Sun I'm going to decrease the power to about three or five and I'm going to change the angle to match where the sun is coming from in our clip and I'm going to change the angle so that the Shadows aren't so harsh nice perfect now there's a lot of other things you can do to increase the realism of this object fitting in this clip like adding realistic Reflections lighting with a HDR right adding blur and clear but I'll cover that in another tutorial there's also several other ways you can track a more difficult shot and I'll also covered it in another tutorial but for now I hope you learned something new and any questions let me know and I'll see you in the next one take care cheers foreign [Music]
Info
Channel: Jermaine Grant
Views: 23,503
Rating: undefined out of 5
Keywords: jermaine grant, blender, blender 3d, 3d, 3d software, tutorial, blender tutorial, motion tracking, camera tracking, blender camera tracking, blender camera tracking tutorial, intermediate tutorial, blender basics, intermediate, how to track camera in blender, vfx, cgi, vfx breakdown, cgi breakdown, beginner blender tutorial, tutorial series, blender tutorial series, the basics of blender, blender guru, tracking, track
Id: P4XDpsVVHHo
Channel Id: undefined
Length: 6min 15sec (375 seconds)
Published: Tue Jan 31 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.