在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
In our latest Blender tutorial from Karan Shah, you'll learn how to generate a character rig using Blender's Rigify add-on, and how to skin the character using weight painting for precise control over mesh deformation. Finally Karan will walk you through the process of creating an animation walk cycle using keyframing and the dopesheet.
在我们的Karan Shah最新Blender教程,您将学习如何使用Blender的Rigify创建角色的绑定,以及如何使用皮肤权重绘制工具给角色植皮以精确控制网格变形的。最后Karan Shah将引导您通过使用关键帧和dopesheet创建循环步行动画的过程。
Step 1
Open a new file and import the base model (File > Import). You can use any other biped model as well. With the model selected, press Alt+G to clear its location, so that it's placed at the center. Make sure the center of the model (orange dot) is at the bottom of the mesh. If not, Press TAB to get into edit mode and select all vertices with the A key and then Press G and move the vertices up, so that the center point is at the base of the mesh. Press TAB to get out of edit mode.
打开一个新的文件,并导入基础模型(文件>导入) 。你也可以使用任何其他的两足动物模型。选择模型,按下Alt + G以清除它的位置,因此它被放置在中心。确保模型(橙色点)的中心位于网格的底部。如果不是,按TAB键进入编辑模式,A键选择所有的顶点,然后按G移动所有顶点向上,让中心点是在网格的基底。按TAB键离开编辑模式。
在我们的Karan Shah最新Blender教程,您将学习如何使用Blender的Rigify创建角色的绑定,以及如何使用皮肤权重绘制工具给角色植皮以精确控制网格变形的。最后Karan Shah将引导您通过使用关键帧和dopesheet创建循环步行动画的过程。
Step 1
Open a new file and import the base model (File > Import). You can use any other biped model as well. With the model selected, press Alt+G to clear its location, so that it's placed at the center. Make sure the center of the model (orange dot) is at the bottom of the mesh. If not, Press TAB to get into edit mode and select all vertices with the A key and then Press G and move the vertices up, so that the center point is at the base of the mesh. Press TAB to get out of edit mode.
打开一个新的文件,并导入基础模型(文件>导入) 。你也可以使用任何其他的两足动物模型。选择模型,按下Alt + G以清除它的位置,因此它被放置在中心。确保模型(橙色点)的中心位于网格的底部。如果不是,按TAB键进入编辑模式,A键选择所有的顶点,然后按G移动所有顶点向上,让中心点是在网格的基底。按TAB键离开编辑模式。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 2
Next we will enable the Rigify add-on. In the File menu select User Preferences.
下一步,我们将启用Rigify插件。在文件菜单(File)中选择用户首选项( User Preferences)。
Select the Add-on Tab and in the search box type Rigify and check the
tick box to enable it. You may press the "Save as default" button, so that Blender remembers the setting. You can now close the User Preferences Window.
选择插件(Add-on )选项卡在搜索框(search box )输入Rigify,并勾选它。你也许需要让Blender记住你的设置,可以点击"Save as default" 按钮,现在,您可以关闭该用户首选项( User Preferences)窗口。
Next we will enable the Rigify add-on. In the File menu select User Preferences.
下一步,我们将启用Rigify插件。在文件菜单(File)中选择用户首选项( User Preferences)。
Select the Add-on Tab and in the search box type Rigify and check the
tick box to enable it. You may press the "Save as default" button, so that Blender remembers the setting. You can now close the User Preferences Window.
选择插件(Add-on )选项卡在搜索框(search box )输入Rigify,并勾选它。你也许需要让Blender记住你的设置,可以点击"Save as default" 按钮,现在,您可以关闭该用户首选项( User Preferences)窗口。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 3
Make sure the 3D cursor is at the center point (bottom) of the mesh. If not, then select the object and press Shift+C and then select cursor to selected. Press Shift+A and select Armature, and now you will notice that there is a new item called Human Meta-Rig. Click on it and you will have a Human Rig.
确保3D光标是在网格的中心点(底部)。如果没有,那么请选择对象并按下Shift + C ,然后选择cursor to selected(光标到选择)。按Shift + A ,选择Armature,现在你会发现,有一个人新的菜单选项Meta-Rig。点击它,你就会有一个人的绑定。
Make sure the 3D cursor is at the center point (bottom) of the mesh. If not, then select the object and press Shift+C and then select cursor to selected. Press Shift+A and select Armature, and now you will notice that there is a new item called Human Meta-Rig. Click on it and you will have a Human Rig.
确保3D光标是在网格的中心点(底部)。如果没有,那么请选择对象并按下Shift + C ,然后选择cursor to selected(光标到选择)。按Shift + A ,选择Armature,现在你会发现,有一个人新的菜单选项Meta-Rig。点击它,你就会有一个人的绑定。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 5
With the Meta-Rig selected, press TAB to enter into edit mode. Scale the rig to match the mesh. Press . (period) to make the 3D cursor the pivot point for rotation and scale, and then Scale the bones. Press , (comma) to make the Median Point the center of rotations / scale.
选择Meta-Rig 物体,按TAB键进入编辑模式,缩放Meta-Rig 物体匹配网格。按.键确保3D光标为pivot point 旋转和缩放,然后缩放骨骼。按,键确保Median Point the center(中心点旋转/ 缩放.
With the Meta-Rig selected, press TAB to enter into edit mode. Scale the rig to match the mesh. Press . (period) to make the 3D cursor the pivot point for rotation and scale, and then Scale the bones. Press , (comma) to make the Median Point the center of rotations / scale.
选择Meta-Rig 物体,按TAB键进入编辑模式,缩放Meta-Rig 物体匹配网格。按.键确保3D光标为pivot point 旋转和缩放,然后缩放骨骼。按,键确保Median Point the center(中心点旋转/ 缩放.
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 7
Select and move the bone tips to match the mesh.
选择并移动骨骼以和网格相匹配。
Check from the Top view as well.
在顶视图都如此匹配网格。
Adjust the leg bones
调整腿部骨骼
Match the bones from the side view. Make sure to keep the knee bone a bit bent forward, i.e.
don't make the leg bones in a straight line. Once done, Save the file.
在侧视图匹配骨骼。确保膝盖骨有些向前弯曲,即不要使腿骨在一条直线上。一旦完成,保存文件。
Select and move the bone tips to match the mesh.
选择并移动骨骼以和网格相匹配。
Check from the Top view as well.
在顶视图都如此匹配网格。
Adjust the leg bones
调整腿部骨骼
Match the bones from the side view. Make sure to keep the knee bone a bit bent forward, i.e.
don't make the leg bones in a straight line. Once done, Save the file.
在侧视图匹配骨骼。确保膝盖骨有些向前弯曲,即不要使腿骨在一条直线上。一旦完成,保存文件。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 10
Now we will skin the mesh to the Armature. Select the Mesh first, and then the Generated Rig and press Ctrl+P and select Automatic weight. The mesh is now skinned to the new Armature Setup.
现在我们将为骨架蒙皮。首先选择网格,然后选择创建的绑定系统,然后按Ctrl + P ,然后选择自动权重(Automatic weight)。该网格已经被绑定到新的骨架系统了。
Press Ctrl+Tab or switch to Pose mode and play with the controllers.
按Ctrl + Tab键或切换到姿态模式( Pose ),移动控制器。
Now we will skin the mesh to the Armature. Select the Mesh first, and then the Generated Rig and press Ctrl+P and select Automatic weight. The mesh is now skinned to the new Armature Setup.
现在我们将为骨架蒙皮。首先选择网格,然后选择创建的绑定系统,然后按Ctrl + P ,然后选择自动权重(Automatic weight)。该网格已经被绑定到新的骨架系统了。
Press Ctrl+Tab or switch to Pose mode and play with the controllers.
按Ctrl + Tab键或切换到姿态模式( Pose ),移动控制器。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 11
You can find the deforming bones in the third to last Bone layer (see image). SHIFT+Left click to select it along with other layers. Shift+Left click again to make the bones under this layer invisible.
你可以在倒数的骨骼3层找到变形骨骼(看图)。SHIFT+左键可以加选其它的层,SHIFT+左键再次点击这些层使层不可见。
Make sure you are in Pose mode. Now select the Mesh object and Press Ctrl+Tab to enter into weight paint mode. Select the bones you would like to adjust the weight for by Right-clicking. Press T to bring out the tool shelf and under the Options panel, check X Mirror. This will mirror the weight painting for the left/right bones.
请确保你是在姿势模式。现在选择网格对象,然后按Ctrl + Tab键进入权重绘制模式。通过右键单击选择你想要调整权重的骨头。按T呼出工具架,选项(Options)面板下, 勾选Mirror. 将会镜像权重绘制。
You can find the deforming bones in the third to last Bone layer (see image). SHIFT+Left click to select it along with other layers. Shift+Left click again to make the bones under this layer invisible.
你可以在倒数的骨骼3层找到变形骨骼(看图)。SHIFT+左键可以加选其它的层,SHIFT+左键再次点击这些层使层不可见。
Make sure you are in Pose mode. Now select the Mesh object and Press Ctrl+Tab to enter into weight paint mode. Select the bones you would like to adjust the weight for by Right-clicking. Press T to bring out the tool shelf and under the Options panel, check X Mirror. This will mirror the weight painting for the left/right bones.
请确保你是在姿势模式。现在选择网格对象,然后按Ctrl + Tab键进入权重绘制模式。通过右键单击选择你想要调整权重的骨头。按T呼出工具架,选项(Options)面板下, 勾选Mirror. 将会镜像权重绘制。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 12
You can adjust the weight amount with the slider in the Tool Shelf. You can also adjust the other brush settings.
你可以在工具架滑块调节权重数量。您还可以调整其它画笔设置。
Select the bones and adjust the weight. Do this for any bone you find if the deformation is wrong. To rotate and move, use the controller bones and to adjust the weight paint, select the deforming bones. Check the weight painting for all major bones including the fingers. Painting with a higher weight value means that the vertices will be affected more with the movement of the bone. Similarly painting with a lower value means vertices with be less affected by the bone. Save the file.
选择骨骼和调整权重。如果你发现任何的变形是错误的做这个。旋转和移动,使用控制骨骼和调整权重绘制,选择变形骨骼。检查所有主要的骨头,包括手指的权重绘制。具有更高的权重值意味着顶点会受到骨骼移动的更多影响。类似地较低值意味着顶点受骨骼的影响较小。然后保存文件。
You can adjust the weight amount with the slider in the Tool Shelf. You can also adjust the other brush settings.
你可以在工具架滑块调节权重数量。您还可以调整其它画笔设置。
Select the bones and adjust the weight. Do this for any bone you find if the deformation is wrong. To rotate and move, use the controller bones and to adjust the weight paint, select the deforming bones. Check the weight painting for all major bones including the fingers. Painting with a higher weight value means that the vertices will be affected more with the movement of the bone. Similarly painting with a lower value means vertices with be less affected by the bone. Save the file.
选择骨骼和调整权重。如果你发现任何的变形是错误的做这个。旋转和移动,使用控制骨骼和调整权重绘制,选择变形骨骼。检查所有主要的骨头,包括手指的权重绘制。具有更高的权重值意味着顶点会受到骨骼移动的更多影响。类似地较低值意味着顶点受骨骼的影响较小。然后保存文件。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 14
In Pose mode, select any leg control. Press N to open up the properties shelf. In the Rig Main Properties, Slide up the FK/IK to full. This will enable IK controls for the legs. Do that same for the other leg too.
在姿态模式下,选择任何腿部的控制器。按N打开属性面板。在Rig Main Properties选项,向上滑动FK / IK到满格。这将使IK控制用于腿部。做相同的事情对另一条腿。
You can also toggle on/off the display of the bones layers with the shortcut on the Rig Layer Panel. Hide the bones you are not using. See my settings for an example. You can also
turn off X-ray. We can now start animating.
你也可以使用快捷键在Rig Layer面板打开/关闭骨头层的显示。隐藏不使用的骨头。看到一个例子我的设置。你也可以关闭X-ray.我们现在可以开始制作动画。
In Pose mode, select any leg control. Press N to open up the properties shelf. In the Rig Main Properties, Slide up the FK/IK to full. This will enable IK controls for the legs. Do that same for the other leg too.
在姿态模式下,选择任何腿部的控制器。按N打开属性面板。在Rig Main Properties选项,向上滑动FK / IK到满格。这将使IK控制用于腿部。做相同的事情对另一条腿。
You can also toggle on/off the display of the bones layers with the shortcut on the Rig Layer Panel. Hide the bones you are not using. See my settings for an example. You can also
turn off X-ray. We can now start animating.
你也可以使用快捷键在Rig Layer面板打开/关闭骨头层的显示。隐藏不使用的骨头。看到一个例子我的设置。你也可以关闭X-ray.我们现在可以开始制作动画。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 16
You will see that the screen has an extra window for the Dope sheet (Top Left). This is where we can see and manipulate the keyframes. In the Dopesheet window, choose Action Editor Mode. Dope sheet mode will show the keyframes of all objects and Armature bones, where as the Action editor shows keyframes of a particular action of the armature.
你会看到屏幕上一个另外的摄影表窗口(左上)。在这里,我们可以查看和操作关键帧。在摄影表窗口(Dopesheet)。选择动作编辑器( Action Editor )模式。摄影表模式将显示所有物体的关键帧和骨架的骨头,其中的动作编辑器显示的骨架的特定动作的关键帧。
You will see that the screen has an extra window for the Dope sheet (Top Left). This is where we can see and manipulate the keyframes. In the Dopesheet window, choose Action Editor Mode. Dope sheet mode will show the keyframes of all objects and Armature bones, where as the Action editor shows keyframes of a particular action of the armature.
你会看到屏幕上一个另外的摄影表窗口(左上)。在这里,我们可以查看和操作关键帧。在摄影表窗口(Dopesheet)。选择动作编辑器( Action Editor )模式。摄影表模式将显示所有物体的关键帧和骨架的骨头,其中的动作编辑器显示的骨架的特定动作的关键帧。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 18
Move the mouse over the 3D view and press 3 on the numpad to get into the side view. Make sure you are in Ortho view mode and not in Perspective. Press 5 on the numpad to toggle off/on perspective view. Also make sure you are at the First Frame. Press Shift+Left Arrow to get to the first frame. Select the Left Foot bone controller and move it forward. You will notice that a keyframe is automatically created in the Dopesheet/ Action Editor at the first frame mark.
将鼠标移动到3D视图,然后按数字键3就可以进入侧视图。确保你是在正交模式视图而不是在透视图。按数字键5可以打开/关闭透视图。另外,还要确保你在第一帧。按Shift +左箭头去到第一帧。选择左脚骨控制器和向前移动。你会发现,一个关键帧将被自动的创建在Dope sheet 摄影表/动作编辑器第一帧。
Achieve the following pose at the first frame. To move a bone, select it and then press G, and R to rotate. To move the whole torso, use the Torso bone.
在第一帧实现以下姿态。要移动骨骼,选择它,然后按G,和R旋转。移动整个躯干,用躯干骨。
Move the mouse over the 3D view and press 3 on the numpad to get into the side view. Make sure you are in Ortho view mode and not in Perspective. Press 5 on the numpad to toggle off/on perspective view. Also make sure you are at the First Frame. Press Shift+Left Arrow to get to the first frame. Select the Left Foot bone controller and move it forward. You will notice that a keyframe is automatically created in the Dopesheet/ Action Editor at the first frame mark.
将鼠标移动到3D视图,然后按数字键3就可以进入侧视图。确保你是在正交模式视图而不是在透视图。按数字键5可以打开/关闭透视图。另外,还要确保你在第一帧。按Shift +左箭头去到第一帧。选择左脚骨控制器和向前移动。你会发现,一个关键帧将被自动的创建在Dope sheet 摄影表/动作编辑器第一帧。
Achieve the following pose at the first frame. To move a bone, select it and then press G, and R to rotate. To move the whole torso, use the Torso bone.
在第一帧实现以下姿态。要移动骨骼,选择它,然后按G,和R旋转。移动整个躯干,用躯干骨。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 20
Twist the hip bone with the flow of the legs.
随着腿部的运动而扭转臀部骨骼。
Rotate the shoulders with the flow of arms. The shoulder and hips will rotate opposite to each other. We have completed the First Keyframe for the walkcycle.
随着手臂的运动而旋转肩部。肩部和臀部将彼此相对旋转。我们已经完成了步行周期的第一个关键帧。
Select the head and in the Bone Properties, Uncheck "Inherit Rotation". This will prevent the head from inheriting the rotation from the lower bones. Move the torso or chest and you will get the idea.
选择头部在Bone属性选项卡,取消选中“Inherit Rotation” 。这将防止头部继承来自较低的骨骼的旋转。移动躯干或胸部,你会得到的想法。
Twist the hip bone with the flow of the legs.
随着腿部的运动而扭转臀部骨骼。
Rotate the shoulders with the flow of arms. The shoulder and hips will rotate opposite to each other. We have completed the First Keyframe for the walkcycle.
随着手臂的运动而旋转肩部。肩部和臀部将彼此相对旋转。我们已经完成了步行周期的第一个关键帧。
Select the head and in the Bone Properties, Uncheck "Inherit Rotation". This will prevent the head from inheriting the rotation from the lower bones. Move the torso or chest and you will get the idea.
选择头部在Bone属性选项卡,取消选中“Inherit Rotation” 。这将防止头部继承来自较低的骨骼的旋转。移动躯干或胸部,你会得到的想法。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 21
Press A to select all bones. Although the keyframes are added to the bones which are changed, you can also add a key frame to all bones. Select all the bones with the A key and then Press I and select LocRot.
按A键选中所有的骨头。虽然关键帧被添加到该改变的骨头,但你还可以将关键帧添加到所有的骨头。A键选择所有的骨头,然后按I键并选择LocRot 。
Click on the Copy Pose button on the header of the 3D view.
点击在3D视图的标题(Copy Pose)复制姿势按钮。
Press A to select all bones. Although the keyframes are added to the bones which are changed, you can also add a key frame to all bones. Select all the bones with the A key and then Press I and select LocRot.
按A键选中所有的骨头。虽然关键帧被添加到该改变的骨头,但你还可以将关键帧添加到所有的骨头。A键选择所有的骨头,然后按I键并选择LocRot 。
Click on the Copy Pose button on the header of the 3D view.
点击在3D视图的标题(Copy Pose)复制姿势按钮。
回复: 在Blender使用Rigify创建循环步行动画 Create an Animation Walk Cycle in Blender using Rigify
Step 23
On the 21st frame click on the Last button - Flip Paste. This will flip-paste or invert-paste the pose we copied, and will also insert the keyframes to the selected bones (all). Go to first frame (shift+Left arrow) and then press the play button to preview the animation. The keyboard shortcut to play the animation is Alt+A. To stop, press the Stop button or Alt+A again.
在21帧点击 最后一个按钮 - Flip Paste(翻转粘贴)。这将翻转粘贴我们所有复制的姿势,并且也将插入关键帧到所选择的骨头(全部) 。转到第一帧( SHIFT +左箭头),然后按播放键预览动画。键盘播放动画快捷键 Alt + A 。要停下来,再次按下停止按钮或按再次按Alt + A 快捷键。
On the 21st frame click on the Last button - Flip Paste. This will flip-paste or invert-paste the pose we copied, and will also insert the keyframes to the selected bones (all). Go to first frame (shift+Left arrow) and then press the play button to preview the animation. The keyboard shortcut to play the animation is Alt+A. To stop, press the Stop button or Alt+A again.
在21帧点击 最后一个按钮 - Flip Paste(翻转粘贴)。这将翻转粘贴我们所有复制的姿势,并且也将插入关键帧到所选择的骨头(全部) 。转到第一帧( SHIFT +左箭头),然后按播放键预览动画。键盘播放动画快捷键 Alt + A 。要停下来,再次按下停止按钮或按再次按Alt + A 快捷键。
您在这个论坛的权限:
您不能在这个论坛回复主题