Transcripts
1. Introduction: Lm is with it and
in this course, I'm going to teach
you camera tracking. This course is for all levels. It doesn't matter if you are beginner, intermediate
or advanced. What are the things you
need for the course? You just need a decent computer to run blender and a stable
Internet connection. You don't need to have
any prior experience, you're going to
learn everything in this course. Let's get started.
2. Setting Up Blender: I broke. Today,
I'm going to teach you how to camera
red in blender. So let's begin. It's going to be a longer video coming comparing
to the usual one. Okay, so this is our womb
screen of the blender. And so what we have
to do first go to file new and go to VSI. Okay. And just forget about this. I'll tell you what this
interface is later. But first, so what you have to do right
now is ipod your clip, the clip which you want
a camera type in Lando. For me, it's it's this one. And I guess I'm going to use this clip I got in
this clip on my phone, which is red Mid well. It's not open I don't know why. Okay, wait. Okay. So I know, if you can
see, this is the clip, but there are some
tapes over here. So first what you have to do is, whichever clip you want to
take, you can just take it. But one thing you have to make sure is that I'll
show you in there. So if you can see, you have to cut some pieces of tapes,
and it should be eight. Like the minimum
requirement is eight, and you have to stick
it on the table or on the object,
which are track. So basically, lender will
track eight points because, you know, the clip which I
have chosen, I'll show you it. So this is a clip.
And if you can see the camera is moving. It's not like a tripod shot. So when the camera is moving, you need some eight points
to track and lender. And and that's why I have this and that's why I have these eight
pieces of tapes, and you have to do the
same and make sure the size the size should be decent because if
it's too small or little, there'll be some
problem while tracking, and it won't track the
eight points properly. So
3. How to Track Markers Accurately: You are done with
the record in part. Just input the clip in Blender. Again, I'll show you go to File, go to File Nu and VFX, and this will open them, and then input your clip here. And then what you have to do is make sure it selected camera. And then select on
set since frames. And what this will
do is the Okalot. If you have used
blender even a bit, you know that the end
frame is always 250. So what this button does is that the total number of
frames in your recorded clip, it will basically make
the time lines same to the recording of the the clip which you
are using basically. So well it's done, now, we have to add a tracker. But before that,
we have to change some settings and let
me rank this yeah. So in the motion model, make sure it is a
fin and match type should be previous frame. And yeah, that's it. So now we have to
train the frames. So like the Es method, which I think it is, it's like 342 frame side. So um, well, if we go
in the middle part. Okay. So this is the timeline. So what you have to do is come in the middle
part of the frame, like the total frames, and then first Zoom Zoom in and we have to track all
the eight pieces of tapes. Now, click on Add
Marker and click here. Then this will show you the preview of the
tracking point. So make sure it is
slightly bigger. Okay. And now, click
on this model. Okay, there's some issue. Yeah. So what you have to do is
click on this button and it will track all the
keyframes backward. And make sure make sure that you are
looking in this screen and move in the timeline. And if you see all
frames are looking good for right now, and yeah. So if you see here, the tugging point is
changing it, you know, rotation it's going like
it's properly squared, but as we go backward, it's changing its size. And this is where
it gets really bad. But we'll install this later, but first go in the middle part, then click on this button. Now, this will track
frings forward. And in this perl, you can see this our first, it's showing three keyframes,
which is the middle, the first keyframe and
the third key frame, which is our tracking point. This is our first
freaking point. And let's move it
in the timeline. Okay, so if we zoom out in this, you can see the moments are
the moments are way bigger, but we'll solve it later. Let's first try all the points. We'll tag the points while
being in the one 17th frame. So we'll do the same
for all the key frames, sorry, all the tagging points. Now again, click all add, then just line there. And now. Okay. So just in case
you're doing this? Okay, I'll just show
you in example weight because this is an issue that you might s I'll show you
what the issue is. I'm doing this on purpose. You don't have to do it, okay? I decrease the size of
the tracking point, then I try backward.
See what happened. I just stop here in the middle. It's because it's uh so this happened because we are not properly showing the tiging
point what it has to capture. But as we increase the size, now in the review, we can see that the tiging point has to capture, like this shape. And now if preg backwards
and does it. S. Low, what you have to do is
in the timeline, Okay, wait. In the timeline, let's look the key frames which
has more movements, you can say, and
see the frame 98. So go to the SL section. Now, so we are 98. Now we have to look
for another keyframe which has more moments, which we can say 134 is good. And now, Clic on
SLTs Camila motion. Now, um, 195 we take 195. Figures 236. Now again, solve camera motion. And, you know, there's
a number here, solve error which is 0.48. And so, basically, it'll be good if the number
is less as possible. And Okay, it looks
good for right now. Now we have to set because we want this
clip as a background, right? So we'll set as background. Now we'll set up tracking set. Okay, so now what you have
to do is click on tripod. Now, click on SLS camera motion. And now, click on
set as background, and then set up tracking
set as you can see, our seniors are ready. Now, just delete the plane, delete the cube, we don't need. But
4. Setting Up the Tracking Scene: And now click on this plus icon, then go to General
and click on Layout. And this is our default CD syn. Here, it won't show
any tracking points, but to see our dragging points, the heat points which we
track just a while ago, click on this button, and now, make sure this is
check motion tracking. And as you can see, these
are dragging points. And now it's move in the
timeline. It's looking good. So what we'll do right now is let's first add
something, right. And now I'll explain
what this add on is. So what you have to do is go
on Google and search for, okay, I'll just show you
sharing my screen first. Go to Google or any
browser you use and then search Kit, add on. And then you have to
download this plugin. It's it's add on or
plugin, whatever you say. And you can just follow this short tutorial or just
watch this video if you want, and it's really easy
to download this ad. Click on this and just
follow these steps, and it will be done. So when it's done, you
will see this vendo. I'll just explain to
you what this is. So the first is fine model. Second is for
textures, materials. Third is for scenes.
I don't use this one. What I use is just LGDRI
materials and T models. So make sure you're in
the fine model button. Click on that. Now
search for Coca. And click on pretty fast. Okay, so we can
use some of this, and Pepsi is also good. And first, let's try
Pepsi maybe or coca cola. Let's try Pepsi bars. So let's click on that and
drill inboard in the sink. And then as you can see, this is the model,
increase the size. Now, I'll show you
how we want to do it. First, make sure that so this is the so this is the this all tracking points, but we have to select
the middle one. And then press Shift plus S, then cursor to selected. And then release it.
So our three D cursor, so our three D cursor will be. And now, click on the Bpscan and then press Shift plus S. Now selection
selection to cursor. And now, I will move like this, but we have to have to
reduce the size first. And The size is okay right now. I'm just changing the rotation manually, just a little bit. And the location, too. Now, as you can see, it's
looking good, right? So this is s. Let's
rotate the can. No, no, no, not like that. Okay, so just a dip. If you have changed
the location, sorry, if you have changed the
rotation and you want to, like, rotate the object on the ZXS, do not press Z. I mean, yeah, we have to press Z, but you
have to press Z two times. Like, first, press R. Now it's in the
rotation, then press Z, and now again, press Z, and it will rotate like this. Or else what will happen if
you just press single time? It will rotate like this, which is not good. It's rotating like
globally, as you can see, but we have to rotate in
the local Z Xs, like this. And this is good. Let me just remove the flow. Now it's looking good. See So let's see how it looks in the end up.
5. Using Shadow Catchers for Better Compositing: Okay, one thing,
what I tell you is, if it's possible, then, try to render it in cycles. And make the device to GPU. So it will use your GPU, Max sambls to maybe seven
and noise threshold to 1.1, sorry, 0.1. And in the viewpoint, just make noise threshold is
0.1, and that's fine. Max ambles to five. And yeah, we have
to save this in. Okay, I just forget that I blender gashes all the project, all the progress will
be done for good. Okay. Now, make sure
motion blur is on. Okay, now go to flim and
click on transparent. And now we have to add a Sun. I'm really sorry. Actually,
my camera just got stuck. You know, we just added sun. Now if you see the
clip, the Okay, wait. I'll show you. So it's like the light is coming
from this direction. Okay. The shadows
should be Okay, so if you see the mouse here, the shadows are like this. So for rbpsy the shadow
should be like this. Okay. And we'll make it like that. First, increase the
strength to maybe five. If you're using this add on
called Blender kit and you epoded an object like a
Pepsica or something, there'll be a tie of the
material of the body. And what you have to do is go in the roughness, make
sure it's a body. The top is this steel part, and the body is
the texture part. Select the body, go
in the roughness and click on this color, okay, wait and make it
slightly like this. Mm. Mmm. I don't want this droplet, so I'll just delete it. Okay? You can keep it if you want,
but I don't want that. We have to first make sure the rotation is the
way we want it to be. Now for the shadow part,
let's add a plane. Okay, this is good. Increase the size, okay. And then in the
object properties, go to visibility and
click on shadow catcher. It's that simple. And now, click on Sun because we have
to give it soft shadows. You can give it like
the sharp shadows, which you can see in the clip. But if you can see here, there is soft
shadows everywhere. So we have to mess the sing, and that is why we have
to create soft shadows. For that, increase the angle until you see the soft shadows. No. Let's see how does it looks. Um, maybe a bit more.
Okay, this is good. And now, Again, we have to change the material because this doesn't look good. If we go to EV, it looks really bad. It's really great. And yeah, it is this so click
on this keep E D. Wait. Yeah. But the shadow
looks really darker. Not darker, but yeah, we have to change
the shadow first. And for that, we'll do one ally. Let's decrease this
to maybe three
6. Compositing and Blending 3D with Footage: Now now go to Compositing tab. And, wait. Dalen this and and this That's we zoom out. So as you can see
what we did here. I just didn't
understand or add it. Just delete literally
everything and make sure you just have the render layer
here, the movie clip. The movie clip is basically the clip which we use
for the tracking. You can again embod
it or you can just nome search
for the glip here. And then add Alpha hour, then our V glyph should be in the first image and attach
our render in the second. Now what we can do is
composite both separately. So first, we have to make sure the Bpsican looks like
exactly the background. And for that we'll
add RGB curves. Wait. First, let's start
with the first one, which is which will
make you decrease it, it will, you know, decrease some brightness of
this, which we don't want. The way it is looking,
it is perfect. But we have to make it
a little bit, you know, a redish shopping dish, like, because the background
is just like that. If you see the
mouse or, you know, the mouse pad, it use the
same vibe. Even the table. So increase the redness
at just a bit, okay? You might not see that here, but this will change fast. And let's mess with the settings and let's
see how does it looks. No, we don't want this, okay. So if you fork up
just press on the, you know, d or delete points. Let's go to Blues and mess something here and see
how does it looks. Actually, it will be
great if you just, you know, also change
the background and make it yellowish off. So for that, again, input RGB gals and so I gave
a slightly yellowish tone. And for the Pepsi do, you have to make it
slightly yellowish. Okay. And this looks. Let's go in the layout. And, you know, I
just don't feel that the scan texture is good in going in the render properties
and go to the light paths. The total make it like five
and keep the render on, so you can see if the settings are affecting the RCN or not. Then there is no transparency,
so make it zero. And transmission, make it like maybe save the scene or you
will lose the progress. Let's make it high orange. It was looking good that way. And, that is good. And in the compositing, let's make the background
more yellowish. Now let's render it
and that's how it. And just to remind you,
our Cascan isn't moving, the camera is the
thing which is moving. Six. So keep that in mind, okay? So you can just add
whatever you want here. Not you can just add a toy or a mon anything
you want, okay? And the camera will move as per the recording or the clip
which emboded and end up. 's it, that's it. Okay, it looks good now. And now we have to do one
thing and that is just, you know, hide this for
a second, then kick. Go to the output properties
and make it to SS MPG video. Go to encoding, make
it to MPG four. It's like MP four, basically. And now, specimen the par and let's name it Bpss Temp. Um, I'm adding Tem because
it's not the final render. It's like a
wavepotRnder, animation. You know, to give ideas,
how would it look? If the tiging is good or not. So it's due, and to
see the animation, click on render and
on view animation. And now for the
final render, okay? So that's, you know, Okay, okay. One thing which we haven't done is adding a blur.
Okay? I'm sorry. I was missed. Then the spark renders. You know, if you're doing
the put render animation, your Epscan won't show up, you have to render the frame. As you can see, it is here, and you have to add blur because if you can
see the background, the background is slightly
blurred because of the camera quality of my phone. So What if we just make it size or maybe not. These are my addings. If
you have any problems, you can just, you
know, look here. You can just pause the video and just go through this if you
have a output properties. Now, click on the folder Ion, and then create a
folder, name it, PPC, Ken frames because we
are going to render it. We are not going to
render it as a video. The frames option is great. Just name it C or
whatever you want, except then the file
format, make it PNG. And, you know, our C is good. We don't want the transparent. Like there's no need
for transparency, so don't click on RGB E. This is for, you know,
RGBA, like Alpha. We just want, you
know, default RGB. And color management
is also fine. And yeah, but I'm going to increase the noise
threshold to 0.5 max samples to maybe five. Okay, and first, again, render an image and
let's see how it looks. The reason why I'm using
a very low sample is because it's because
I'm not creating any, you know, high quality,
high cinematic scene. So that's fine if we
are using less samples. We have to, you know,
decrease the blur. Like let's make it to now
the blur is slightly here. Let's again render the image. Keep rendering, you know, a single frame and
keep checking and see if you're getting the
desired result in the end up. If you are rendering as frames, and the best part about that is in case of blender or a PC
rises, render will stop. But you can continue
your render, like on the frame which the
PCR blender has crashed. That is the best thing which I like about
rendering it as frames. So thanks for joining in, brother. See you. Bye bye.