Assalamualaikum. My name is Widhi Muttaqien from Expose Academy. In this tutorial video, I’m going to show you 7 different ways of controlling the camera object in Blender 2.8 or above. But before that we’ll cover the basics first, so at least we have the same starting point. So, why do we need a camera object in the first place? Well, in Blender, there are 3 types of rendering. The first one is the preview rendering. Second is viewport rendering. And finally, the last one is the final rendering. Let me explain each of these methods real quick. Preview rendering is when you activate the “render preview” mode here. In this mode, you don’t need a camera. You can have a camera, but it is not a must. Next is the viewport rendering. You can access this feature by going to the view menu here and then choose “viewport render image”. Basically, it will render what you see in the viewport to an image at any resolution that you like. Now, this feature is useful especially for people like me who make a lot of tutorials or courses, or people who write books about Blender. There are many hidden features that you can use within this rendering method, such as making the background transparent, etc. For this type of rendering, a camera object is also not a prerequisite. Finally, the last rendering type is the final rendering, which you can perform by pressing F12 in Blender, or by going to the render menu here and then choose “render image”, or "render animation" here if you are doing animation. This is the rendering method you want to use when you need to produce the highest quality rendering output. And for this type of rendering, you need a camera. If you press F12 without any camera presents in your scene. Blender will just throw an error message. So you understand by now how important a camera object is. In conclusion, without a camera object, it is impossible for you to get the best rendering result out of Blender. When you first launched Blender, the default scene actually already has a camera object. This pyramid-like object with a triangle hat on top of it is the camera object. Just like in the real world, the camera object inside Blender is used to direct the view, so Blender knows what to display when performing the final rendering. You can also animate the camera object to add more dynamics to your animation. But we’re not going to discuss camera animation in this tutorial. Now, in the real world, if you are shooting with a camera, you want to look through the viewfinder or see the back-screen of it. This way you know exactly what the camera sees. In 3D applications, you can do that by switching the viewport to the camera view mode. There are 3 ways that you can do this inside Blender. The first and fastest method is by pressing 0 on the Numpad. As you can see, we are now viewing the scene from the camera object. You can see the word “camera perspective” here. To go back to the “user” view mode, you can press 0 again on the Numpad. Or you can just rotate the viewport using the middle mouse button. This will also bring you back to the user view mode. Okay. The second method is by clicking on this button here. This is a toggle button, so you can click it again to go back to the “user” view. We can see the word “user” shows up again here. The last method, which is the slowest one is by using the menu. To access the camera view mode, you can go to the “view” menu in the 3d viewport header. Then choose, “cameras”, and then choose “active camera” here. Or you can also go to “viewpoint” submenu here. And then choose “camera” here. Yes, I know this is redundant. We have two commands in the menu that do exactly the same thing. But this is what I have in my current version of Blender. Now, if you don’t have any camera object in the scene, then you need to create one. Creating a camera object is very simple. As with any other objects in Blender, you can just press Shift + A, and then choose “camera” here. We can move and rotate the camera object just like with any other objects in Blender. But you don’t need to do scaling on them because scaling won’t affect anything on the camera in terms of the rendering result. Now, when you have multiple cameras like these. Blender needs to know which of these cameras should be used when performing the final rendering. This is where the concept of the "active camera" comes into play. You see when we press 0 on the Numpad, we’re not just switching the view to the camera view. But we’re switching to the active camera view. You can have so many cameras in the scene, but there can only be one "active camera". We can tell which one is the "active camera" visually, in the viewport, by looking at the color of the triangle hat. The active camera will have a solid color triangle like this one. While the non-active cameras have the triangles hollow or only showing the wireframe like this one. Besides indicating which is the active camera, the main purpose of these triangles are actually to indicate the local up direction of the camera object. So this is the up direction when we view the scene using this camera. Okay. In the outliner, we can tell which one is the active camera by looking at this icon here. The one with a bright background is the active camera. Now, what if we want to make this camera as the "active camera"? Well, we can do this in 3 different ways. Using the keyboard shortcut. Using the menu. And using the outliner. To use the keyboard shortcut, first, we need to make sure that the camera object is selected. And then press Ctrl + 0 on the Numpad. The selected camera is now the "active camera" and the viewport also changed to the camera view mode automatically. We can see that in the outliner, this icon now has a brighter background color. And also if we rotate the viewport, we can see that this camera now has a solid triangle hat on top of it. The second method is by going to the “view” menu, then “cameras” and then choose “set active object as camera” here. And the last method is by going to the outliner and just click on this small camera icon. There are 3 things that I want to discuss in terms of the camera settings in this tutorial. First is the image aspect ratio. If you are inside the camera view. You can see a dark area surrounding a rectangular frame. When you do the final rendering, only the area inside this frame will get rendered. Anything outside the frame or in these dark areas will be ignored. Now the question is, how can we change this rectangular shape then? Well, this is actually not part of the camera settings, but part of the render output settings. So it affects not just a specific camera, but all cameras exist in the scene. To control this you need to go to the output tab in the properties editor. For example, if we change both of the X and Y resolution values to 2000 pixels. We get this square shape or 1 by 1 image aspect ratio. If we change the X resolution to 1000 pixels, for example, then we get this portrait image aspect ratio. From these examples we can conclude that to get the most image out of our rendering, without any cropping, then we should use a square image aspect ratio. Which basically using the same numbers for both the X and the Y image size values. Also from these examples, we can see that changing the image resolution does not change how much wide the camera can see. It only changes how the final image will be cropped. So the next question is, how can we widen the camera view then? Well, this is the second parameter we’re going to discuss. And this parameter is actually part of the camera object. So click here to open the camera settings. Here, you can find the focal length value. Blender uses a real-world camera property which is basically the lens millimeter value to define the camera’s view angle. The smaller the value the wider the view angle, but at the cost of stronger perspective distortion. The larger the focal length value, the narrower the view angle will be, thus reducing the perspective distortion. If you have experience in photography, you may feel right at home playing around with this lens millimeter value. But if you come from other 3D software that happens to use angle degree instead lens millimeter to define the view, you might want to use angle degree also in Blender. You can do that by just clicking here and choose “field of view”. Now you can control the camera’s view angle using degrees instead of lens millimeter. Finally, we’re at the main section of this tutorial where we will discuss different methods of controlling the camera object inside Blender. So there are at least 8 ways that you can use to control the camera object. The first one is the manual transformation. Second, the camera view local transformation. Next, is using the “align to view” feature. Then using the “lock to view” feature. Using the “walk navigation” control mode. Then using the “fly navigation” mode. Using the “track to” feature. And finally using the "follow path" feature. Now, out of these 8 methods, we’ll be covering only 7 of them. We’re not going to cover the fly navigation mode as I found this method to be very hard to control. But the way this fly navigation works is almost similar with how the walk navigation works. So you should be able to use it once you understand how to work with the walk navigation mode. Let’s discuss each of these methods one by one. The first one is the manual transformation. Basically with this method, you just select a camera object and then move it using the move tool or by pressing G for the shortcut. You can also rotate the camera using the rotate tool or use the R shortcut. Now, for this method to actually work. You need at least another viewport set as the camera view. For example, we can split this area vertically. Then hover the mouse on this area, and then press 0 on the Numpad to turn it into a camera view mode. You can see as I move or rotate the camera in the left view, the camera view at the right side updates accordingly. The next method of controlling the camera is right within the camera view without any additional split viewport. Basically, we will use mostly, the local axes of the camera. If you select a camera object, and then change the “transformation orientation” here to local. And you have the move tool active. This is how the local axes of the camera aligned. Up and down is on the Y-axis. With positive Y as the up direction. Left and right is on the X-axis. With positive X as the right direction. And finally, the forward and backward directions are on the Z-axis. Positive Z-axis is actually the backward direction. And negative Z-axis is forward. Just remember these local axes as we're going to use them frequently in the next discussions. If you press 0 on the Numpad so you are inside a camera view, you can actually select the camera object by clicking on this frame. If the frame turned yellow, then you know that the camera object is currently selected. Sometimes if you have the camera selected and then you click on an empty space like this. It is hard to reselect the frame again. To get around this, you can click on any object in the scene to select it, and then select the camera object again. Or you can use the B shortcut to create a box selection like this that crosses the camera frame. You can also select the camera object from the outliner if you want to. After you are sure that the camera object is selected. You can now perform the local transformation method. To make things consistent, make sure you have the “transformation orientation” here set to "global". This is important because the transformation shortcuts work a bit differently if you are in the "local" transformation mode. Okay. The first keyboard shortcut is G. We can use this to pan the camera left, right, up and down, based on our current viewing direction. The next one is pressing G then followed by pressing Z twice. Pressing Z twice is a way of telling Blender that we want to use the local Z-axis of the camera. If you only press Z once after pressing G, then the global Z-axis is used instead. So again, press G then Z, then Z again. Now we can move the camera forward and backward by moving the mouse up and down. This type of camera movement is commonly known as "dolly" in cinematography. Next, let’s discuss camera rotation. We can rotate the camera using the global Z-axis by pressing R then followed by Z. This type of camera rotation is also known as panning in cinematography. The next camera rotation is tilting. To tilt the camera we can use the local X-axis as the rotational axis. So press R and then press X twice. We can see we are tilting the camera up and down. The last one is rolling. This type of camera rotation is commonly used in fly-through camera motions. Rarely used for headshots or common static shots scenarios. To do a camera rolling you can press R and then followed by Z twice. We can see how the camera rotates using its own local Z-axis. So that is the second method of controlling the camera transformation. The next method we're going to discuss in this tutorial is aligning the active camera to the current “user” view. Let's say we are in the “user” view mode. And after rotating the view and adjusting the zoom, we happen to like the viewing angle and we want to use that view for the final rendering. Remember, final rendering needs a camera, and right now we are viewing the scene in the user view mode. Not in the camera view mode. So essentially, we want to make the active camera to reposition and align itself to the current user view. To do that we can hold Ctrl + Alt and then press 0 on the Numpad. Or if you forget the shortcut, you can always go to the “view” menu, then “align view”, and then choose this command here “align active camera to view”. As you can see now the active camera has changed and it is now viewing the scene just like how we see the scene before in the “user” view mode. The fourth method of controlling the camera is by using the “lock to view” feature. Now, this feature is very interesting. Essentially with this feature, you can control the camera as you would normally control the user viewport mode. To activate this feature, you can press N to open the sidebar panel. In the view tab, you can find this option “lock camera to view”. If you turn this on. Now we can perform any typical viewport navigation operations such as dragging with the middle mouse button to rotate the view, zooming in and out using the mouse scroll wheel, and panning the view with the Shift and middle mouse button combination. All of these operations will affect the active camera object’s transformation automatically. After you are done adjusting the camera with this mode, don’t forget to turn this off again. The fifth method of controlling the camera is by using the "walk navigation" method. If you played FPS games before. You may already accustomed to using W, A, S, D letter keys to move while at the same time using the mouse to look around. Well, in Blender you can do that also. This method can be useful if you are designing a game level or a VR project inside Blender, and you want to navigate the space like how the users will navigate it later. So to do this you need to go to the “view” menu, then “navigation”, then “walk navigation”. You can see Blender also provides another navigation method called the “fly navigation”. But I found this method to be very hard to control, so I need to skip this one. Let’s just focus on the “walk navigation” for now. Personally, I always prefer to use shortcuts than menus as they are just faster to perform. For the shortcut, you can press Shift + accent grave or tilde key to activate the walk navigation mode. It is the key just below the Escape key. When the walk navigation mode is active, the mouse cursor will be hidden and replaced by a crosshair at the center of the viewport. In this mode, you can pretty much navigate the viewport using the common controls found in FPS games. You can direct the view orientation by moving the mouse around. You can press W to move forward. Press S to move backward. D to move to the right. And A to move to the left. Those are the basics you probably already know. But besides those keys, you can also press E to elevate upward. And press Q to drop downward. In this mode, you can make the movement faster by holding Shift. Or if you need to move slower you can do so by holding the Alt key. Besides using the Shift and the Alt key, you can also set the speed gradually using the mouse scroll wheel. Scroll up to make the movement faster. And scroll down to make the movement slower. After you are done navigating, there are 2 things that you can do. If you want to keep the current view then you need to left-click. But if you want to cancel and go back to the previous view that you have before, then you need to right-click. Now, to really use this method to control the camera view. First, you need to be in the camera view. Then after that activate the walk navigation mode either by going to the "view" menu or simply by pressing Shift + accent grave. Now, in order for this to work, you don’t need to activate the “lock camera to view” option here in the sidebar panel. Although if you have this turned on already, it will work also. After you are done, remember to left-click to keep the changes or right-click if you want to ignore the changes and revert back to the previous view. Now, the walk navigation method also offers a special mode called the “gravity mode”. In this mode, Blender will detect surfaces beneath our camera object. In order for this to work properly, of course, you need some kind of surface that we can walk on. Otherwise, the camera object will just fall down infinitely. So, create a plane object first and then scale it up so it is wide enough for us to walk around on top of it. I already created this object before recording. Now let’s go back to the camera view by pressing 0. Then activate the walk navigation mode by pressing Shift + accent grave. Now we’re in walk navigation mode. To activate the "gravity" mode, you can press Tab. Notice how we fall and stay on the surface of the plane object. While in gravity mode like this, we can press V to jump. And one last feature that may come in handy in the walk navigation mode is the teleport feature. If you see a surface and you want to teleport to that surface immediately, you can target it by moving the mouse so that the crosshair is exactly pointing at that surface. Then press Spacebar. As you can see we just teleported to the surface location that we targeted before. Next, let’s discuss the “track to” constraint method. If you come from 3ds Max or other similar 3D applications. You might already be familiar with using a camera object that tracks another object as the viewing target. In some 3D applications, this is the default camera behavior. In Blender, however, camera objects are free objects by default. Meaning it does not constrained to be looking at a certain object. But if you do need to make the camera object to always be looking at a certain object, you can set this up easily in Blender using the “track to” constraint. So to do this, first make sure the camera object is selected. Then in the constraint tab, click the “add object constraint” and then choose “track to”. Because this constraint will force your camera to always be looking at another object, of course, you need that other object for this setup to works. You can create an empty object and use that as the target object. For now, I’m just going to use this object as the target object. After you have pointed an object as the target object, you need to set up the axes. Remember our earlier discussion about the camera axes? The forward direction is the local negative Z-axis. So make sure you pick this negative Z option. Then also remember that the up direction of the camera is the Y-axis. So make sure you have this up option set to Y also. And that’s it, you are done. Notice if I move the object around, the camera will follow automatically. Now, in the parameters of the constraint, you can find this option “target Z”. Mostly you don’t want this option turned on. Because if this is on, the camera rolling will be controlled by the target object’s rotation. So if I rotate the target object like so, the camera will follow by rolling accordingly. So that is what this “target Z” option does. Now, if you change your mind and decided to free up the camera object. Just remove the constraint by pressing this x button here. Now the camera object is free again just like before. The last method we’re going to cover in this tutorial is using the “path follow” constraint. This method is great for creating guided camera animation. For example, if you want to create a walk-through animation, a fly-through animation, or a roller coaster type camera animation, etc. To set this up, you will need a curve object for the path. I already created this path here before recording the tutorial. Next, you need to reset the camera position and rotation. To do that, make sure the camera object is selected. Then press Alt + G to reset the position, then press Alt + R to reset the rotation. You can see the camera object now moved to the center of the world and now is facing straight down. Next, open the constraint tab. Add constraint, and then choose “follow path” here. In the target field, you need to pick the curve object you want to use as the path. Change the forward option to the negative Z-axis. And the up direction to Y. This relates to the camera local axes we discussed earlier. Then finally turn on the “follow curve” option here to make the camera facing the movement direction automatically. We’re not going to discuss camera animation in this tutorial, but if you do need to animate the camera, then you can animate this offset value here. As you can see the camera will move along the path as I drag the offset value. Now what’s so great about constraints is that you can combine them. In this setup, you can see that I have created a circle curve for the path and then a camera to follow that path. Then I added a “track to” constraint so that the camera is always looking at this object at the center. With this, we can create a turntable-like animation to showcase our 3d models for example. Okay guys. If you want to learn more about computer graphics. Perhaps you want to jump into the video game industry. Or perhaps you want to create digital assets that can generate passive income. Or you want to have a career doing something you really love. Or become an entrepreneur in the creative industry and build your own design firm. Or maybe you just want to learn CG as a hobby. Then you should check out my courses at Udemy or at Skillshare. The links are in the description below. Currently, I have courses in Blender, 3ds max, Photoshop, Adobe Illustrator, and Krita. And more to come -in sha Allah-. All of these courses will guide you from the very basic, step by step, until you can master the skills that you need. As always, subscribe to my channel. Share the video. Give a thumbs up if you like the video, and give a thumbs down if you hate the video. Check out my other tutorials. Wassalamualaikum.