Difference between revisions of "User:Darkspace65"
Darkspace65 (Talk | contribs) (→Prepare the joints) |
Darkspace65 (Talk | contribs) (→Adding the bones) |
||
(52 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
== Introduction == | == Introduction == | ||
− | In this tutorial we are going to rig an arm with fixed joints using the | + | In this tutorial we are going to rig an arm with fixed joints using the {{l|Skeleton Layer}} and three bones. The arm consists of three parts: the '''upperArm''', the '''lowerArm''' and the '''hand'''. (pic.1) Each part is grouped in its own layer and the three groups are again grouped in a layer that is called '''arm''' (pic.2). |
− | [[File:bonestut01.png|left|frame | + | [[File:bonestut01.png|left|frame|PICTURE 1: Three parts of the arm]] [[File:bonestut09.png|centre|frame|216x475px|PICTURE 2: The layers]] |
<br clear=all> | <br clear=all> | ||
== Prepare the joints == | == Prepare the joints == | ||
− | [[File:bonestut02.png|left| | + | [[File:bonestut02.png|left|200x237px|frame|PICTURE 3: Joints]] |
− | Before we start rigging the arm we have to prepare it to make sure that the joints properly rotate. In ''picture 1'' we can see that the lower side of the upper arm is straight and does not have an outline, while the upper part of the lower arm has an outline that is curved. The bottom part of the lower arm does not have an outline and is also straight. The joint of the hand is also curved with an outline. To make sure that the joint parts of the arm rotate correctly, we made them with the help of a couple of crosshairs (picture 3). In ''picture 4'' and ''picture 5'' we can see how the horizontal crosshair line matches the straight line of the bottom of the upper arm and at the same time the outline of the circle of the crosshair matches the top curved outline of the lower arm. The same principle is applied to the hand and the bottom part of the lower arm. The crosshairs also mark the centre of the rotation point that will later be used when placing the bones. Before placing the bones we can align the {{l|Group Transformation Widget}} (press control and move the left corner vertex of the group transformation widget to move it.) of the '''lowerArm''' group and the '''hand''' group with the crosshairs of the elbow and the wrist to check the | + | Before we start rigging the arm we have to prepare it to make sure that the joints properly rotate. In ''picture 1'' we can see that the lower side of the upper arm is straight and does not have an outline, while the upper part of the lower arm has an outline that is curved. The bottom part of the lower arm does not have an outline and is also straight. The joint of the hand is also curved with an outline. To make sure that the joint parts of the arm rotate correctly, we made them with the help of a couple of crosshairs (picture 3). In ''picture 4'' and ''picture 5'' we can see how the horizontal crosshair line matches the straight line of the bottom of the upper arm and at the same time the outline of the circle of the crosshair matches the top curved outline of the lower arm. The same principle is applied to the hand and the bottom part of the lower arm. The crosshairs also mark the centre of the rotation point that will later be used when placing the bones. Before placing the bones we can align the {{l|Group Transformation Widget}} (press control and move the left corner vertex of the group transformation widget to move it.) of the '''lowerArm''' group and the '''hand''' group with the crosshairs of the elbow and the wrist to check if the joints rotate correctly. Don’t forget to bring the arm into its original position by pressing undo. (Don’t worry if the hand does not rotate with the elbow when you check the elbow joint by using the {{l|Group Transformation Widget}}.) |
− | [[File:bonestut07.png|left|frame | + | <br clear=all> |
+ | [[File:bonestut07.png|left|frame|PICTURE 4: Joints align]] [[File:bonestut08.png|center|frame|PICTURE 5: Joints align]] | ||
<br clear=all> | <br clear=all> | ||
== Adding the bones == | == Adding the bones == | ||
− | Now it’s time to add a | + | [[File:bonestut13.png|left|frame|250x400px|PICTURE 6: Adding bone]]<br clear=all> |
+ | Now it’s time to add a {{l|Skeleton Layer}} that will provide the bones we need to rig the arm. | ||
+ | |||
+ | Right-click on any layer in the {{l|Layers Panel}} and choose {{c|<New Layer>|<Other>|<Skeleton>}}. A new {{l|Skeleton Layer}} (pic. 7) will appear in the {{l|Layers Panel}} alongside with a small bone in the canvas (pic.6). Put the {{l|Skeleton Layer}} above the '''arm''' group if it is not already there. The green vertex above the blue vertex of the bone is used to move the bone in place and is also its centre of rotation. The blue vertex is used to rotate the bone. The green vertex under the blue one is used to stretch the bone. The first bone is the parent bone and should be moved toward the shoulder and stretched so that it almost reaches the outlines of the first crosshair of the elbow. Right-click on any of the vertices of the parent bone and select {{Literal|Create Child Bone}}. Move the rotation point of the child bone so that it matches the crosshair of the elbow and stretch it until it almost reaches the crosshair of the wrist. Right click on any of the vertices of the child bone and create another child bone. Move the centre of the second child bone so that it matches the crosshair of the wrist (pic.8). Stretch the bone until it reaches the end of the fingers. | ||
+ | [[File:bonestut11.png|left|frame|200x200px|PICTURE 7: Adding skeleton layer]][[File:bonestut05.png|center|frame|300x300px|PICTURE 8: Rotation point hand]] | ||
+ | <br clear=all> | ||
== Attaching the bones == | == Attaching the bones == | ||
− | Now that the | + | [[File:bonestut12.png|left|frame|PICTURE 8: Attaching hand to second child bone.]] |
+ | Now that the {{l|Skeleton Layer}} is in place we have to attach the bones to the parts of the arm. In the {{l|Layers Panel}} click on the '''upperArm''' group, right-click and {{Literal|Select All Child Layers}}. Then press {{Shortcut|ctrl|A}} in the canvas window. With everything in the '''upperArm''' group highlighted, {{Shortcut|ctrl}}-click on any bone in the canvas window and right-click on any of the vertices of the parent bone and click {{Literal|Link to Bone}}. The '''upperArm''' group is now linked to the parent bone. Go the {{l|Layers Panel}} again and select the '''lowerArm''' group. Right-click and {{Literal|Select All Child Layers}}. Press {{Shortcut|ctrl|A}} in the canvas window and {{Shortcut|ctrl}}-click on one of the bones. Then right-click on any of the vertices of the first child bone and select {{Literal|Link to bone}}. The '''lowerArm''' group is now linked to the second child bone. In the {{l|Layers Panel}} select all the child layers of the '''hand''' group and press {{Shortcut|ctrl|A}} in the canvas window. {{Shortcut|ctrl}}-click on any bone and then right-click on any of the vertices of the second child bone and select {{Literal|Link to bone}} (pic.8) The hand is now linked to the second child bone and the entire skeleton is now linked to the arm. | ||
+ | |||
+ | The sif file containing the parts of this tutorial can be found {{l|Media:rigarm.sifz|here}} |
Latest revision as of 11:01, 17 April 2015
Introduction
In this tutorial we are going to rig an arm with fixed joints using the Skeleton Layer and three bones. The arm consists of three parts: the upperArm, the lowerArm and the hand. (pic.1) Each part is grouped in its own layer and the three groups are again grouped in a layer that is called arm (pic.2).
Prepare the joints
Before we start rigging the arm we have to prepare it to make sure that the joints properly rotate. In picture 1 we can see that the lower side of the upper arm is straight and does not have an outline, while the upper part of the lower arm has an outline that is curved. The bottom part of the lower arm does not have an outline and is also straight. The joint of the hand is also curved with an outline. To make sure that the joint parts of the arm rotate correctly, we made them with the help of a couple of crosshairs (picture 3). In picture 4 and picture 5 we can see how the horizontal crosshair line matches the straight line of the bottom of the upper arm and at the same time the outline of the circle of the crosshair matches the top curved outline of the lower arm. The same principle is applied to the hand and the bottom part of the lower arm. The crosshairs also mark the centre of the rotation point that will later be used when placing the bones. Before placing the bones we can align the Group Transformation Widget (press control and move the left corner vertex of the group transformation widget to move it.) of the lowerArm group and the hand group with the crosshairs of the elbow and the wrist to check if the joints rotate correctly. Don’t forget to bring the arm into its original position by pressing undo. (Don’t worry if the hand does not rotate with the elbow when you check the elbow joint by using the Group Transformation Widget.)
Adding the bones
Now it’s time to add a Skeleton Layer that will provide the bones we need to rig the arm.
Right-click on any layer in the Layers Panel and choose "<New Layer> → <Other> → <Skeleton>". A new Skeleton Layer (pic. 7) will appear in the Layers Panel alongside with a small bone in the canvas (pic.6). Put the Skeleton Layer above the arm group if it is not already there. The green vertex above the blue vertex of the bone is used to move the bone in place and is also its centre of rotation. The blue vertex is used to rotate the bone. The green vertex under the blue one is used to stretch the bone. The first bone is the parent bone and should be moved toward the shoulder and stretched so that it almost reaches the outlines of the first crosshair of the elbow. Right-click on any of the vertices of the parent bone and select "Create Child Bone". Move the rotation point of the child bone so that it matches the crosshair of the elbow and stretch it until it almost reaches the crosshair of the wrist. Right click on any of the vertices of the child bone and create another child bone. Move the centre of the second child bone so that it matches the crosshair of the wrist (pic.8). Stretch the bone until it reaches the end of the fingers.
Attaching the bones
Now that the Skeleton Layer is in place we have to attach the bones to the parts of the arm. In the Layers Panel click on the upperArm group, right-click and "Select All Child Layers". Then press CtrlA in the canvas window. With everything in the upperArm group highlighted, Ctrl-click on any bone in the canvas window and right-click on any of the vertices of the parent bone and click "Link to Bone". The upperArm group is now linked to the parent bone. Go the Layers Panel again and select the lowerArm group. Right-click and "Select All Child Layers". Press CtrlA in the canvas window and Ctrl-click on one of the bones. Then right-click on any of the vertices of the first child bone and select "Link to bone". The lowerArm group is now linked to the second child bone. In the Layers Panel select all the child layers of the hand group and press CtrlA in the canvas window. Ctrl-click on any bone and then right-click on any of the vertices of the second child bone and select "Link to bone" (pic.8) The hand is now linked to the second child bone and the entire skeleton is now linked to the arm.
The sif file containing the parts of this tutorial can be found here