Difference between revisions of "Skeleton Layer"
(→About Skeleton Layers: The description about verterbrate animal looks confusing. Removed.) |
m |
||
(29 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Page info --> | <!-- Page info --> | ||
{{Title|Skeleton Layer}} | {{Title|Skeleton Layer}} | ||
+ | {{TOCright}} | ||
{{Category|Layers}} | {{Category|Layers}} | ||
+ | {{Category|Other}} | ||
{{NewTerminology}} | {{NewTerminology}} | ||
<!-- Page info end --> | <!-- Page info end --> | ||
− | + | {{l|Image:Layer_other_skeleton_icon.png|64px}} | |
− | + | I'm a Draft please help me to be efficient ... | |
− | + | ||
− | + | ||
==Parameters of Skeleton Layers== | ==Parameters of Skeleton Layers== | ||
Line 15: | Line 15: | ||
The parameters of the skeleton layers are: | The parameters of the skeleton layers are: | ||
− | {|border="0" align=" | + | {|border="0" align="none" style="border-collapse" cellpadding="3" cellspacing="0" |
|-style="background:#C0C0C0" | |-style="background:#C0C0C0" | ||
|'''Name'''||'''Value'''||'''Type''' | |'''Name'''||'''Value'''||'''Type''' | ||
Line 24: | Line 24: | ||
|-style="background:#eeeeee" | |-style="background:#eeeeee" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Amount Parameter|Amount}} | ||
+ | ||0.500000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#" | ||
||{{l|Image:Type_string_icon.png|16px}} Name | ||{{l|Image:Type_string_icon.png|16px}} Name | ||
||skeleton | ||skeleton | ||
||string | ||string | ||
− | |-style="background:#" | + | |-style="background:#eeeeee" |
||{{l|Image:type_list_icon.png|16px}} {{l|Bones|Bones}} | ||{{l|Image:type_list_icon.png|16px}} {{l|Bones|Bones}} | ||
− | ||list ( | + | ||list (Static List) |
||list | ||list | ||
|} | |} | ||
+ | == Summary == | ||
+ | |||
+ | In the skeleton layer, each vertex is influenced by a weighted average combination of bones ''maybe from different skeletons?''. | ||
+ | |||
+ | There are two ways to make a vector be influenced by bone(s). First is the {{l|Skeleton_Layer#Link to Bone|Link to Bone}} action that would give a 100% of influence of one bone to one vector. Second is the {{l|Skeleton_Layer#Link to Skeleton|Link to Skeleton}} that is a semiautomatic way to give weighted influence to a vector from all the bones that overlaps its influence area over the vector position. The more covered the vector is by the influence area, the higher is the influence weight. In any case you can manually specify the bone and the influence that you want by editing the values in the vector (sub)parameters. We need to modify the bone(s) with handles to perform the indirect movement to the vectors that are influenced by it(them) | ||
+ | |||
+ | == Skeleton construction == | ||
+ | |||
+ | Add a {{Literal|Skeleton layer}} : | ||
+ | * If your {{l|Canvas}} is empty you can do that from the {{l|Category:Main_Menu|main}} or {{L|Caret|caret}} menus {{c|<Layer>|<New Layer>|<Other>|Skeleton|}}. | ||
+ | * If your canvas is not empty, right clicking inside the {{l|Layers_Panel}}. | ||
+ | Once you have a {{Literal|Skeleton layer}}, the first bone appears. You have created the first bone of your Skeleton, this is your '''first parent bone'''. | ||
+ | |||
+ | Each bones have the following {{l|Handle|handles}} to control them : {{literal|Origin}}, {{literal|Angle}}, {{literal|Local Length Scale}}, {{literal|Bone Width}} and {{literal|Tip Width}}. Take a look inside the {{l|Parameters Panel}} of the {{Literal|Skeleton layer}}, those handles are relative to some of those values (with also some advanced parameters). | ||
+ | |||
+ | From the {{l|WorkArea}}, with the Bones {{l|Handle|handles}} you can easily move and adjust part of your Skeleton. | ||
+ | |||
+ | Now, you can had child bones : | ||
+ | * Right click on any {{l|Handle|handles}} of the parent bone you want and select {{Literal|Create Child Bone}}. | ||
+ | * Repeat the operation, choosing accordingly the parent bone of your future bone (the parent of a hand bone is the arm, the parent bone of a finger is the hand bone...), to create your Skeleton. | ||
+ | |||
+ | When created, a {{Literal|Skeleton layer}}, is {{l|Canvas Layer Menu|Disabled from rendering}} : the layer is visible in the {{l|WorkArea}} but disabled in the final Render. | ||
+ | |||
+ | ==Parameters of a Bone== | ||
+ | |||
+ | The parameters of a bone are: | ||
+ | |||
+ | {|border="0" align="none" style="border-collapse" cellpadding="3" cellspacing="0" | ||
+ | |-style="background:#C0C0C0" | ||
+ | |'''Name'''||'''Value'''||'''Type''' | ||
+ | |-style="background:#" | ||
+ | ||{{l|Image:Type_string_icon.png|16px}} Name | ||
+ | ||Bone 1 | ||
+ | ||string | ||
+ | |||
+ | |-style="background:#eeeeee" | ||
+ | || {{l|Parent Parameter|Parent}} | ||
+ | ||No Parent | ||
+ | ||bone_valuenode | ||
+ | |||
+ | |-style="background:#" | ||
+ | ||{{l|Image:Type_vector_icon.png|16px}} {{l|Origin Parameter|Origin}} | ||
+ | ||0.00000, 0.00000 | ||
+ | ||vector | ||
+ | |||
+ | |-style="background:#eeeeee" | ||
+ | ||{{l|Image:Type_angle_icon.png|16px}} {{l|Angle Parameter|Angle}} | ||
+ | ||0.00° | ||
+ | ||angle | ||
+ | |||
+ | |-style="background:#" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Skeleton_Layer#Local_Length_Scale|Local Length Scale}} | ||
+ | ||1.00000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#eeeeee" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Skeleton_Layer#Bone_Width|Bone Width}} | ||
+ | ||0.10000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Skeleton_Layer#Recursive_Length_Scale|Recursive Length Scale}} | ||
+ | ||1.00000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#eeeeee" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Skeleton_Layer#Tip_Width|Tip Width}} | ||
+ | ||0.10000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Z Depth Parameter|Z-Depth}} | ||
+ | ||0.00000 | ||
+ | ||real | ||
+ | |||
+ | |-style="background:#eeeeee" | ||
+ | ||{{l|Image:Type_real_icon.png|16px}} {{l|Skeleton_Layer#Length_Setup|Length Setup}} | ||
+ | ||1.00000 | ||
+ | ||real | ||
+ | |||
+ | |} | ||
+ | === Parent === | ||
+ | |||
+ | === Angle === | ||
+ | |||
+ | === Local Length Scale === | ||
+ | === Bone Width === | ||
+ | Has {{Literal|Tip Width}}, {{Literal|Bone Width}} is used to set the influence of the bone before the use of {{literal|Link to Skeleton}} action. {{Literal|Bone Width}} parameter can be adjusted by the witdh {{l|Handle}}. When adjusting the {{Literal|Bone Width}}, the bone's shape change accordingly. | ||
+ | === Recursive Length Scale === | ||
+ | === Tip Width === | ||
+ | Has {{Literal|Bone Width}}, {{Literal|Tip Width}} is used to set the influence of the bone before the use of {{literal|Link to Skeleton}} action. {{Literal|Tip Width}} parameter can be adjusted by the witdh {{l|Handle}}. When adjusting the {{Literal|Tip Width}}, the bone's shape change accordingly. | ||
+ | === Z-Depth === | ||
− | + | This parameter can be used to change the 'depth' (order) of a Bone in a Skeleton Layer. | |
− | + | === Length Setup === | |
− | + | == Skeleton / Bones actions == | |
− | + | === Create Child Bone === | |
− | + | When you add a {{Literal|Skeleton Layer}}, only one bone is created. In order to create a usable skeleton, you will need to add more bones. | |
− | + | Right clicking on any {{l|Handle|handles}} of bone display a contextual menu. From this menu select {{Literal|Create Child Bone}} and a new child bone will be created. This child bone will move accordingly to his parent. | |
− | + | === Link to Bone === | |
− | + | {{Literal|Link to Bone}} link artwork, for example handles of a shape created with the {{l|Spline Tool}}, to a bone. | |
− | + | Select a single or multiple handles from your artwork, right click on a bone and from the contextual menu, select {{Literal|Link to Bone}}. Now when you move the Bone, the selected handles also move. | |
− | + | ||
− | = | + | See it in action in [https://www.youtube.com/watch?v=9yCLR-broWA bones dev part 5] |
− | + | === Link to Skeleton === | |
− | + | Before you use {{Literal|Link to Skeleton}} you should adjust the {{literal|Bone width}} and {{literal|Tip width}} of each bones of you skeleton to set the bone shape. | |
+ | |||
+ | Select one or more handles from your artwork, select the {{Literal|Skeleton layer}} right click on it and from the contextual menu, select {{Literal|Link to Skeleton}}. All the handles covered by the bone shape will be automatically linked. | ||
− | + | See it in action : [https://www.youtube.com/watch?v=NbI6TeAHbgs Bones dev part 7] | |
− | + | === Disconnect === | |
− | + | If you want to disconnect / unlink a bone from the part of the artwork it is linked to. | |
+ | * From the {{l|Layers Panel}}, select the {{l|Skeleton Layer}} | ||
+ | * From the {{l|Parameters Panel}}, open the {{literal|Bones}} list | ||
+ | * Select the corresponding {{literal|Item}} (the according bone's {{l|Handle|handles}} will be highligthed whith red squares) | ||
+ | * Right click to open the context menu and select {{literal|Disconnect}}. | ||
− | + | === Change parent === | |
− | + | You can also change the parent of a bone in the skeleton, even during animation. | |
+ | * From the {{l|Layers Panel}}, select the {{l|Skeleton Layer}} | ||
+ | * From the {{l|Parameters Panel}}, open the {{literal|Bones}} list | ||
+ | * Select the corresponding {{literal|Item}} (the according bone's {{l|Handle|handles}} will be highligthed whith red squares) | ||
+ | * Click on the {{literal|Value}} of {{literal|Parent}} to change the parent or set the parent to {{literal|none}}. | ||
− | + | == See Also == | |
− | {{l| | + | * To deform raster images : {{l|Skeleton_Deformation_Layer}}. |
+ | * {{l|Doc:Basic_Bone_Tutorial}} | ||
+ | * A SIF-file of a rigged character using bones can be found {{l|Media:riggedchar.zip|here}}. |
Latest revision as of 13:09, 26 February 2017
I'm a Draft please help me to be efficient ...
Parameters of Skeleton Layers
The parameters of the skeleton layers are:
Name | Value | Type |
Z Depth | 0.000000 | real |
Amount | 0.500000 | real |
Name | skeleton | string |
Bones | list (Static List) | list |
Summary
In the skeleton layer, each vertex is influenced by a weighted average combination of bones maybe from different skeletons?.
There are two ways to make a vector be influenced by bone(s). First is the Link to Bone action that would give a 100% of influence of one bone to one vector. Second is the Link to Skeleton that is a semiautomatic way to give weighted influence to a vector from all the bones that overlaps its influence area over the vector position. The more covered the vector is by the influence area, the higher is the influence weight. In any case you can manually specify the bone and the influence that you want by editing the values in the vector (sub)parameters. We need to modify the bone(s) with handles to perform the indirect movement to the vectors that are influenced by it(them)
Skeleton construction
Add a "Skeleton layer" :
- If your Canvas is empty you can do that from the main or caret menus "<Layer> → <New Layer> → <Other> → Skeleton".
- If your canvas is not empty, right clicking inside the Layers Panel.
Once you have a "Skeleton layer", the first bone appears. You have created the first bone of your Skeleton, this is your first parent bone.
Each bones have the following handles to control them : "Origin", "Angle", "Local Length Scale", "Bone Width" and "Tip Width". Take a look inside the Parameters Panel of the "Skeleton layer", those handles are relative to some of those values (with also some advanced parameters).
From the WorkArea, with the Bones handles you can easily move and adjust part of your Skeleton.
Now, you can had child bones :
- Right click on any handles of the parent bone you want and select "Create Child Bone".
- Repeat the operation, choosing accordingly the parent bone of your future bone (the parent of a hand bone is the arm, the parent bone of a finger is the hand bone...), to create your Skeleton.
When created, a "Skeleton layer", is Disabled from rendering : the layer is visible in the WorkArea but disabled in the final Render.
Parameters of a Bone
The parameters of a bone are:
Name | Value | Type |
Name | Bone 1 | string |
Parent | No Parent | bone_valuenode |
Origin | 0.00000, 0.00000 | vector |
Angle | 0.00° | angle |
Local Length Scale | 1.00000 | real |
Bone Width | 0.10000 | real |
Recursive Length Scale | 1.00000 | real |
Tip Width | 0.10000 | real |
Z-Depth | 0.00000 | real |
Length Setup | 1.00000 | real |
Parent
Angle
Local Length Scale
Bone Width
Has "Tip Width", "Bone Width" is used to set the influence of the bone before the use of "Link to Skeleton" action. "Bone Width" parameter can be adjusted by the witdh Handle. When adjusting the "Bone Width", the bone's shape change accordingly.
Recursive Length Scale
Tip Width
Has "Bone Width", "Tip Width" is used to set the influence of the bone before the use of "Link to Skeleton" action. "Tip Width" parameter can be adjusted by the witdh Handle. When adjusting the "Tip Width", the bone's shape change accordingly.
Z-Depth
This parameter can be used to change the 'depth' (order) of a Bone in a Skeleton Layer.
Length Setup
Skeleton / Bones actions
Create Child Bone
When you add a "Skeleton Layer", only one bone is created. In order to create a usable skeleton, you will need to add more bones.
Right clicking on any handles of bone display a contextual menu. From this menu select "Create Child Bone" and a new child bone will be created. This child bone will move accordingly to his parent.
Link to Bone
"Link to Bone" link artwork, for example handles of a shape created with the Spline Tool, to a bone.
Select a single or multiple handles from your artwork, right click on a bone and from the contextual menu, select "Link to Bone". Now when you move the Bone, the selected handles also move.
See it in action in bones dev part 5
Link to Skeleton
Before you use "Link to Skeleton" you should adjust the "Bone width" and "Tip width" of each bones of you skeleton to set the bone shape.
Select one or more handles from your artwork, select the "Skeleton layer" right click on it and from the contextual menu, select "Link to Skeleton". All the handles covered by the bone shape will be automatically linked.
See it in action : Bones dev part 7
Disconnect
If you want to disconnect / unlink a bone from the part of the artwork it is linked to.
- From the Layers Panel, select the Skeleton Layer
- From the Parameters Panel, open the "Bones" list
- Select the corresponding "Item" (the according bone's handles will be highligthed whith red squares)
- Right click to open the context menu and select "Disconnect".
Change parent
You can also change the parent of a bone in the skeleton, even during animation.
- From the Layers Panel, select the Skeleton Layer
- From the Parameters Panel, open the "Bones" list
- Select the corresponding "Item" (the according bone's handles will be highligthed whith red squares)
- Click on the "Value" of "Parent" to change the parent or set the parent to "none".
See Also
- To deform raster images : Skeleton Deformation Layer.
- Basic Bone Tutorial
- A SIF-file of a rigged character using bones can be found here.