3ds Max Motion Tracking | Add 3D Elements To Your Video Footage

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right I've been asked a couple of times this week how to add 3D to real video in particular looking at camera tracking and using 3DS Mac so here's a quick video of how we can do that I recorded this video and I'm just going to bring it into after effects and we'll create a new composition and we'll go to file export and we'll add it to the render queue and then we'll click on high quality and we'll change this to jpeg sequence and hit okay and then we will select I'm going to save it and save and we'll hit render and we'll let that render and then what we're going to do is add 3D camera tracking in After Effects we're going to export that out of after effects with a camera and take it into 3ds Max where we're going to put in our 3D objects we'll use a car and a uh Shadow catcher and then we'll line up the cameras and we'll set the light in and we'll render it out and then we'll bring it back into after effects do some slight color adjustments and then we'll have a car in our scene so the next thing we're going to want to do is go to effects and presets and I'm going to type in 3D camera track in and there it is and we'll drag and drop that onto our video clip and that's going to start analyzing it might take a little while depending on the length of your scene in advance we're going to put on detailed analysis as well and we are going to let this analyze so I do have a whole course about how to use this with Drone footage and putting architectural buildings into scenes so if you want to go deeper on this subject then check out that courses there'll be a link in description and when that's done we can see we now have all of these tracking points and if I hit play or scrub through the ti line we can see they appear so these are what we want to export so I'm going to select one of them and hit create null and camera and that's going to create a null and a camera and then I'm going to right click and what we want to do is select a few of these to bring to 3ds Max and I'd recommend keeping them on this flat plane so not up on the curb or on this wall it's just going to make our life easier so I'm going to create some noes and scrub through and I reckon like [Music] around 10 maybe 15 I mean you can't really have too many not solid we want a null and I think that should do it next we want to use a script from a e enhancers I'll put a link in the description to this but just right click and save as and we'll save that and then what we're going to do is go to file and we want to go to scripts and we will run script and there's our script so we will open that up and there's a few settings in here so we're going to export to 3DS Mac let's rename this we'll call it Road tracking and I'm also going to go to options we don't need the add four views for new May scene and I'm actually going to change the scale to 1 to 10 and we'll hit close and then all we have to do is select all our Nos and our camera and we'll hit export and that's going to go through and Export each one of them NS as you can see and the camera so now over in 3ds Max let's bring in our viewport background so I'll press B on the keyboard and we'll go to use files and animated background and we'll go to files and we will find where we saved that jpeg sequence from earlier and we'll click on the first one load as sequence and we'll hit open and just note that there's 346 frames here so I'll hit okay and we'll apply that to the active View and we'll hit okay something you're going to want to make sure you have on in preferences and viewport is update background whilst playing and we want to make sure I know that we recorded that video at HD so we can see the outputs on HD and 1920 so make sure that our dimensions are the same shift F will turn on safe frame so this is uh what we'll render out and finally time configuration let's make sure that that is on 346 frames so then we've got our whole animation in here playing next up let's bring in a car and let's create a plane as well so this will be like our shadow catcher so it will help ground our 3D object into our video and let's open up Cosmos we'll use V today but if you wanted to use Corona let me know and we can use that in future and let's import a car and whilst I'm here I'm also going to import a hdri and let's make sure that our plane is big enough to catch all the Shadows so something like that should be all right so we've got our light we got our Shadow catcher and we've got our car so now let's bring in the camera and our tracking points to do this I'm going to press contrl a to select everything and we'll just hide it for now and then we'll go to scripting run script and there's Road tracking which we made earlier and if I zoom out we can see we've now got a camera and all the nodes if I go to camera viewport you can just about see make this bigger we can see our nodes here and when we press play they stay in position which is great but you can also see our grid is here so if I go back to the top view you can see our camera is pointing down and one thing with the tracking is that it can track the points against the video but it doesn't understand like where the camera is in 3D space or even the scale of it so what we want to do before we begin turn or key on and off because there's something about this script that will have aut key on that you can't see and it will mess up later so just make sure you take on auto key on and off and then with all of the nodes and the camera selected let's group it and what we want to do is let's rotate this and this darker line is our ground this is why we did it all on the flat ground rather than up on the curb and walls is because we want to make sure all these noes line up as best as possible on this black line if your 3D model is kind of flying around in the scene it's because these points aren't grounded so just make sure to check them if you're having issues and now if I unhide all we can see our cars over here the scaling is probably not right but if we think about it we want to rotate our camera like this and then you can position it in the seam then we also can scale this up or down so just eye bullet and then you'll see because we scouted it this has come off the ground if we played it the car is going to be kind of flying around all over the show so just make sure that that's grounded and this is uh yeah a little bit of eyeballing so might take some time so just take your time to get this right all right so with a bit of trial and error I think we've got this in our scene one thing I forgot to mention is the camera is brought in as a physical camera so if we open this group you want to go to vray converters and S converter and just change this convert standard cameras to physical camera and hit convert and it's going to convert camera into a vray camera and then I'm going to change it from physical exposure to exposure value and we'll just put down six for now and something else we'll want to do is change this plane into a shadow catch up so they'll catch the Shadows from our object and it will help it sit into the video a lot better I also modeled a little bit of a curve onto here as well so if we run an interactive render we can see that the scene is super bright and it's using that hdri and our camera so what we can do is open up the material editor and let's create a new VR bit map and I'm going to load up a photo I took of the area and let's make that spherical and then we'll select our hdri and so instead of using the hdri image we're going to actually use this photo I took it's a bit of a hack I've got another video about another way of doing this is that's also worth checking out so if we run an interactive render we can see that our photo is in the background and if we rotate this let's rotate it by like 9 and see where we're at so we can see that really bit we want to flip this image basically and then rotate our hdri into a bit of a better position we can also turn on ground Pro projection prep scale this down a little bit yeah and I think something like that will work all right and then what we can do is add a background and you can't actually load up image sequences here so we're just going to load up the first frame of our animation and then the last piece of the puzzle is make your hdri invisible and there we have our car in the scene and then what else you can do is add like a filmic Time map and some curves just to the car to help it sit a little bit better and then something else would be add a VR noiser render element and now all it's left to do is uh turn on active segment so we'll choose where we want to save this to we'll create a new output folder and we're going to save this as a PNG and we'll hit save and we'll hit render and I will come back once this is rendered so I loaded in our jpeg sequences the back plate and then I loaded in our renders and on both of these I adjusted the level a little bit um and then I added an overall adjustment layer with some color correction and some noise as you can see our 3D is sitting within our video pretty well and if you like this video then I think you're going to love this video
Info
Channel: Jake Denham
Views: 6,930
Rating: undefined out of 5
Keywords: luxury visuals, 3ds Max, 3d max, tutorial, 3ds max tutorial, Vray, V-ray, rendering, render, renders, Digital Artist, 3ds max modeling, v-ray 5, vray 3ds max tutorial, vray next, 3d artist, 3d image, 3d render, 3d visualization, artist, cgi, corona renderer, materials, post production, training, 3d artist, 3d artist portfolio, how to do camera tracking in 3ds max, 3d camera track, 3ds max camera tracking, camera tracking, after effects camera tracking, vfx breakdown, 3d tracking
Id: jElKmbZyJ0s
Channel Id: undefined
Length: 11min 14sec (674 seconds)
Published: Wed Apr 17 2024
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.