Blender Notes Introduction to Digital Modeling and Animation in Design Blender Tutorial - week 6 Animation Basic Key Frames We now know how to model and apply materials and textures, so it’s time to figure out how to animate meshes in the 3D scene. The main window type we will need for keyframe animation is the Timeline. The first thing to do is go to the Render Buttons in the Properties Panel. There, after you set up your scene and set the Frames/Second (FPS) in the render button area (Dimensions Panel > Presets), consider what you want your ‘actors’ (moving models) to do and how long they should take to do it. One of the problems that beginner animators experience is making the motions occur in an appropriate time. Remember to look at your frames/second (FPS) when animating and relate it to time. For example, if you want something to take 3 seconds to get from point A to point B and you are running at 24 fps (Blender default), you need to complete the animation in a total of 72 frames (3 sec x 24 fps =72 total). While in the Rendering Buttons > Dimensions Panel note also the Frame Range. As you can see the animation will begin in frame 1 and end in frame 250. This is the default animation duration and so Blender will only playback and render until frame 250 is reached. Assuming you keep the 24 FPS those 250 frames translate to around 10 sec of animation. If your animation will last longer you will need to increase this default value. Below, you can see the main controls of the Timeline window: 1. Current frame: This is the current frame. It can be controlled via the Arrow Keys: Left/Right will change one frame at a time. 2. Start and End Frames: Sets the animation total length. 3. Playback Controls: Just like any player, it helps move through time. 4. Frame Indicator: Green line. Moving, Rotating and Scaling are the three main animation types which can be applied on an object. Key-‐frames can be created for all of them respectively. When you create the moving, rotating and scaling key-‐frames you only do it for the start and end position while Blender will figure out all the in between locations on the other frames. So lets make our first simple animation. Add a primitive in your scene, or use the default cube and place it in the position you’d like your animation to begin from. Start from frame 1 (to initialize the starting position). Now to insert a key-‐ frame for the object, press the I key to Insert Key. Make sure your cursor is in the 3D window when you push the I key. The menu on the right image pops up. You have 3 main options Location, Rotation and Scaling and combinations between them. Select the key option that corresponds to the type of motion you want to do. Now advance to the next frame where you want to put a key (i.e. frame 25 if you want a movement to occur after 1 second), move, rotate or size the object, then press I again to insert another key. Remember, you can change in-‐between frames quickly with the arrow keys. Continue advancing the frames and placing keys along your timeline to create your animation. For the most part, location and size keys work flawlessly, but often care needs to be given to rotation keys. If you try to rotate an object too far in one set of keys, the object may not rotate in the exact direction you want it to. It may rotate oddly. Try small angular steps while animating rotation keys. Once you are done you can playback your animation to see it. Go back to frame 1, hover over the 3D viewport and hit Alt+A (to stop the animation hit ESC). You can also use the Playback Controls on the Timeline. Automatic Key framing is another feature of the timeline designed to make the process of inserting keys easier. Typing I to insert keys is the traditional way of entering key frames, but it can become time consuming when you have a lot of items to insert key frames for (especially in later stages on animation when using bones in a skeleton). This is where automatic key framing becomes a useful feature. To turn on automatic key framing, press the small red circle button in the playback buttons on the Timeline window. This will record any motion you do on a given frame and insert the necessary key frames needed. Don't forget to set a key on your initial frame (frame 1) to initialize your starting point. Auto key framing won't do that unless you change something on that frame. Now, with the auto key framing on and your initial frame set you can work similarly as before, progress between frames and make changes to your object. The difference in that you don’t need to remember to add the key, they will be added for you. Don't forget to turn off automatic key framing when not needed, otherwise you may end up animating things accidentally when you don't want to! The Graph Editor and Dope Sheet To better control our animations we need to have some basic control over the Graph Editor and Dope Sheet. Those are window types and can be accessed by splitting your screen and loading them or for more convenience you can change the screen layout from Default (where we have been working so far) to Animation (premade animation friendly layout with all windows opened) by the Info header of the program. Now you must be able to see those two windows on the left of the layout. They will display the actions of your actor and your key frames on the timeline in a graphical form and allow refinement and modification of the animation. All objects that have animation keys on them will be displayed in the windows and their data will be displayed as diamonds (Dope Sheet) or curves (Graph Editor). You can zoom in/out and pan in this window with the center mouse wheel. Like actual objects, the curves can be edited in an edit and object mode. About the Dope Sheet: The Dope Sheet shows your animation keys as small diamonds along the timeline. This can be very useful when you want to copy keys to other points along the timeline or select multiple keys and scale them to slow down an animation. You can select keys the same way you select other objects in Blender (Shift+RMB or B key to box select). You will notice that when you select a key in the Dope Sheet, the same key is selected in the Graph Editor. About the Graph Editor: Every object that has key frames will be displayed in the Graph Editor, but trying to look at everything at one time is confusing, so try to select and deselect objects so to only have the ones you are working on visible at anytime. Below is a short description of the Graph Editor window: If we take a closer look at each Bezier Curve on the Graph Editor we will see that each yellow line attached to it, has a dot at the center and a dot at each end. The yellow lines are called control handles or key frame points. The control handles are used to change the shape of the curve. The vertical green line is the indicator and its location represents the current frame number of the animation. You will see it aligns with the frame numbers across the bottom of the window and at the lower end of the line a green box holds the frame number. You can click on this line and drag it through the animation the same way as you can in the Timeline Window. At the left hand side of the Graphical Display is a vertical bar with positive and negative numbers representing displacement from the mid point of the 3D Window. On the bottom, the vertical bar represents the frames of the animation (default: 0 to 250). IMPORTANT If you ever need to start over with an animation, you can erase all the animation tracks in the Graph Editor window and start over. To select all tracks, hit A and then Delete key. Be careful that you only get the keys for the selected object! Animating Materials Having an understanding of animation basics allows us to look at some of the other things that can be animated in Blender besides movement, rotation and size of an object. It is also possible to animate among other things Materials, Textures, Lamps and World settings. Let's start by animating the material of an object. Open up a new scene in Blender. We are again going to insert key frames on the Timeline similarly as before, making the color of our cube object change between frames. For the first frame we will use the default gray color so no need to change it. Make sure you are in frame 1 and then hover over the diffuse color button on the Materials tab and click the right mouse button! From the menu that comes up select Add keyframes. Change to frame 50 on the timeline and change the color of the material to red. Then hover over the diffuse button again and right mouse button > Add keyframes. You can keep adding frames then same way… If you now go back to frame one and play the animation (Alt+A) you will see the color changing as the frames progress. Note that there are other material settings you can animate like the Alpha, Specular, Halo size etc. but some of them may not be visible in the 3D viewport and you may need to render out the animation to see how they affect the scene. Animating the Camera Lens Similarly as before we will also animate the camera lens and position to demonstrate how other properties than the object’s location, rotation and scaling can be animated in Blender. Again we will start a new .blend and select the camera. Then go to Camera View (0 on the NumPad) to make sure we see from the camera angle and control this animation better. With the camera selected hover over the camera Object Data on the Properties. We are interested in the Focal Length (zoom of the camera lens) and the X, Y Shift values (to position the lens on the X and Y axis). For the first frame we will leave the defaults. Make sure you are on frame 1 hover over Focal Length and right mouse button > Add Keyframes. Then hover over the X Shift and again right mouse button > Add Keyframe. Then progress to the next frame of the animation, e.g. 50, hover over the Focal Length and increase the value. You will see the camera zooming in the object. When happy right mouse button over it and > Add Keyframes. Similarly, still on frame 50, hover over the X Shift and change the value to reposition the camera and when happy right mouse button and Add Keyframe. Continue for the length of frames you want… Remember that in Blender a variety of objects and data can be animated. We have seen two examples for materials and the camera but there are other exciting thins you can do to make your animations reach and interesting, among which to animate the Spot (Energy, Spot Size, Angle), the World (Zenith, Horizon, Stars), Textures etc. Keep experimenting and practicing! Camera Tracking Blender Constraints are provided to help with animation. There are times during an animation you want to constrain or follow a certain object in your scene. In this case you need to keep the camera focused on an object and therefore use the Track To constraint. The tracking constraint is useful in animating by saving you a lot of time and frustration trying to place location and rotation keys on the camera in an effort to try to keep your target centered. When used in conjunction with Paths (discussed below), you can create very smooth animation paths. To set up a simple camera tracking constraint, select the camera first, then the target while holding down Shift. Press Ctrl-‐T and select Track To Constraint. Sometimes it’s convenient to target an Empty object. This allows you to move your target around in your scene, so as to allow the camera to focus on one object for a while, then move to something else by changing the target and so on.
© Copyright 2026 Paperzz