{"id":4265,"date":"2018-09-24T09:35:37","date_gmt":"2018-09-24T09:35:37","guid":{"rendered":"http:\/\/avastar.guru\/?page_id=4265"},"modified":"2018-09-24T09:35:37","modified_gmt":"2018-09-24T09:35:37","slug":"from-bones","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/279\/help\/toolshelf\/weight-copy\/from-bones\/","title":{"rendered":"Automatic from Bones"},"content":{"rendered":"<div class=\"row-fluid\">\n<div class=\"rhcol span10\">\n<h2><image src=\"\/avastar\/279\/wp-content\/uploads\/2019\/07\/approve_logo_250.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> Automatic from Bones<\/h2>\n<\/div>\n<div class=\"rhcol span2\">\n<a class=\"mamap\" href=\"\/wp-content\/uploads\/2018\/09\/panel_weight_copy_bones.png\" target=\"_blank\"><img decoding=\"async\" alt=\"\" src=\"\/wp-content\/uploads\/2018\/09\/panel_weight_copy_bones.png\" \/><\/a>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<div class=\"symple-box  blueish center \" style=\"text-align:left;\"> The weights are generated from the Skeleton topology. Blender tries to predict how the bones need to influence the meshes and calculates appropriate weight maps for all deform bones.<\/div>\n<h3>Scope<\/h3>\n<ul>\n<li><span style=\"color: #ff6600;\"><em>Selected Deform Bones<\/em><\/span><br \/>\nCreate Weight maps for the selected bones<sup>(1)<\/sup>.<\/li>\n<li><span style=\"color: #ff6600;\"><em>Visible Deform Bones<\/em><\/span><br \/>\nCreate weight maps only for the currently visible bones<sup>(2)<\/sup><\/li>\n<li><span style=\"color: #ff6600;\"><em>Enabled Deform Bones<\/em><\/span><br \/>\nCreate weight maps for all bones enabled below<\/li>\n<\/ul>\n\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image666.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4330 size-full\" src=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image666.png\" alt=\"\" width=\"301\" height=\"440\" srcset=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image666.png 301w, https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image666-205x300.png 205w\" sizes=\"auto, (max-width: 301px) 100vw, 301px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p><span style=\"color: #ff6600;\"><sup>(1)<\/sup> <\/span>Selecting Bones: Select the Armature in pose mode and select all bones you want to get weighted. Then select the mesh for which you want to get the weight maps<\/p>\n<p><span style=\"color: #ff6600;\"><sup>(2)<\/sup><\/span> Make Bones visible: You can hide\/show bone groups using the Rig Display panel. Or you can open the Armature in pose mode and hide individual bones (use &#8220;h&#8221; to hide selected bones and &#8220;ALT h&#8221; to make hidden bones visible)<\/p>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<h3>Enabled Deform Bones<\/h3>\n<p>The content of the created weight maps is highly dependent on which bones are treated as deform bones (bones which actually can influence the meshes by using weight maps)<\/p>\n<p>For more about Targets and Sources see next chapter below<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image667.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4322\" src=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image667.png\" alt=\"\" width=\"265\" height=\"174\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>By default only the SL Base bones (the legacy skeleton) is enabled. For Extended (Bento-) Rigs also the Hands and Face bones are enabled by default. But you can change this configuration in the Deform Groups Section (see image)<\/p>\n<p><strong>Note:<\/strong> The setting here only controls the behavior of the Weight generator! otherwise this setting is completely independent from what you have configured elsewhere in Blender (either in the Rig Config panel, or in the Bone properties window) .<\/p>\n<p><strong>Important for <em>Automatic from Bones<\/em>):<\/strong> Please keep the Volume bones disabled when you use the <span style=\"color: #ff6600;\"><em>Automatic from Bones<\/em><\/span> strategy. Otherwise the generated weight maps will become totally wrong for this case.<\/p>\n<p><strong>Important for <em>Facemap Generator<\/em>):<\/strong> Please enable the Face bone group when you use the <span style=\"color: #ff6600;\"><em>Facemap Generator<\/em><\/span> strategy. Otherwise the generated weight maps will become totally wrong for this case.<\/p>\n<h3>Targets and Sources<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>Below the strategy selector you find 2 text lines:<\/p>\n<ul>\n<li>Target maps are the weight maps the will be created.<\/li>\n<li>Source bones are the bones which are considered to be deforming the Mesh<\/li>\n<\/ul>\n<p>The content of the 2 lines depends on<\/p>\n<ul>\n<li>the Scope<\/li>\n<li>the Bone deform Groups you have enabled<\/li>\n<li>The visible\/selected bones<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image668.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4323\" src=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image668.png\" alt=\"\" width=\"265\" height=\"174\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h4>The first line:<\/h4>\n<p>In this example we have chosen the scope <span style=\"color: #ff6600;\"><em>Selected Deform Bones<\/em><\/span>. However we have not selected any bone, hence <span style=\"color: #ff6600;\"><em>No target map found<\/em><\/span><em><span style=\"color: #ff6600;\">.<\/span> Fix: E<\/em>nable at least one bone that is a member of one of the enabled deform groups.<\/p>\n<h4>The second line:<\/h4>\n<p>Here you see the number of bones that are contained in the selected deform Groups.<\/p>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p><strong>Hint:<\/strong> When the scope is <span style=\"color: #ff6600;\"><em>Enabled Deform Bones<\/em><\/span>, then the number of target maps is identical to the number of Enabled Deform bones!<\/p>\n<p>In this example we have selected the legacy bones and the SL Eye bones, hence we get maps for 26 bones.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image669.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4324\" src=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image669.png\" alt=\"\" width=\"264\" height=\"172\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3><\/h3>\n\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Generator options<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>You have further options to specify what exactly the generator shall create for you. See below for a more detailed description<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image670.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4326\" src=\"https:\/\/avalab.org\/avastar\/279\/wp-content\/uploads\/2018\/09\/Image670.png\" alt=\"\" width=\"266\" height=\"133\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h4>X-Mirror<\/h4>\n<p>Makes sure that when you have selected bones only from one side of the rig, the bones on the opposite side are also included even when not selected.<\/p>\n<p><strong>Note:<\/strong> Known glitch in Avastar-2.5: The number of <span style=\"color: #ff6600;\"><em>target maps found<\/em><\/span> currently does not count deselected mirrored bones, however the generator still creates the mirrored maps as expected.<\/p>\n<h4>Keep empty Maps<\/h4>\n<p>The generator always creates all Target maps, even if they turn out to be empty. Normally you do not want to keep empty weight maps. However this option allows you to change that at will<\/p>\n<h4>Clear Target maps<\/h4>\n<p>When enabled then the weight maps are cleared from all weights before the weight generator adds new weights to them. This is ideal when you want to renew entire weight maps.<\/p>\n<p>However sometimes you want to recreate the weights only for a subset of selected vertices (see next option). In that case you may want to keep the weights of the deselected vertices unchanged. In that case you will disable this option.<\/p>\n<h4>Selected Verts<\/h4>\n<p>Generate weights only for the selected vertices. This allows you to fine control for which exact parts of your meshes weights are generated or regenerated. Please take into account the previous option above.<\/p>\n<\/div><\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Trouble shooting<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<h3>Failed to find solution&#8230;<\/h3>\n<p>The automatic weight from bones algorithm normally creates reasonable initial results. However, sometimes the heat algorithm does not claculate weights for a subset of the mesh vertices. And sometimes it even rejects to create weights for the entire mesh.<\/p>\n<p>There was a topic about this on Blender stackexchange: See <a class=\"question-hyperlink\" href=\"https:\/\/blender.stackexchange.com\/questions\/15964\/heat-weighting-failed-to-find-solution-for-one-or-more-bones\">fails to find solution for one or more bones\u2026<\/a><\/p>\n<p>Here are some tips how you might get rid of the issue:<\/p>\n<ul>\n<li>Fix duplicate vertices<\/li>\n<li>Fix mesh polygon intersections.<\/li>\n<li>If the mesh object has 2 or more unconnected submeshes, then try to split the submeshes into separate objects, then weight again and finally join the submeshes back into one single object<\/li>\n<li>Check if the Mesh uses modifiers (e.g. subdivision). Disable the modifiers before binding, then add them back after binding.<\/li>\n<li>Check if the bone deform flag is set for all bones where you expect to get weights.<\/li>\n<li>Be sure you are not selecting the green animation bones or the yellow IK bones . Remind: the green bones are only used for Animation. They should never have weight maps.<\/li>\n<\/ul>\n\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Automatic from Bones<\/p>\n","protected":false},"author":2,"featured_media":4330,"parent":500,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[],"tags":[],"class_list":["post-4265","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages\/4265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/comments?post=4265"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages\/4265\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/pages\/500"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/media\/4330"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/media?parent=4265"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/categories?post=4265"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/279\/wp-json\/wp\/v2\/tags?post=4265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}