WEBVTT 1 00:00:00.633 --> 00:00:04.900 Hello everyone. In this episode, we are gonna talk about the options 2 00:00:04.900 --> 00:00:07.166 and settings for animation in Blender. 3 00:00:07.166 --> 00:00:10.466 First, let's discuss how to insert keyframes. 4 00:00:10.466 --> 00:00:13.000 Whether it's objects or controllers in rigging, 5 00:00:13.000 --> 00:00:15.933 the method for inserting keyframes is the same. 6 00:00:16.133 --> 00:00:18.366 Here is a random object I selected. 7 00:00:18.366 --> 00:00:21.233 In the 3D view, press the "I" key, 8 00:00:21.233 --> 00:00:23.833 which brings up the "Insert Keyframe Menu." 9 00:00:23.833 --> 00:00:27.500 Then select the properties we need to insert keyframes. 10 00:00:27.500 --> 00:00:31.266 Mostly, we select "Location AND Rotation." 11 00:00:31.266 --> 00:00:34.666 After selecting an object, you can also right-click to choose 12 00:00:34.666 --> 00:00:37.700 "Insert Keyframe" to access this menu. 13 00:00:37.700 --> 00:00:40.400 There is another way to insert keyframes. 14 00:00:40.400 --> 00:00:43.300 Press the "N" key to display the sidebar. 15 00:00:43.766 --> 00:00:47.100 By right-clicking, you can insert keyframes for a property, 16 00:00:47.100 --> 00:00:49.700 or insert a single keyframe for a channel. 17 00:00:49.700 --> 00:00:55.100 Likewise, you can delete keyframes or a single keyframe by right-clicking. 18 00:00:56.066 --> 00:00:57.833 After inserting a keyframe, 19 00:00:57.833 --> 00:01:00.966 we can see the color of the Input Boxes has changed. 20 00:01:00.966 --> 00:01:05.000 The Yellow indicates that there is an inserted keyframe in the current time. 21 00:01:05.766 --> 00:01:07.300 If you drag the playhead, 22 00:01:07.300 --> 00:01:09.700 the color of the panel will change to green. 23 00:01:10.400 --> 00:01:13.900 If you press the "G" key to move this object at this moment, 24 00:01:15.233 --> 00:01:17.333 you'll see the green turns orange. 25 00:01:17.333 --> 00:01:21.866 The orange indicates that we moved the object without inserting keyframes. 26 00:01:22.466 --> 00:01:23.900 If you drag the playhead, 27 00:01:23.900 --> 00:01:27.066 you'll notice the object back to its previous position. 28 00:01:27.066 --> 00:01:31.533 Inserting keyframes with the "I" key every time can be Tedious. 29 00:01:31.766 --> 00:01:35.833 You can enable the "Auto Keying" button on the timeline title bar. 30 00:01:35.833 --> 00:01:40.666 After that, your actions will be recorded as keyframes automatically. 31 00:01:40.666 --> 00:01:41.866 Let's give it a go. 32 00:01:42.100 --> 00:01:45.166 Press the "G" key and then "Z". 33 00:01:45.166 --> 00:01:48.266 Now you'll see the keyframes have been inserted for location, 34 00:01:48.266 --> 00:01:52.966 rotation, and scale. But I don't want this. 35 00:01:52.966 --> 00:01:57.233 So I press the "Ctrl+Z" keys to undo. 36 00:01:57.233 --> 00:02:01.300 I only want to insert keyframes for a specific channel. 37 00:02:01.300 --> 00:02:03.200 I will go to the "Keying" section, 38 00:02:03.200 --> 00:02:07.466 select "Active Keying Set," then "Location & Rotation". 39 00:02:08.933 --> 00:02:11.366 Then go to the "Auto Keyframing" section 40 00:02:11.366 --> 00:02:13.800 and select "Only Active Keying Set", 41 00:02:13.866 --> 00:02:15.466 and move the object again. 42 00:02:15.466 --> 00:02:18.266 Press the "G" key then "Z". 43 00:02:18.266 --> 00:02:22.066 Now, Blender only keyframe the selected channels. 44 00:02:22.533 --> 00:02:24.433 Once you've finished the settings, 45 00:02:24.433 --> 00:02:27.100 the "Insert Keyframes" menu won't pop up again when you 46 00:02:27.100 --> 00:02:30.433 press the "I" key or right-click to insert keyframes. 47 00:02:30.766 --> 00:02:33.133 After inserting multiple keyframes, 48 00:02:33.133 --> 00:02:37.000 we can see the animation effects by dragging the playhead. 49 00:02:37.266 --> 00:02:41.033 You can also press the spacebar to play the animation. 50 00:02:43.266 --> 00:02:45.500 If you want to modify a specific keyframe, 51 00:02:45.500 --> 00:02:49.566 you can click the up arrow or down arrow keys to jump between them, 52 00:02:49.566 --> 00:02:51.700 You can also click the "Jump to Keyframe" button 53 00:02:51.700 --> 00:02:54.300 on the timeline title bar for the same purpose. 54 00:02:54.633 --> 00:02:58.966 By the way, it's easy to edit these keyframes on the timeline. 55 00:02:58.966 --> 00:03:03.366 For instance, press the "S" key to scale, "G" key to move, 56 00:03:03.533 --> 00:03:09.433 "Shift+D" keys to duplicate, "Ctrl+C" keys to copy, 57 00:03:09.433 --> 00:03:13.666 "Ctrl+V" keys to paste, and "X" key to delete. 58 00:03:15.466 --> 00:03:19.000 Alright. Let's talk about the playback options. 59 00:03:19.000 --> 00:03:21.866 First, enable "Text Info". 60 00:03:22.200 --> 00:03:25.600 Then press the spacebar to play the animation. 61 00:03:26.966 --> 00:03:30.833 Now, we can see the FPS values in the top left corner, 62 00:03:30.833 --> 00:03:32.733 indicating playback smoothness. 63 00:03:32.733 --> 00:03:34.900 Let me open another project. 64 00:03:38.966 --> 00:03:42.366 You may notice its FPS values are very low. 65 00:03:42.366 --> 00:03:44.766 That can affect animation observation. 66 00:03:46.133 --> 00:03:50.700 To solve this problem, we can select the "Playback" section on the timeline title bar, 67 00:03:50.700 --> 00:03:55.100 go to the "Sync" option, and do some synchronous modification. 68 00:03:55.100 --> 00:03:59.033 Different Sync options offer different playback smoothness. 69 00:03:59.033 --> 00:04:02.966 By default, the sync option is "Play Every Frame." 70 00:04:02.966 --> 00:04:06.800 The FPS values may be affected by complexity of the scene. 71 00:04:06.800 --> 00:04:09.433 Frame dropping optimizes playback smoothness 72 00:04:09.433 --> 00:04:11.800 by not playing every frame in real-time, 73 00:04:12.166 --> 00:04:16.766 and the speed of playback aligns closely with the project's frame rate. 74 00:04:19.900 --> 00:04:23.500 When animating, I usually switch to the "Frame Dropping" mode 75 00:04:23.500 --> 00:04:26.400 as it facilitates smoother animations. 76 00:04:26.400 --> 00:04:30.766 If you are experiencing low FPS issue while playing animations in Blender, 77 00:04:30.766 --> 00:04:34.133 it can significantly affect us to view the animation result. 78 00:04:34.133 --> 00:04:38.566 In such cases, you can render the animation to a video for better preview. 79 00:04:38.566 --> 00:04:41.966 Click on View and find Viewport Render Animation. 80 00:04:42.333 --> 00:04:45.433 But before that, we need to change some settings. 81 00:04:45.566 --> 00:04:47.266 Find the Output panel. 82 00:04:47.266 --> 00:04:51.466 Here, the output path determines where the preview video will be saved. 83 00:04:51.466 --> 00:04:54.233 You can modify this depending on your needs. 84 00:04:54.433 --> 00:04:57.966 Then change the file format to FFmpeg Video. 85 00:04:58.200 --> 00:05:00.500 If the format is set to PNG, 86 00:05:00.500 --> 00:05:04.033 the animation preview will be saved as image sequences. 87 00:05:04.566 --> 00:05:08.400 Then, change the container under Encoding to MPEG-4, 88 00:05:08.400 --> 00:05:11.366 so the preview file format will be MP4. 89 00:05:11.566 --> 00:05:15.400 After that, click on View and Viewport Render Animation. 90 00:05:15.533 --> 00:05:18.066 Now, Blender will render the animation 91 00:05:18.066 --> 00:05:20.333 based on the current selection on the timeline. 92 00:05:20.333 --> 00:05:21.400 After rendering, 93 00:05:21.400 --> 00:05:24.766 you can use a video player to watch the animation video. 94 00:05:24.866 --> 00:05:27.866 You can also click Render, then View Animation. 95 00:05:27.966 --> 00:05:31.033 The shortcut key is Ctrl+F11. 96 00:05:31.100 --> 00:05:34.033 This will use the built-in viewer to play the animation. 97 00:05:34.800 --> 00:05:38.233 Besides, you can click and drag with the left mouse button 98 00:05:38.233 --> 00:05:39.966 to scrub through the animation, 99 00:05:39.966 --> 00:05:41.933 making it easier to review. 100 00:05:42.266 --> 00:05:46.333 Alright, that's all for the basics about keyframes. Bye.