{"id":1085,"date":"2016-06-01T22:46:54","date_gmt":"2016-06-01T22:46:54","guid":{"rendered":"http:\/\/avastar.online\/?page_id=1085"},"modified":"2022-05-12T20:59:17","modified_gmt":"2022-05-12T20:59:17","slug":"binding-meshes","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/300\/reference\/usermanual\/attachments\/binding-meshes\/","title":{"rendered":"Binding Meshes"},"content":{"rendered":"<div class=\"row-fluid\">\n<div class=\"rhcol span9\">\n<h2><image src=\"\/avastar\/292\/wp-content\/uploads\/2019\/08\/approve_logo_wip.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> Binding the Mesh <i class=\"fa fa-battery-2\"><\/i><\/h2>\n<\/div>\n<div class=\"rhcol span3\"><a class=\"mamap\" href=\"\/wp-content\/uploads\/2020\/03\/map_skinning_panel.png\" target=\"_blank\"><img decoding=\"async\" alt=\"\" src=\"\/wp-content\/uploads\/2020\/03\/map_skinning_panel.png\" \/><\/a><\/div>\n<\/div>\n<h3>What you have done so far<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<ul>\n<li>You have created a custom mesh attachment or a custom character.<\/li>\n<li>You have added an Avastar Rig to your Scene.<\/li>\n<li>You have adjusted your custom mesh size and shape to the Avastar Rig.<\/li>\n<li>Your Custom Mesh is not yet bound to the Rig.<\/li>\n<\/ul>\n<p>Now you can pose your Armature, but your custom mesh stays still and won&#8217;t move along with your pose. We will change this now&#8230;<\/p>\n<\/div>\n<div class=\"rhcol span4\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image845.png\"><img decoding=\"async\" class=\"size-full wp-image-5740 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image845.png\" alt=\"\" width=\"293\" height=\"415\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image845.png 293w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image845-212x300.png 212w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>What you will do next<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<ul>\n<li>Specify from where to take the initial weight maps<\/li>\n<li>Bind the mesh to the Rig<\/li>\n<\/ul>\n<p>To get Started you must select the Armature (to which you want to bind the mesh model) and your Mesh model.<\/p>\n<p><strong><span style=\"color: #00ccff;\">Note:<\/span> <\/strong>The order of your selecting the objects is not important.<\/p>\n<\/div>\n<div class=\"rhcol span4\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image846.png\"><img decoding=\"async\" class=\"size-full wp-image-5741 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image846.png\" alt=\"\" width=\"293\" height=\"415\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image846.png 293w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image846-212x300.png 212w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>From where to take the initial Weight Maps<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<p>Now open the Skinning panel. There you find a section similar to the one shown in the picture. Here you can<\/p>\n<ul>\n<li>Specify the Copy Strategy (how to transfer the weights)&#8230;<\/li>\n<li>and the &#8220;weight Sources&#8221; (from where to takes initial weight Maps)<\/li>\n<li>Finally call the<em><span style=\"color: #ff6600;\"> Bind to Armature<\/span> <\/em>function to do the binding.<\/li>\n<\/ul>\n<p><strong><span style=\"color: #00ccff;\">Note:<\/span><\/strong> If you do not see this section then either your Rig is not an Avastar Rig, or you have not selected both the Rig and the mesh together.<\/p>\n<p><strong><span style=\"color: #00ccff;\">For Experts:<\/span><\/strong> Remind that you must select the Mesh in Object Mode, while you can select the Armature either in Object Mode or in Pose Mode.<\/p>\n<\/div>\n<div class=\"rhcol span4\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image847.png\"><img decoding=\"async\" class=\"size-full wp-image-5742 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image847.png\" alt=\"\" width=\"293\" height=\"548\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image847.png 293w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image847-160x300.png 160w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h3>The Copy Strategy<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<p>We offer 4 Copy Strategies:<\/p>\n<ul>\n<li><em><span style=\"color: #ff6600;\">Preserve Weights:<\/span><\/em> You use this strategy if your mesh already contains weight maps (vertex groups having the same name as corresponding bones in the armature). Avastar will then just take those weight maps unmodified.<\/li>\n<li><span style=\"color: #ff6600;\"><em>Create Empty Groups<\/em>: <\/span>Add weightmaps (vertex groups) to your mesh, one for each bone. However there is no vertex assigned to any of the added weightmaps.<\/li>\n<li><em><span style=\"color: #ff6600;\">Automatic from Bones:<\/span><\/em> Calculate the weightmaps from the Bone heat distribution. this generates reasonable weights on the fly.<\/li>\n<li><em><span style=\"color: #ff6600;\">Copy from meshes:<\/span><\/em> Get weightmaps from other meshes already rigged to the armatures (this is the default setting)<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span4\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image848.png\"><img decoding=\"async\" class=\"size-full wp-image-5743 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image848.png\" alt=\"\" width=\"293\" height=\"279\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>You probably need to experiment a bit to find which choice is best for your particular situation. In the toggle box below you find some basic explanation and a decision guide:<\/p>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Details about Bind to Armature<\/h3><div class=\"symple-toggle-container symple-clearfix\">If you are unsure about which option to use, then please give yourself the time to experiment a bit and try out a few. There is no general rule about which weight Copy Strategy will give you best results. However here are some guidelines. Set the weight option to:<\/p>\n<ul>\n<li><em><span style=\"color: #ff6600;\">Preserve Weights, <\/span><\/em>if you want to keep the Mesh weights as they are. You do this when your mesh already has weights. this can happen if your mesh is a copy, or it is reused from another project, or it has been weighted within another software.<\/li>\n<li><span style=\"color: #ff6600;\"><em>Create Empty Groups<\/em><\/span>: If you want to create the weight maps all on your own, then this is the option for you. Avastar will then create weight groups (one for each bone) but keep all newly created groups empty. So you can fill the groups with weights how ever it is convenient for you.<\/li>\n<li><em><span style=\"color: #ff6600;\">Copy from meshes,<\/span><\/em> if you want to copy from the other meshes which are bound to the same armature. You do this when your new meshes are very similar to already existing meshes for which you already have approved weights and which are already bound to the Rig. For example you have created a weight template character for your projects, or your meshes are very similar to parts of the Avastar character. Then you want to copy the weights from your source meshes.<\/li>\n<li><em><span style=\"color: #ff6600;\">Automatic from Bones,<\/span><\/em> if you want to Automatic Weight from Bones algorithm (see Blender Manual: <a href=\"http:\/\/wiki.blender.org\/index.php\/Doc:2.6\/Manual\/Modeling\/Objects\/Groups_and_Parenting\">Groups_and_Parenting<\/a>). This gives very smooth results in general. However the Bone Heat Algorithm tends to spread the weighting too far away from the Joints. Which may make the custom mesh look a pit puffy when you add volume to the mesh (fat, width, belly, etc&#8230;)<\/li>\n<\/ul>\n<p><strong><span style=\"color: #00ccff;\">Important:<\/span><\/strong> Regardless of which choice you take here, you almost always have to carefully check your animation and fix weighting issues manually.<\/p>\n<h2>What if the options do not match your needs?<\/h2>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<p>The Weight copy during binding gives you only a subset of options. Avastar has many more possibilities to copy and even generate weights for you. You will find these options in the Weight Copy Panel which becomes available once your mesh is bound to the rig (see picture).<\/p>\n<p>So to use the Weight Copy panel, you could first Bind with Preserve Weights, then continue in the Weight Copy panel.<\/p>\n<p><strong><span style=\"color: #00ccff;\">Note:<\/span> <\/strong>The Weight Copy Panel is empty if your mesh is not rigged!<\/p>\n<p>Related reference guides:<\/p>\n<a href=\"\/help\/n-panel\/sections\/skinning\/binding\/\" class=\"symple-button large navy   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">Reference: Binding<\/span><\/a>\n<a href=\"\/help\/n-panel\/sections\/weight-copy\/\" class=\"symple-button large navy   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">Reference: Weight Copy<\/span><\/a>\n<\/div>\n<div class=\"rhcol span4\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image850.png\"><img decoding=\"async\" class=\"size-full wp-image-5747 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image850.png\" alt=\"\" width=\"293\" height=\"473\" srcset=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image850.png 293w, https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image850-186x300.png 186w\" sizes=\"(max-width: 293px) 100vw, 293px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h2>What to do when binding fails?<\/h2>\n<h4>Issues with Automatic from Bones<\/h4>\n<p>When you decide to get your weights <span style=\"color: #ff6600;\"><em>Automatic from Bones<\/em><\/span>, then sometimes Blender reports back that it could not calculate weights for one or more vertices. This is typically caused either by meshes which contain 2 or more separated sub meshes (a prominent example: Teeth) or by malformed meshes. You then need to check:<\/p>\n<ul>\n<li>Is your mesh made of multiple sub meshes?<\/li>\n<li>Do you have intersecting faces in your Mesh?<\/li>\n<li>Do you have duplicate vertices in your mesh?<\/li>\n<\/ul>\n<p>Often this problem appears when you Join separate Meshes into one mesh before you rig them. In that case you better rig the meshes first and join them later when the weighting is finished..<\/p>\n<h4>Issue with copy from meshes<\/h4>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<p>There is actually only one situation where copy from meshes fails. that is: If there are no meshes to copy from in the rig. So you have to make sure that at least one source mesh is selected from where weights shall be taken, as shown in the picture.<\/p>\n<\/div>\n<div class=\"rhcol span4\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image849.png\"><img decoding=\"async\" class=\"size-full wp-image-5746 alignleft\" src=\"https:\/\/avalab.org\/avastar\/300\/wp-content\/uploads\/2020\/03\/Image849.png\" alt=\"\" width=\"236\" height=\"203\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div><\/div>\n<p>Now your mesh is bound to the Rig. Go ahead with the next chapter:<\/p>\n<p style=\"text-align: center;\"><a href=\"\/reference\/usermanual\/attachments\/about-bones\/\" class=\"symple-button default green   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">Next &#8212; About Bones<\/span><\/a>\n","protected":false},"excerpt":{"rendered":"<p>Binding the Mesh What you have done so far You have created a custom mesh attachment or a custom character. You have added an Avastar Rig to your Scene. You have adjusted your custom mesh size and shape to the Avastar Rig. Your Custom Mesh is not yet bound to the Rig. Now you can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5740,"parent":351,"menu_order":20,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-1085","page","type-page","status-publish","has-post-thumbnail","hentry","category-reference"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/1085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/comments?post=1085"}],"version-history":[{"count":1,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/1085\/revisions"}],"predecessor-version":[{"id":43688,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/1085\/revisions\/43688"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/pages\/351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media\/5740"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/media?parent=1085"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/categories?post=1085"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/300\/wp-json\/wp\/v2\/tags?post=1085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}