{"id":883,"date":"2015-11-01T22:53:22","date_gmt":"2015-11-01T22:53:22","guid":{"rendered":"http:\/\/avastar.online\/?page_id=883"},"modified":"2015-11-01T22:53:22","modified_gmt":"2015-11-01T22:53:22","slug":"attach","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/293\/avastar-workflows\/attach\/","title":{"rendered":"Attach"},"content":{"rendered":"<h3>Purpose<\/h3>\n<p>Attach a Mesh Model to Avastar.<\/p>\n<h3>Main Workflow<\/h3>\n<div class=\"symple-box  yellow none \" style=\"text-align:left;width: 100%;\"> \n<div class=\"row-fluid\">\n<div class=\"rhcol span12\">This is the process for attaching a human character model to Avastar that is created in T-Pose.<\/div>\n<\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Migrate T-Posed Model to Avastar<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Load your model into the scene (blender supports a number of input formats).<\/li>\n<li>Create a fresh Avastar.<\/li>\n<li>Put your Avastar into Pose mode<\/li>\n<li><strong><span style=\"color: #ff6600;\">Ensure that your Avastar keeps in rest Pose !<\/span><\/strong><\/li>\n<li>Only use Avastar&#8217;s shape sliders to get a best fit of both models.<\/li>\n<\/ul>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_23035\" style=\"width: 277px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23035\" class=\"wp-image-23035 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_06.png\" alt=\"rig_06\" width=\"267\" height=\"367\" \/><p id=\"caption-attachment-23035\" class=\"wp-caption-text\">Avastar meshes (green) and custom shape after adjusting Avastar with Shape Sliders<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Select the Avastar Armature and SHIFT RMB select your Model as well.<\/li>\n<li>Open the Tool shelf and there open the <em><span style=\"color: #ff6600;\">Avastar Tab<\/span><\/em>.<\/li>\n<li>Locate the <em><span style=\"color: #ff6600;\">Skinning<\/span><\/em> panel.<\/li>\n<li>Set the weight option to <em><span style=\"color: #ff6600;\">Meshes.<\/span><\/em><\/li>\n<li>Enable <em><span style=\"color: #ff6600;\">Clear Weights.<\/span><\/em><\/li>\n<li>Keep <em><span style=\"color: #ff6600;\">Selected verts<\/span><\/em> disabled.<\/li>\n<li>Keep<em><span style=\"color: #ff6600;\"> With Eye Bones<\/span> <\/em>disabled.<\/li>\n<li>Keep <em><span style=\"color: #ff6600;\">Alter to Rest Pose <\/span><\/em>disabled.<\/li>\n<li>Click <em><span style=\"color: #ff6600;\">Bind to Armature.<\/span><\/em><\/li>\n<\/ul>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23036\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_07.png\" alt=\"rig_07\" width=\"213\" height=\"224\" \/><\/a><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Select the Avastar meshes and hide them (type &#8220;h&#8221; to hide selected)<\/li>\n<li>Select the Avastar Armature<\/li>\n<li>Set the armature to Pose mode<\/li>\n<li>verify that your Model is correctly weighted<\/li>\n<li>If necessary start fixing the weighting now<\/li>\n<\/ul>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_08.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23037\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_08.png\" alt=\"rig_08\" width=\"229\" height=\"373\" \/><\/a><\/div>\n<\/div>\n<\/div><\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h3>Non T-Posed Characters<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span12\">This is the process for attaching a human character model to Avastar that was not created in T-Pose.<\/div>\n<\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Migrate arbitrary Posed Model to Avastar<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<h3><i class=\"fa fa-battery-0\"><\/i> Preparations<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Load your model into the scene (blender supports a number of input formats).<\/li>\n<li>Create a fresh Avastar.<\/li>\n<li>Put your Avastar into Pose mode. In the next steps you only want to pose the green control bones!<\/li>\n<\/ul>\n<p><strong><span style=\"color: #ff0000;\">TBD: Add links for importing models to Blender<\/span><\/strong><\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_933\" style=\"width: 310px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-065.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-933\" class=\"wp-image-933 size-medium\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-065-300x60.png\" alt=\"reference-065\" width=\"300\" height=\"60\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-065-300x60.png 300w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-065.png 322w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-933\" class=\"wp-caption-text\">Use the Pose preset in the Rigging Panel to set your armature to Pose mode. This ensures your settings are all right.<\/p><\/div>\n<\/div>\n<\/div>\n<h3><i class=\"fa fa-battery-1\"><\/i> Adjust Pose<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span6\">\n<ul>\n<li>Repose your Avastar to match the pose of your Model.<\/li>\n<li>Also use Avastar shape sliders to get a best fit of the armature and your Custom Mesh.<\/li>\n<\/ul>\n<p>You can modify (Edit) the Mesh directly. Or you can adjust the Armature by using the sliders and posing the bones.<\/p>\n<p><strong><span style=\"color: #ff0000;\">TBD: Add links to corresponding tutorials<\/span><br \/>\n<\/strong><\/p>\n<\/div>\n<div class=\"rhcol span6\">\n<div id=\"attachment_23029\" style=\"width: 233px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_02.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-23029\" class=\"wp-image-23029 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_02.png\" alt=\"rig_02\" width=\"223\" height=\"347\" \/><\/a><p id=\"caption-attachment-23029\" class=\"wp-caption-text\">Avastar model posed and shaped to match roughly your character.<\/p><\/div>\n<\/div>\n<\/div>\n<h3><i class=\"fa fa-battery-2\"><\/i> Bind the Mesh<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Select the Avastar Armature and SHIFT RMB to select your Model as well.<\/li>\n<li>Open the Tool shelf and there open the <em><span style=\"color: #ff6600;\">Avastar Tab<\/span><\/em>.<\/li>\n<li>Locate the <em><span style=\"color: #ff6600;\">Skinning<\/span><\/em> panel.<\/li>\n<li>Set the weight option as needed: Use<br \/>\n<em><span style=\"color: #ff6600;\">Keep<\/span><\/em> if your mesh has weights<br \/>\n<em><span style=\"color: #ff6600;\">Meshes<\/span><\/em> to get Weights from meshes<br \/>\n<em><span style=\"color: #ff6600;\">Bones<\/span><\/em> to get automatic weights<\/li>\n<li>Enable <em><span style=\"color: #ff6600;\">Clear Weights.<\/span><\/em><\/li>\n<li>Keep <em><span style=\"color: #ff6600;\">Selected verts<\/span><\/em> disabled.<\/li>\n<li>Enable <em><span style=\"color: #ff6600;\">Alter to Rest Pose.<\/span><\/em><\/li>\n<\/ul>\n<p><span style=\"color: #ff0000;\"><strong>TBD: Add basic information about which weighting method to use when<br \/>\n<\/strong><\/span><\/p>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-23031\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_04.png\" alt=\"rig_04\" width=\"218\" height=\"224\" \/><\/a><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Click <em><span style=\"color: #ff6600;\">Bind to Armature.<\/span><\/em><\/li>\n<\/ul>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>The Bind function creates an Armature modifier for your Mesh and binds the mesh to the armature according to the settings in the skinning panel.<\/p>\n<\/div>\n<\/div>\n<h3><i class=\"fa fa-battery-3\"><\/i> Final cleanup<\/h3>\n<p>Now your mesh is bound and ready for usage. Here is a final cleanup to get your custom mesh into SL T-Pose:<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Select the Avastar meshes and hide them (type &#8220;h&#8221; to hide selected)<\/li>\n<li>Select the Avastar Armature<\/li>\n<li>Set the armature to Pose mode<\/li>\n<li>Select all green control bones<\/li>\n<li>Pose -&gt; Clear Transform -&gt; All (reset the pose)<\/li>\n<\/ul>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-23032\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2014\/09\/rig_05.png\" alt=\"rig_05\" width=\"239\" height=\"316\" \/><\/a><\/div>\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>TBD: When things go wrong&#8230;<br \/>\n<\/strong><\/span><\/p>\n<\/div><\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose Attach a Mesh Model to Avastar. Main Workflow &nbsp; Non T-Posed Characters This is the process for attaching a human character model to Avastar that was not created in T-Pose. &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":23035,"parent":811,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[9],"tags":[],"class_list":["post-883","page","type-page","status-publish","has-post-thumbnail","hentry","category-workflow"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/883","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=883"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/883\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/811"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/media?parent=883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/categories?post=883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/tags?post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}