{"id":815,"date":"2015-10-31T22:00:49","date_gmt":"2015-10-31T22:00:49","guid":{"rendered":"http:\/\/avastar.online\/?page_id=815"},"modified":"2015-10-31T22:00:49","modified_gmt":"2015-10-31T22:00:49","slug":"joint-positions-with-fitted-mesh","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/legacy\/workflows\/fitted-mesh\/joint-positions-with-fitted-mesh\/","title":{"rendered":"Joint Positions with Fitted Mesh"},"content":{"rendered":"<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>When you try to import a Fitted mesh with Joint Positions, then you typically end up in a desaster. This is probably due to a bug in the Second Life Importer. Actually i have never found any Fitted Mesh example that can be imported to Second Life with Joint Positions.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-047.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-816 aligncenter\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-047-300x184.png\" alt=\"reference-047\" width=\"300\" height=\"184\" srcset=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-047-300x184.png 300w, https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-047.png 472w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"symple-box  blue center \" style=\"text-align:left;\"> However there is a workaround. The trick is to use 2 meshes where one mesh is only rigged to the classic mBones, while the other mesh includes the classic Bones and the Collision volumes (Fitted mesh bones.<\/div>\n<h3>The workflow<\/h3>\n<h4><i class=\"fa fa-battery-0\"> <\/i> Create your Fitted Mesh to your likes<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Note that you can not position your Collision Volumes as you like. The locations of the fitted mesh bones are strictly determined by the positions of their related mBones.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>Tip: You always only edit the green control bones. Then while in Edit mode, locate and click the button &#8220;Snap SL Base to Rig&#8221; This will move the Collision Volumes into place.<\/p>\n<\/div>\n<\/div>\n<h4><i class=\"fa fa-battery-1\"> <\/i> Create a classic Stub Mesh<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>This mesh can have any Shape and any complexity. However it is only used for getting the joint positions into place, so most probably you will create a small tetraeder, or cube, whatever you like best.<\/p>\n<p>Tip: I personally prefer to create a small heart for this purpose.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-048.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-817 aligncenter\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-048-207x300.png\" alt=\"reference-048\" width=\"207\" height=\"300\" srcset=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-048-207x300.png 207w, https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-048.png 292w\" sizes=\"auto, (max-width: 207px) 100vw, 207px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h4><i class=\"fa fa-battery-2\"> <\/i> Bind Stub Mesh to Armature<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Bind this Stub Mesh to your Fitted Mesh Rig. And then delete all its weight maps in the Vertex group list, except the mChest Vertex Group.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-049.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-818 size-medium\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-049-300x195.png\" alt=\"reference-049\" width=\"300\" height=\"195\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Then enter edit mode, select all vertices and assign all of the selected verts to the mChest Vertex Group with a weight value of 1.0<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-050.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-821 size-medium aligncenter\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-050-300x183.png\" alt=\"\" width=\"300\" height=\"183\" srcset=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-050-300x183.png 300w, https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-050.png 350w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h4><i class=\"fa fa-battery-3\"> <\/i> Import Stub Mesh to Second Life<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Export your Stub Mesh from Blender as regular Collada file. Avastar will take care to create missing weight groups for you so that the SL Importer will keep happy.<\/p>\n<p><strong><span style=\"color: #ff6600;\">Now Import this mesh with Joint Positions enabled!<\/span><\/strong><\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-051.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-822 aligncenter\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-051-300x168.png\" alt=\"reference-051\" width=\"300\" height=\"168\" srcset=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-051-300x168.png 300w, https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-051.png 318w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h4><i class=\"fa fa-battery-4\"> <\/i> Import Fitted Mesh to Second Life<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Export your Fitted Mesh from Blender as regular Collada file. Take care that you have all necessary bones (classic and Fitted) weighted to your likes.<\/p>\n<p><strong>Now Import this mesh with Joint Positions disabled!<\/strong><\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-052.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-823 aligncenter\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/reference-052-300x168.png\" alt=\"reference-052\" width=\"300\" height=\"168\" srcset=\"https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-052-300x168.png 300w, https:\/\/avalab.org\/avastar\/legacy\/wp-content\/uploads\/2015\/10\/reference-052.png 318w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<h4><i class=\"fa fa-battery-full\"> <\/i> Wear both meshes<\/h4>\n<p>Your Stub Mesh now contains the modified joint positions, while your fitted mesh adjusts to the Skeleton as desired.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you try to import a Fitted mesh with Joint Positions, then you typically end up in a desaster. This is probably due to a bug in the Second Life Importer. Actually i have never found any Fitted Mesh example that can be imported to Second Life with Joint Positions. The workflow Create your Fitted [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":813,"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":[7],"tags":[],"class_list":["post-815","page","type-page","status-publish","hentry","category-workflow"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/pages\/815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/comments?post=815"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/pages\/815\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/pages\/813"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/media?parent=815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/categories?post=815"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/legacy\/wp-json\/wp\/v2\/tags?post=815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}