Transcripts
1. Trailer: Welcome to After effect. Back to school, Class
Three Camera Tracking. This time I'm going to talk
about the camera tracking. Camera tracking is one of the most important and
really nice features that can be used to trace any
objects in your footage. Camera tracking is also one of the sport where you must really
understand how to use it, how the software work, and why it is so
interesting to use it in any different video presentation
to make it even better. In this class, I'm
going to teach you how to use the
camera tracking. Straight from the beginning, I will explain how
the interface, I will make some exercise. I will show you how to use the camera tracking in
different types of exercise. There will be also
something about the Moca. There is nothing more I can do. Just let's start to work
with camera tracking.
2. Camera Tracking: Okay, in this chapter we are going to talk about
the truck motion. This is one of the best
features in the after effect. Before we start to be sure
that we have the trucker here, we need to go to window and set the option trucker tune on. Okay, here we have
some video with Digger just goes in one direction from the left side to the right. Right now, we will try
to track motion later. We can connect them
with some text. Okay, so first of all, you can see that our video
is in four K resolution. But our composition we
will set into full HD, it's means with the
standard resolution. Okay. After click okay, we will add this video
to our composition. We will also use Fit to come, and now we will try to make some tracking in the
trucker on the right side, you can see that we have
four different buttons. In this situation, we
use only truck motion. Truck motion is used if there is some movement in your movie, but the camera stay at the same position
as you can see in our video camera stay
in the same position. Only objects like Digger
and some car are moved. In this situation, we
need to struck motion because we need to
track only one object. After hit this button, we get to rectangle smaller
one and the bigger one. First we need to
move our trucker, because the rectangle is
called trucker to our object. Okay, so now we set the
rectangle after selected. We can resize the rectangle, right now I have resize
both of them and the tracking work in
a very simple way. We need to set the smaller
rectangle on our object and the area which is
set with the bigger one. Now after effect, we'll try
to search the movement of our smaller rectangle in the area which is limited
by the bigger one. Of course, the most important
here are the colors, because after effects will compare the colors
during the movement to find where these objects
move and in which direction. Okay? The most
important thing is that if you set bigger rectangle, the tracking will take
more and more time. Every time we finish
our tracking, we need to also select how to connect our
tracking points. Mostly we'll do it
the null object. Okay, In our option, first we select much source. This means we select the
movie that we want to track. Later we have the current truck. This means which
trucker we want to select because we can
have more than one. Next we select what
we need to track. We can track
stabilization transform or some corner pin or row. If we select row, it's means that we have
some expression. And after that we
need to copy it and apply to some null object. Normally, it is done
automatically with transform. Also, we can track position,
rotation, and scale. In this example, we will
work with position. In the option, we can
change the trucking method. There is LGB, luminance
and saturation. If you have the problem with some trucking with the luminus, you can switch to
LGB or saturation. Because as I mentioned before, the tracking works with
finding how the colors change. Because after Eff can only use colors to track some object, now we can analyze step by step. It's mean that frame by frame or a whole movie after that, we need to select which
axis we want to truck. Mostly it will be x and
y at the same time. After we click okay, after the finished trucking, you will notice that
we'll get some points. It means some key
frames that are used to find the correct path
for our tracking object. Now we have the correct path
and this path is collected with our null one. If I move the slider
to the right side, you can see that our null
object has been also moved. And this movement is connected
or stick to our digger, to the yellow mobile. Okay, now we can rename
our null object, for example, to yellow. And now we are known that the yellow truck is
connected with our null one. Of course, the color will be also changed into yellow one. This is truck motion
for the first vehicle. Now, we will also try to
truck the second one, the blue, the blue one. Again, we need to go to the truck motion and we need to select what
we want to track. This time I will put the
front of the bumper, which is blue, one in
the smaller rectangle. And the bigger will
be the area where after we'll try to search
for the blue color, okay? After click Apply, we will
track the blue vehicle. Okay, After our
analyze is completed, we can add the null object, We name it to blue one. Now we know that the null object is connected with
our blue vehicle. Of course, we need to also connect our trucking
with the null object. Okay, now you can
see that we have the second trucker which is connect with
the blue vehicle. And right now we can add some title for our
trucking objects. This title is mostly
called Callout, How to prepare colouts, and How to connect them
with our trucking. This will be exactly described
in the next lessons.
3. Callouts: In the previous lessons, we created some tracking. This time it is good to
create some call out. It's mean that we'll create some title that will
describe the track object. We will create a composition
with the callout name. This is with the
standard dimension. We will click okay. We will add shapes. I will use a shape player
tool board to very fast add some circle
with some stroke. And what is more, I will also put it
here and I will add some line from the center of our circle and we'll
add some stroke. Okay, This is our mind shape that will appear
during the tracking. Now we can add some additional
line that will appear. Okay, Also with some stroke. And we'll add the title. I will add the standard one with the standard font and this will describe what
object is trucking. I will place it here. Okay, now we will add
some, maybe more shapes. This will be the
next shape layer. Will put it down. This will change the color. This is because the
standard one could be covered by the background. Okay, so this is
our final title. Now we need to create
some move control. We'll add some control points
mean that null object, the first null
object will change the name for the point lower. This point will be
used to control the lower part of our collouts. Need to also create
second one object up. This one will be connected
with our top of the collouts. We will put it something here. Okay, now need to connect them. We will move the lower
point to the bottom and will connect the shape
layer with our lower point. And our second
line together with the title and with the red background will
connect with the top point. Okay? As you can see, we'll select the parent one. Okay? Now we are almost done. As you can see, if I will
move one of the point, there will be some movement. Unfortunately, we still don't have the middle line connected. Okay, I will move the top and the bottom line and
everything work perfect. The problem is with
our central line. This is because one of the part of this line
must be connected to one point and the second
one to the other point. This is why in after effect
from the version 2018, there is the built in
script that will help you to disassemble any elements. This script is called
create nulls from path. We have three options. We can stick our points to the nulls. We can stick the nulls
that we already have, two points from our object, or we can trace the path. In this option, we will
select points, follow nulls. It means that we want
to choose each point from our line and connect
them to the nulls. First, we need to
select our shape layer. We hit the points nulls. After that, after effects, we'll create our
additional points. We select the path and
points follow nulls. Now, as you can see, we have
three different points. Each of these points are located the area where our
line is connected. After that, we need to connect all the points with our nulls. Right now, if I will
move one of the null, you will see that the
half of the line is movement and the beginning
of our line is thick. And the beginning the same
is with the second null. If we will move it, the beginning
of the line is in move, the second one is stay
at the same position. We can of course,
see the scale null. This will of course
scale also our objects. Now I'm going to create some
animation for our call out. This means that hold
objects will appear in a short period of time
and in a different way. Okay, so let me start
with the circle. With our circle. So I will move the
slide there on time line to the 1 second. And here I will use the opacity. So it's mean fade
in and fade out. Of course, I will
add as with some. Okay, Maybe with
this position. Okay. And this is about the shape. Next one is the
line for the line. This will be also easy because
I'm going to use the trim. The line will also appear
in some period of time. The same with the second line. When this one will
appear in this area. The second one also
start this animation. As you can see at the fo animation is on
the opposite direction. I will reverse it. I will remove the first one. The last one is the title. Maybe if we have all the
lines in this position, I will also move the change
capacity for our title. Now as you can see our
animation look case, something like this,
which is really nice. Okay, there is one
thing that we can do. I will change opacity
for all objects. Finally, opacity will not be 100 percentage as it is default. But I will change,
it may be to 70. This is because
callout should be little transparency
because we want to see what's going
on on our background. Okay, we can add our
callout to our mind video. I will just put it
to our project. As you can see as the hot, it's quite too big, so I can resize it to the
layer without any problem. What is more? I will also trim and
hold the presentation of our callouts on to see
only on the object, now we can put it on
our first yellow car. Okay, And what is more, I will adjust hold
the key frames because at the beginning they
are with zero transparency. I will make that our colouds will be visible
from the beginning, it will be easier
for us to use it. I will use parent pick up and I will select
the yellow vehicle. It means the yellow layer
when we hit the play, you can see that our
colouds will appear and it's stick to
our tracking points. From the yellow vehicle, we have also the blue tracking
for the second vehicle. I will also add
the colouds there. I will just duplicate it. And I will just change
the title maybe. Okay. Something like this. And I will also change
the background color. I will duplicate the shape
layer and I will change the color to blue one because
the vehicle is also blue. So it will be easier for us
to identify the colouds. Okay, So now we will
just move the slider to the time when we can
see our blue vehicle. Okay, so this is the beginning
of the blue vehicle. I will move the slider to the point when the
vehicle will be visible. But first we will connect
it with our layer. As you can see, now our closs
is connected with our both. Vehicle with our tracking point, you can see that
our callouts will follow with our
vehicle right now. I would like to make our
callouts to disappear. Yes, this is a possibility. And we can do it, for example, with opacity for our layers, but we can also
use time reverse. I will duplicate the layers. I will just first remit the
second after duplicate, we'll move it to the end and
we're going to time reverse. Now as you can see,
there will be reverse, but first we need to increase
the time for our project. You will notice that
our colouds will just disappear in the same way as they appear in
our presentation. This is how we can prepare
the colouds and connect them with our tracking points
from in after effects. This is what you can find in many different types
of presentation. This is how you can
do it by yourself. There is also possibility
to create another collouts, but this time the title will
stay at the same position. And only the end of
the line and circle that is placed also on the
objects will be in move. I will just hide our
present colouts. Maybe I will just add some elements from
our existing colouts. We'll copy the shape layers
and the title right now. I will just pace it
directly in our project. As you can see, we
have the col out. I will just place it
in some position and I will rescale our circle. Okay, what is more? I will also place
something like here, we need to place our circle
directly on our object, on our yellow car. Right now we have
the line and we again go in to create noles. From path we select
our path of our line. We need to hit points, follow nulls, and we again
have the three points. This one point we need to
place on our yellow vehicle and connect it with our tracking points
from yellow objects. Now as you can see, this is there is
some mistake with the circle because it's appear far away from our yellow car. We need to fix it
in a very fast way. First, we need to connect the circle with our
yellow vehicle. Now as you can see, the title stay in
the same position, but only the line is connected
to our tracking points. This is also very, quite interesting callouts
and you will probably use it very often because it's give
really nice final effect. This is everything
about the callouts.
4. 3D Camera: In the previous lessons I teach you how to use
fred camera tracking. This time we will focus on
another properties of camera. At this time we will
focus on camera as an object that will help
you to work in fred space. As you know, after effect
is layer base software. It means that we
have two layers. We work with the layers when we apply any
effects or we add any object in after effect the possibility to convert
any to the object into freed. It means that we can change
the position and change the camera in our fred space. We can rotate or the layers. In a results, we will
get something like this. You can see that our objects
from the two D is now change into three D. We
can rotate the camera, We can manipulate and send each objects in the freed space. This means that some
of the layers are in front and some of them
are behind other one. Right now I will
show you how to add camera to your project. We have three option
that we can use, the short cut from keyboard. On the layer we can
rightly can select new and choose camera. The last option is to go to Layer New and camera
from disposition. After that, we will get the camera settings where we
have some basic properties. One of the most important
is type of camera on camera or two camera
for both types. All other settings
work in the same way. First we'll with the first type, the first one is one node. As you can see, we
have the camera with the view angle here. If we rotate the camera, the rotation is in the
center of this layer. It's exactly in this point. Hold the camera together with the view angle is rotated
according to this point. In the two nodes camera, we have the point
that is placed in the view area and the camera is rotated according
to this point. We have two different type. Which one? It depends which will be more friendly
for you to work with. The next properties
is the preset. Everybody who work with the physical camera probably
know what this means. We have possibility to
choose different value. This time, I will show
you exactly the preset for 15 millimeters and
for 80. As you can see. By changing the presets, we will also change the angle of view from the higher
value to the smaller one. It's means that there will be less object visible
in our camera. This is 15 millimeters,
as you can see. We have huge area of view. All three circle, white circle
will be visible in camera. With the 80 millimeters, we have the smaller
angle of view. As you can see, only one
circle will be visible, the rest two will be
visible in a half. This is because we have
smaller angle of view. If we already apply
camera to our project. The next very important
thing is to tell after effect which layer will be to
D and which will be freed. We select all the
layers and here we have the option switch button that we can enable and convert
any layer into freed. After that, after effect, all the free layer
will be set as a fred. The background will stay to D, it's mean that our background
will not be moved. The next option is
to select the view. The standard will choose the. On camera one. If we
will get more camera, they will be also listed here. We have also some view
that we can select. The front, the left one. As you can see in the left one, we don't see any layer. This is because all layers
are at the same line. There is also top view back and bottom there is also
the custom view. It means that this
is perspective. Now you can see that
our layers are in fred. If we turn off the
switch for fred, our layers will disappear. In isometric view, this is
very important to know. In perspective view,
we have the axis. We can use it to move our
camera in three D space. This is very easy and very
intuitive how to use it. When we go to the transform, we see that we
have the position. We can use the position
also here on each axis. And when I move it
in our perspective, you will notice that
all position and point of interest will
change in the same time. If I will use only the position from the modify panel just here, maybe I will just
move here, x, y, z. You can see that only
position change, the point of interest
stays the same. The point of interest
is the place where the camera
finally look at. We can manually change the
point of interest or position. Of course, we can add a
lot of keyframes so we can make animation for our camera
to manipulate the camera, we can also use our mouse. The standard is set to undefine. When you hit the left button, you can rotate the
view of your camera. When you hit your middle, you will move objects
in x and y axis. And the right button, you will move it on the axis. It could be similar to
zooming or zoom mode. If you don't want
to use the mouse, you can always change the properties of movement
here from this position. For example, right now on the
left button we can zoom in, zoom out track on Y camera direction or we
can only rotate right now, I will select one layer with the smaller gear that
which is inside. I will try to move
them in some axis. This will be the blue one
with the left button. I will just hit on the blue axis and I
will move the gear. And the second layer with the layer where we have the few gears, I
will also move them. And now when we rotate, you will notice that all
the layers are rotated. And this will make that we
have place all the gears in free D space for better work with
camera and after effect. We can also choose the
number of, for example, on the left side we have active camera and on
the right side we can, for example, change to
the view on the top view. If we'll move the camera, you will see that the view from the active camera will
also change in real time. This is very helpful especially if you want to create
different type of animation. We can also turn
on for view or it depends what we need and how
we will use it to our work. As I told you before many times, we can also create some
animation for camera and in the very easy way
we select our camera. We are right now go to the position and we
turn on the keyframe. This will be the first keyframe. In the six second, we will move the camera forward and this will be
the second key frame, as you can see when
we hit the start. Now there is some
zooming because our camera move to our object. You can see that
this is very easy. We can also change the shape of this path by clicking
with the pentole. Click on our point, We can change, for
example, the shape. Right now, you can see that the camera will follow our path. I will just move the
slider manually. You can see that the position is also changing our timeline. There is also possibility
to change the orientation. The standard is off and we can change
orientation along path. This means that orient, our view will be always
set tangency to our path. Let's hit, okay. Now you can
see the camera view will be different because
the line responsible for direction of our
orient will be set, always tandency to the path. Now you can see
that the view angle is different and this
is why there are some situations that we
don't see any gear in our view to make more
smooth our movement. We can also use the
easy for animation. And this will modify
the speed and the way that our camera has
been moved on our shape. What is more, there
is also possibility to add second type of
movement for our animation. This is used with null objects. First, we will add
some rotation, key frame, this is
first key frame. And the second one with the rotation in the
opposite direction. And as you can see, our camera is moving. Object is also move. But right now, I would like to add second camera movement. We'll go to camera
and create orbit. In the orbit, no, we are going to
the transform and we'll set the z rotation. There will be the
first key frame. We will end the second one, for example, with
different value. Now you will notice
that our camera is moving in one direction and there is also
movement for our object. This is because our camera has additional
rotation on the Z. This is very useful
if you want to create a very complex and really
nice looking animation for your camera. For our animation, we can
also turn on motion, blur. Motion. Blure is used especially
if we have some movement and we'll want to
add some blureness. For example, we have
the movement here. This is what you can
see in our animation. Now we can add motion blu in composition
settings in advance. Here we have the motion blur. And some settings, the shutter
angle and shutter face are use to add this motion
blur to our animation. And the sample per frame and adaptive sample limits are used to create nice looking render. And to make this
render really smooth, we will set shutter angle
for 2,020 and shutter phase four -360 sample parate will be 32 because if we put the higher value the render
will be much longer. And the same with
adaptive sample limit. After that you can see that
we have the motion blur for our scene and of course the renting is very
slow right now. What we have more option to set animation or
position for our camera, the first one is the zoom. It's means that we can zoom in, zoom out just in the camera options properties
by changing the value. There is also the psi
depo field field. It means that objects
that are closed will be, for example, more blueness
or less it depends. We can also enable depot
field when we double click on our camera layer and to
more control the field, we need to use the
focus distance. Focus distance is the
place where the view is concentrated right now by
changing the aperture. For example, if we
put the higher value, all the objects in the front of the focus
distance will be blueness. When we change the
focus distance, you will notice
that the blueness will also change right now the front of our project. Is sharp and everything that
is behind is more blue. The blue level, it is
used to set object, how our object will
be blue is shapes. This is used to change the
shape of our blueness. We have a lot of
different options, but what is the most important, the past rectangle is the
faster for rendering. For example, right now
I have the triangle, but this rendering
will take a lot. All the iris options like rotation, roundness,
aspect ration, and diffraction fringe are used to change the way that
after effect will generate the depth of field and this blueness
the highlight grain. Three short and saturation
are used to change the view. We can increase the grain, we can change the
three short and for example, change
the saturation. For our view, there is also a possibility
to change the focus. It depends from our element. For example, the first one is link focus distance
to point of interest. Right now when we change the
position of point interest, the focus, it means the depot
field will also change. This will have impacts
on all the view. We can also select the camera and link
focus distance to layer. This means that we need
to select the camera and some layer after
that we can go to layer camera and set link
focus distance to layer. We'll need to confirm it
because right now we have some focus distance
already exist. Right now, our focus distance
is linked to our layer. Our selected layer is
sharp and everything that is far away or in the front of this layer
will get the blurness. There is also option to set
focus distance two layers. This means that right now we only set the focus distance
to selected layer. Right now, if we'll change
the position, for example, on any other layer, it will get more blureness. And this blurness
will be smaller if we move and the object
closer to selected layer. Right now you can
see that our gear, the biggest one, is far, far away from our
selected layer. When it come closer, it will be more sharp and
of course it to be size, it means that we also move far away from the mind
selected layer. It will get the blurnessgain. This is very useful
if we want to create a really nice looking
animation with deep field.
5. Camera Tracking: In this exercise, we will start to work with
the camera tracking. I have some footage with some aerial perspective and
there is the camera movement. This view is made from the drone and we'll start the
new composition and we're going to track and
camera right now after try to find how
the camera movement, how all the footage change
in some period of time. After effect, we'll
finish calculate. You will notice that there is
a lot of different points. If you put your mouth
over each of this point, you will see some red circles. Those circles
simulate the surface on which we can add a lot of different objects
from after effects. Each of this point
has its own plane, which is set in some
perspective in free space. Every time we need to
select this point, that will be useful for us if we right click on each point. There is a lot of option to set. For example, we can use
this point to create text solid or for
example, new objects. All of these elements like
text solid or null will be always connected to our point or we can dielect
point or remove it. Right now, I will try to find the area where we
have all the points and with the left mouth bottom, I can select all of them. Thanks to that, the
ground plan will be calculated based on
selected points. Right now you can see
that we have ground that is very close to ground from our footage and
we have option to set the ground plane and
origin Right now. If this will be
our ground plane, we can use it to
place any object on to simulate that
this object will lay, for example, on grass
from the footage. Right now I will try to create
some text on our building. I will move to some
time on our timeline. After right consume point, I will select create a text. Right now you can see
that we have the layer, we read the camera tracker. And with the text, of course I can change
the phone size. I would just increase
it and I can move it in my view to put in the
other place my title. And if I will move the slider, you will notice that the text is always stick to our building. And what is more, the text
has automatically added freed object to our
layer to our footage. I will look at the
colts that we made in the exercise earlier. I will only change the
text to floor five. I will paste it directly
to our project. With trucking, I will
create the null. We have the point that
is connected with our point from tracking camera. I will add here the colout. As you can see, the colouts
must be a fred layer. I will put this title
something like this. Now I'd like to connect it. I will use Switch. If I will move on timeline, you will notice that
the text is not connected with our
track null object. This is because
parent link will not work if we want to connect
objects to the truck. But there is option, we can just go to the
position of track. Copy it and we can paste it to our collat right
now with the Xs. I will just move it and
set the correct position. I can also resize the
object, this title. And right now the title
floor five is connected with our point and it look
really nice on our footage. Okay, But our title
say it is floor five. First we need to
search for floor five, We need to move our title
down to floor five. Okay? Something like this.
But what is more, I would like to also
select my floor five with some because the
title look really nice. But to better visualization, I will also select
the glass first. To create solid, I need to
select the correct point and click with the right
click and select solid. I will select, for
example, this point. After that, we'll
create the solid. We have selected
the surface that lie on the side wall
of our building. Right now, I will create
some simple mask. I will try to fit this
mask to our window. As you can see, we can adjust it. Right now we have
selected window. If you will move the slider, solid will be connected
with our building. Right now, I will change the solid setting,
Scholar to White. What is more? I will
add some opacity. My title does appear right now. I will also add the opacity
animation for our solid. First, it will be invisible. After that will get something
about 50 percentage. I will just copy those
key frames a few times to simulate the blinking of the
glass from our building. Finally, you can see
that the text will appear and from
our building will also blink to better illustrate which floor
we are talking about. This is really nice
effect how you can use the camera
tracking in after effect.
6. Road tracking: In this part I'm going to track the road from our footage. As you can see there is
why one very long road. And I will make the
path and I will try to trace this road first. We'll start with
creating the ground. I have tracking camera already and I will choose
some tracking point. In this case I will select
those, may be here. Okay. Right now I can create
the solid and camera. We have the green ground
which is a truck solid. Right now I will try to
create the path for my road. I will use the shape
layer with the Penol. We will just draw a
road on our footage. Road is something like here. If I will move on timeline, you can see that the
road is still not stick to our trucking
point right now. I will select the position
from truck solid, copy it and I will make
the shape layer as a three D layer and I will
past the position right now. You can see that if I will
move the camera on timeline, the road is also moved. So now we can adjust
the road again. Okay? So it is just here. Here, okay. I will move this point
also in this direction. And here I will also turn
the truck solid color. Okay. So as you can
see the road is done and we are ready
with the tracking. Right now, I will just add some mask to hide road
behind the building. Okay, to hide this road
behind the building, we need to create the mask. And we need to move this
mask on our timeline. So this will be a very
time consumpting, but this is the only one
way you can do this. We'll add shape layer
as a mask. Okay? So it will be something
like this right now. By clicking Page
up and page down. I will move on our
timeline frame by frame. And I will modify the
path of our A mask. We will go with the position. If you will add another mask, you need to use the subtract. This is only for information. We just hit a clock
on mask path to add the keyframe and by
hitting Page on our keyboard, I need to adjust the mask. This is very time consumpt, very boring thing that we'll probably need to do very
often in your project. I will just move
more the timeline. Okay, so on the left side you
can also notice that now we also need to fix the
mask on the right side. Okay? And on the
right side again. Okay, and we are done. So as you can see right now, if we'll hide the shape
after click the space, you will notice that
the road is right now behind our building. You can also do the same
on the right side to cover also the road behind
those white building. But I will just
keep it right now. Now there is something that
we can add, for example, will decrease the
opacity so it will be better visible on
our footage of. I would like to add
some more animation. For example, trim. We'll add trim paths
okay and will be zero. And at the end it will
be again 100 percentage. Now it's looked like the road
is going frame by frame. As you can see right now, it's behind our buildings. After that, it
will appear again, this is what we wanted, this is what we planned
to do right now. I would like to also add some numbers at the
beginning of my road. Okay. Now we can add text. To our footage. And this will be something
like counter that will count how many matters we just go until now our final
value will be 4,000 meters. Now I would like to add
some effect which is called slider control to control
how this value will change. Unfortunately, I have
also the letter here. So right now I
need to remove it. I can add it as a Sep
separate layer the next time. Okay, the slider control
is the effect that will be responsible for
control my value right now. I will go to the source
text by clicking out on keyboard and on this clock and we have some
expression right now, I will connect my
expression with the slider. You can see that if I
will change the slider, if I will make some
animation with the slider, my value will also change. Unfortunately, the problem is if we go with the
slider below zero, the value will be
with the minus. This is what we want to avoid, and we need to fix
this expression. We need to put the
map and the round, and we need to remove the second brackets
and add it at the end. Right now, this round will
make that our counter will be a value after the zero higher than 00
is at the beginning. Here we will just add the
key frame to the 18 seconds. It will be 4,000 right now
if we just hit the play, you will see that our value
will change one by one, and this will simulate
how far our road goes. Okay, now I would like to
stick this value to our path. We need to go to the path and we need to select the
create nurse from path. And we need to hit
the trace path. We also need to select the path before and hit the trace path. Right now you can
see that we have the trace shape that's
follow our road. Unfortunately, it's still
not the stick to our road. This is because we need
to make some adjustment. In the script, we
select the trace shape, we are going to trace
path in progress. We need to turn off the
progress and turn on the expression by hit the Alt on keyboard and
we have the expression. I will also add the end
trim path from our road, and I will connect the
expression with the end. Right now you can see that our trace shape point is
connected to our road. And we'll just move the text. Okay, so this will be the
position at the beginning. And I will click on part
to the trace shape layer. As you can see right now, our value will follow with our trace shapes and this means that will also
follow with our road. This effect, as you can see, it's quite nice and look
very good at the end. When the value hit the
4,000 it will be rotated. This is because there is still some problem
with this script. To solve this
problem, you can just reduce the layer on time
line. For example here. After that, you
can just duplicate the layer without any movements. Just to have only this value
for a few frames at the end. This is how we can trace
the road in after effect.
7. Mocha: In this part we'll start
with trucking about. There will be also other
topic only for Moca, but I will add them later. Right now we will focus with
the basic about the Mocha plugging that is built in in
all after effects version. We can find in animation
tracking Boris mean for tracking Boris because this is outdoor of the company
who created the fix, because this is
special effects and Moca for Moca software, at the Effs we can
launch it but It button. And after that we need
to hit the start. This is the new window
where we will work with. Moca is more advanced
than the normal tracking, give you more possibility
and it's probably easier than tracking from
after effects. On the bottom side, you can
see that we have a timeline. We can zoom in, zoom out with the
middle mouse button, we can just move on the footage. This is mostly what we will
do in the Moca plugging. I will try to trace this
roof of this building. I will start with this Penolka. Now I will just add few steps. As you can see, it's
very easy with Ca. I will add the point
on each corner. You can see that the
selection is very friendly. Later I can manually select
all the points and adjust it and put into the
correct position. If I would like to remove
the radius on the corner, because I would like to
have the shape A corner, I need to select
all of the points with the A on keyboards. After that, with one of those lines can
increase or decrease the radius for my selection
with only one line, with only one move, I can adjust all of the corners. This is very easy right now. I select the truck after effect, we'll try to trucking
hold the roof. As you can see, the
plugging work Good. This is mostly because
this footage has a very good color,
brightness and contrast. And of course the plugging, when we select some point truck, if there is a
difference in color between all the
points surrounded, I'll select it one. And then he tried to
trace all the move. As you can see there is some
problem on the right side, but I can easy fix
that later manually. Okay. I have finished
the tracking. I only need some specific
area like this one. Okay. So right now I will
just go step by step by holding the out and the
arrow on the keyboard. And I will look to the
place where I need to manually correct the
tracking for this corner. And as you can see,
this is also very easy in because Moca is very
intuitive and very fast, it automatically finds
the correct solution even we will just make
some manually adjustment. Okay. So right now
here I just don't make the trucking okay. I have the specific
area. Right now. I will just exit
from the plugin. I will just duplicate
the layer in the mate, I will just click Create a Mask. As you can see, we have created the mask only for the roof. This tracking is in the period, short period of time
because this is what we wanted track on the
roof in some time. Okay, now I will
just add the opacity because I want to make this layer visible only when the
tracking just start. And I will turn it off also when the
tracking is finished. Okay, This is how
it finally look. We'll add the stroke
effect for our roof. It will create
some trim boundary around our roof
and also the glow. I would like to make
the stroke to be glow. I will just change the
color to more blue glow, the short to increase. Okay, this one look nice. Let's see how it look right now. After click play, you can see
that there is a boundary in some period of time
and this is stick to our roof from footage. What is more, I can also add
the start and end stroke. I will just the end
100 percentage. Now you can see that this stroke just starts to make the boundary
and the same at the end. Okay. This is how
we look right now. This is how the after effect draw the line at the
beginning and the end. Okay? This is, this plug
in is really useful. We'll spend more time on practicing more ca,
in another class.