3D Motion Tracking Tutorial - Boujou

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys what's going on Tom to you with another tutorial type thing and in this one I'm gonna teach you guys how to 3d motion track now this is probably my favorite effect utility type thing to do basically what it is without getting too complicated is you take your footage you do some stuff to it and then you basically get a 3d camera that follows your actual camera movements now why is this useful it's useful because you can align stuff to your scene so you can put 3d objects in your scene so you can pull like you can put a robot coming out of the ground you can have like 3d objects interacting with like actual people like you shaking the hand of like a 3d model of Obama or something I don't know I I'm just gonna show you how to like put a cube in the scene a 3d cube and basically you can do whatever you want I mean there's no real limitation so I guess we can just start now so what I'm gonna do is I'm gonna take my footage make a composition and this is my footage it's me just kind of going around this uh patio type area and you see there's a lot of like camera shake and that's intentional obviously the less camera shake you have the easier it is to track but I just want to show you guys how effective this technique is so BAM now a few things you want to keep in mind while you're filming I just want to go over this you have an easier time tracking have good lighting so it's easier to see um spots on your footage so good lighting a very high shutter speed so like one over like 125 one over 160 so you have more frozen frames less motion blur and if you can take your ISO as low as you can it's not really gonna be that big of a deal but you know if you have ISO like a hundred you're golden I think I'm running one over 160 and I assume 200 um in this footage so the lower you can go the better okay so once you have your footage in oh you really don't have to do much with After Effects all you have to do is go to composition pre-render and then just save it as a JPEG sequence now the reason I'm doing a JPEG sequence is Buju which is what we're using to track uses image sequences not video to track so you have to export it into a JPEG sequence I guess you can also do like a PNG but you know JPEGs find max quality and then just export that to wherever you want but I'm not gonna do that cuz I actually already exported it so once you're done with that and you have your whole sequence exported open up boos you and this is what bougie looks like um it does look kind of intimidating but you know it's actually probably one of the simplest programs I've introduced you guys to probably simpler than After Effects so we want to do is go to import sequence go to browse Network and then just go to the directory where you saved your sequence for me I think I called the test sequence and then select the first image in your sequence it'll be whatever the name is underscore 0 0 0 0 make sure you select the first one and then click open so now we're almost done but we need to specify a few more things first we need to save the move type so it's either free move or a nodal pan a free move is when you just take your camera and kind of like go willy-nilly just pretty much what I did and that's why we're selecting free move a nodal plant pan is when you're using a tripod and you're just kind of like tilting the camera without actually moving it generally a free move is easier to track and that's what we have make sure your frames are sets if mines like 128 frames we're gonna start from frame 0 and then make sure your frame rate is whatever it is mine was like 29.97 and then click apply okay make sure everything's good and then click close see see now we have our footage imported make sure that works out well you can just scrub through here and now what you want to do is start tracking so to do that click track features go to advanced and you see we got all these points over here I'm can i enlarge in this now so we have all these points here that kind of signify where it's going to track you can increase the sensitivity which will give you more points but it will also give you some inaccurate points you want to keep it about sixty percent to fifty percent sensitivity my feature skills gonna be normal I think that's I think that's about good so then click start tracking and then you see we get all these like red red plus signs with yellow trails now what these are um these are track points and the yellow trails signify where they're moving between each frame you see they're all moving to one side that's because the camera is tilting to one side and what it's gonna do is it's gonna use all these points to kind of calculate or average out a 3d camera and obviously a point that's closer to the camera is gonna move more than a or less than a point that's further away because of parallax and stuff like that so I'm depending on how long your shot is it shouldn't take that long just make sure at all times you have at least fifty track points if you don't you may need to reshoot with a higher um with a higher shutter speed and a lower ISO I mean or just get like a better scene some areas are pretty hard to track okay so we should be done now um then you can just scrub through here you see we have like a mess of points and the more points you have generally the better you are that's not always true but make sure the points cut the trails kind of accurately show your camera movement okay so the next step is actually solving your camera cuz right now we just have points but we don't know really what they mean so go to camera solve make sure you select all frames if you want all your frames a sequence one and then you can actually optimize camera path smoothness which means um usually want to track so it's gonna be very jagged because you vibrate with your hands the camera is actually moving a lot but if you click this it's gonna smoothen it out and give you a better track so I would recommend enabling this and then quick start now it shouldn't take that long depending on how fast your computer is I think we're about done 86% you see we actually have a progress meter okay so we're done tracking and you see we now have these a blue and yellow dots now what's really cool is if I click play they actually stick on to my footage pretty well actually a good a good place to look is right here on this ugh box thing they're actually tracking on very very well now what the yellow dots mean is there are track points that you can see at the time that are active and blue points are inactive but you see as you play some blue points become yellow because you know they're activating so pretty pretty much just we have a pretty good track but you do see like a few points here aren't really following the grass so what we're gonna do is we're gonna have to adjust our tracks so go to 3d tasks go to solve tools go to filter structure this is gonna do eat all the bad points so I only want to keep 50% of my points and you see deleted some of the really bad points and then whenever you make a change you just want to adjust your camera so go to solver just then just enable smoothing so you get a smooth track and let that just calculate okay and there you go we now have a adjusted solve so some of the points have been moved and if we click play we have a rather smooth track not bad you see at the end here um the whole thing kind of tilts over that that's because at this point we only have like four points tracked on but that's not a big deal there are ways to fix that but of course this is just a tutorial um if you want to fix that just continue adjusting yourself and also improving the quality of your footage I mean I could I could definitely have fixed this but it's really not at the time you know we could do we could undo the adjust and you see now the points are kinda kind of better I mean anda just kind of screws it up sometimes but you see now we are whole footage sticks on really well so there you go we have a a camera saw now you guys are like yeah we've got a camera solved but we don't have 3d objects in that's because we need to specify our geometry so what you want to do is go to scene geometry and then what we're gonna do is pretty much specify some like dimensions some points so just click any point you want just that are left click and then click Add coordinate and this is gonna be our origin so connect update and if I enable my ground plane you see we actually have a plane now a plane and it's not really following our ground it's just following the origin points so what we got to do is define some dimensions so here's what we're gonna do we're gonna select two points and you see these are kind of like in a line right here in the z-axis like the depth axis so select those two add coordinate and then say that is the z-axis and then update and you see our ground plane updated again obviously it's still not right so we're gonna add a point here and a point here and you see it kind of makes like a cross and this is gonna be our x axis so X is left to right a Y is up to down and Z is forwards to backwards so what we're gonna do is add those two points and that is gonna be our x axis and you see now our ground plane is actually tracking on quite well just play through that and make sure I mean it's not gonna be perfect you could always adjust yourself you could always adjust your composite I mean I guess we could also add a y-axis but it's not really necessary because all we're really doing is tracking the ground plane so I said I'm saying that looks pretty good of course if you were actually doing this for like a production or your own project you should probably spend a bit more time on it so now let's actually add a 3d object so go to add test objects and by default it's gonna add the booze you ladybug and you see if we click play now it's actually sticking on really really well of course until the ending where I kind of like lopsided the camera a smoother camera guys it's it's really gonna help so I mean unless you really want shaky footage district 9 style I mean there you go we have our test object I mean we could always add more test objects like let's say I wanted a let's say I wanted a pyramid apply you see now we see the corner of the pyramid to actually get it to move what we need to do is go into the 3d view just click 3d and you see we actually have a 3d model now and you can actually see our camera move now which is actually really cool so this is what a Buju sees in our geometry you see this up cluster of points over here is actually that a box thing from before so that's pretty cool um how do we zoom in there you go just hold shift to do all this so select your pyramid then go to move and you can actually move this in a 3d space so if you go back to your 2d you see now the pyramids kind of back there and if we point the pyramids actually sticking on as well and you can put it anywhere you want you can put it on that box thing like that cylinder box saying it doesn't really matter so there you go guys that's how you camera solve hopefully this helped you guys out with your projects if you enjoyed good for you congratulations high five probably in the next tutorial I'll teach you how to bring it into a 3d program or you can actually animate stuff and do more than just like putting a cube in there you can have stuff blow up in 3d you can animate fluid or liquid it doesn't really matter but you can do a lot of cool stuff with this with this so make sure you nail this down this is a really hard concept to understand but once you do it's very useful to used in a lot of movies so hopefully you guys enjoyed and I'll see you guys on the next one bye-bye
Info
Channel: Jonan Glaron
Views: 20,266
Rating: undefined out of 5
Keywords: 3d motion tracking, matchmoving, boujou tracking, 3d tracking
Id: obznaoPLLYg
Channel Id: undefined
Length: 13min 22sec (802 seconds)
Published: Mon Jan 20 2014
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.