{"id":2275,"date":"2017-09-30T15:32:50","date_gmt":"2017-09-30T15:32:50","guid":{"rendered":"http:\/\/avastar.online\/?page_id=2275"},"modified":"2017-09-30T15:32:50","modified_gmt":"2017-09-30T15:32:50","slug":"weld-to-rigged","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/tool-box\/mesh\/weight-tools\/weld-to-rigged\/","title":{"rendered":"Weld to Rigged"},"content":{"rendered":"<div class=\"row-fluid\">\n<div class=\"rhcol span10\">\n<h2><image src=\"\/avastar\/292\/wp-content\/uploads\/2019\/08\/approve_logo_280.png\" style=\"width:120px;vertical-align:middle;margin-left:0px;margin-right:10px;\"><\/image> Weld to Rigged<\/h2>\n<\/div>\n<div class=\"rhcol span2\">\n<a class=\"mamap\" href=\"\/wp-content\/uploads\/2021\/01\/map-weld-weights.png\" target=\"_blank\"><img decoding=\"async\" alt=\"\" src=\"\/wp-content\/uploads\/2021\/01\/map-weld-weights.png\" \/><\/a>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>When 2 meshes have adjacent edges, then in almost every case you may want to make sure that the vertices match perfectly. This is the case for the Skirt and the Top in the image.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<div id=\"attachment_6888\" style=\"width: 396px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1190.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6888\" class=\"wp-image-6888 size-full\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1190.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1190.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1190-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><p id=\"caption-attachment-6888\" class=\"wp-caption-text\">Top and Skirt have adjacent vertices. Looking good in Restpose<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>However, sometimes you find that the meshes behave different when posed, such that for example a gap shows up.<\/p>\n<p>The reason for this gap is that the weightmaps of the two meshes differ, so they move slightly different and diverge with increasing pose transformations .<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<div id=\"attachment_6890\" style=\"width: 396px\" class=\"wp-caption alignleft\"><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1191.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6890\" class=\"wp-image-6890 size-full\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1191.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1191.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1191-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><p id=\"caption-attachment-6890\" class=\"wp-caption-text\">A Gap shows up when posing the rig. Adjacent weight maps do not match<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>When we display the related weightmaps for both meshes, then we can already see how the map colors differ(Here shown for the mTorso bone).<\/p>\n<p>Here the upper border of the skirt is colored in red, while the lower edge of the top is colored in green: The weightmaps differ a lot in this case.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1192.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-6891\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1192.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1192.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1192-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>This is where the Weld to rigged functions comes as a rescue, as it simply makes sure that adjacent vertices on both meshes have exactly the same weights.<\/p>\n<p>Lets select the border vertices of the mesh on which we want to fix the weight maps (i chose the skirt here):<\/p>\n<p><strong><span style=\"color: #3366ff;\">Note:<\/span> <\/strong>Actually the tool does not take an average weight, but it copies the weights from the adjacent mesh (the Top-Mesh in this case).<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1193.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6896 size-full\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1193.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1193.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1193-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>In the Toolbox (Avastar Panel) we find the Weight tools section <span style=\"color: #ff6600;\"><em>Weld to Rigged<\/em><\/span><\/p>\n<p>As soon as we click the operator button, the weights get corrected&#8230;<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1194.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-6893\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1194.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1194.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1194-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>So when you display the related weight maps of both Meshes after the Weight welder was applied, then you now see a smooth transition of the colors between the top and the skirt.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1195.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6900 size-full\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1195.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1195.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1195-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>The final test is to redo the pose and see. Obviously now the weights are identical along the border edges of the skirt and the Top.<\/p>\n<p>Mischief accomplished.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1196.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-6902\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1196.png\" alt=\"\" width=\"386\" height=\"505\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1196.png 386w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1196-229x300.png 229w\" sizes=\"auto, (max-width: 386px) 100vw, 386px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Weld to Rigged When 2 meshes have adjacent edges, then in almost every case you may want to make sure that the vertices match perfectly. This is the case for the Skirt and the Top in the image. However, sometimes you find that the meshes behave different when posed, such that for example a gap [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6888,"parent":6825,"menu_order":1,"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-2275","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/2275","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/comments?post=2275"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/2275\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/6825"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/media\/6888"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/media?parent=2275"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/categories?post=2275"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/tags?post=2275"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}