{"id":412,"date":"2015-10-12T19:24:03","date_gmt":"2015-10-12T19:24:03","guid":{"rendered":"http:\/\/avastar.online\/?page_id=412"},"modified":"2015-10-12T19:24:03","modified_gmt":"2015-10-12T19:24:03","slug":"fitted-mesh","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/292\/reference\/usermanual\/advanced\/fitted-mesh\/","title":{"rendered":"Fitted Mesh"},"content":{"rendered":"<h2 style=\"text-align: left;\"><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> Fitted Mesh<\/h2>\n<div class=\"symple-box  blue center \" style=\"text-align:left;\"> \n<p><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/227813652\" width=\"1080\" height=\"608\" frameborder=\"0\" title=\"Character Creation Part 3: The Fitted mesh editor\" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe><\/p>\n\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Get the demo T-Shirt<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<div class=\"symple-box  green center \" style=\"text-align:center;\"> In the video i used a very simple T-shirt model. This model is actually a cut-out of the Second Life upper body mesh.<\/p>\n<p><strong>Download from here<\/strong>:<\/p>\n<a href=\"http:\/\/avastar.guru\/wp-content\/uploads\/2018\/04\/t-shirt-001.blend\" class=\"symple-button default green   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">Simple_Clothes &#8211; Blend file<\/span><\/a>\n<\/div>\n<\/div>\n<div class=\"span6 rhcol\" style=\"text-align: center;\">\n<p style=\"text-align: left;\"><span style=\"color: #ff6600;\">License:<\/span><\/p>\n<p style=\"text-align: left;\">This demo_model provided by <a href=\"http:\/\/blog.machinimatrix.org\/avastar\" rel=\"cc:attributionURL\">Machinimatrix<\/a> is a derivative from the Secondlife character, so the license of the Secondlife character applies. You have the permission to upload this model and any derivatives to SL.<\/p>\n<\/div>\n<\/div>\n<div class='et-box et-info'>\n\t\t\t\t\t<div class='et-box-content'><p>Tip: You can quickly create this on your own by<\/p>\n<ul>\n<li>Freeze the upper body of the Avastar base mesh<\/li>\n<li>Remove the arms<\/li>\n<li>Inflate the mesh a tiny bit (use ALT S)<\/li>\n<li>Adjust the collar and shoulder parts to your likes<\/li>\n<\/ul><\/div><\/div>\n<\/div><\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">About this Document...<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"rhcol span6\">\n<p><span style=\"color: #ff6600;\"><strong>Content:<\/strong><\/span><\/p>\n<ul>\n<li>Convert a classic rig to a Fitted mesh rig<\/li>\n<li>Use the smooth by weight tool<\/li>\n<li>Edit the Fitted Mesh weights<\/li>\n<li>Advanced: Basic Theory of Fitted mes<\/li>\n<\/ul>\n<\/div>\n<div class=\"rhcol span6\">\n<p>\u00a0<strong><span style=\"color: #ff6600;\">The Video<\/span><\/strong><\/p>\n<ul>\n<li>Begin with a prepared classic rigged Shirt<\/li>\n<li>Bind the mesh<\/li>\n<li>Use Fitting Sliders in Object mode<\/li>\n<li>Use fitting sliders in Edit mode<\/li>\n<li>Use Smooth by Weight in edit mode<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Meshes have one nasty problem: They can not be fully adjusted to the user&#8217;s shape. When you weight only to the classic deforming bones (mBones) then actually only a few of the Appearance sliders (the bone length changing sliders) can be used.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>However, you can weight a mesh to another subset of the SL Avatar skeleton, namely the Collision Volume Bones. Meshes with weights on the Collision Volume Bones are also named <span style=\"color: #ff6600;\"><em>Fitted Mesh<\/em><\/span>&#8230;<\/p>\n<\/div>\n<\/div>\n<h3>What does Avastar provide?<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Avastar basically supports the creation of animatable Models (Avatars&amp;attachments) and the creation of animations. Therefore the tool adds various functions and <span style=\"color: #ff6600;\">user interface elements<\/span> to Blender.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>The full functionality of Avastar can be a bit overwhelming on first sight. You should be prepared to spend some time and patience to get it all working nicely for your projects.<\/p>\n<\/div>\n<\/div>\n<h3>What does this Document provide?<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>We want to take the skirt from the preceding <a href=\"http:\/\/blog.machinimatrix.org\/avastar\/reference\/create-an-attachment\/\">Create an Attachment<\/a> guide and convert it into a fitted mesh skirt. We will mostly use the Fitted Mesh tools provided by Avastar 1.6.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>However we also provide a lot of tool independent information as well. So this text may be interesting for you even when you do not use Avastar or Blender<\/p>\n<\/div>\n<\/div>\n<h2 style=\"text-align: center;\"><strong><div class='et-box et-warning'>\n\t\t\t\t\t<div class='et-box-content'>We expect that you have basic knowledge about Blender.<\/div><\/div> <\/strong><\/h2>\n<\/div><\/div>\n<\/div>\n<h2>The goal<\/h2>\n<p style=\"text-align: center;\"><div class=\"symple-box  black center \" style=\"text-align:center;width: 60%;\"> <span style=\"color: #ff00ff;\"><strong>Begin with a classic rigged Mesh<br \/>\n<\/strong><\/span><span style=\"color: #ff00ff;\"><strong>and sequentially convert it into a Fitted mesh<br \/>\nwhile retaining the original weighting<\/strong><\/span><\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Some Gotchas<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<h3>Fitted Mesh is nothing special<\/h3>\n<p>The concepts of fitted mesh are nothing unique to Second Life. In fact Fitted Mesh is absolutely standard <em><span style=\"color: #ff6600;\">Skeletal Animation<\/span><\/em>. The problem with Fitted Mesh is only its name (honestly).<\/p>\n<h3>Fitted Mesh does not Fit everywhere&#8230;<\/h3>\n<p>Some people believe that fitted mesh allows your mesh avatars to be adjusted perfectly to the SL system Avatar. But this is entirely not true. Fitted mesh does not fit exactly to anything, and especially fitted mesh does not fit to the system Avatar at all. In fact Fitted Mesh is based on <em><span style=\"color: #ff6600;\">Skeletal Animation<\/span><\/em>, while the SL Avatar shapes are mostly based on <em><span style=\"color: #ff6600;\">Morph Shapes<\/span><\/em>.<\/p>\n<p>The 2 concepts (<em><span style=\"color: #ff6600;\">Skeletal Animation<\/span><\/em> and <em><span style=\"color: #ff6600;\">Morph shapes<\/span><\/em>) are not comparable and thus they do not (actually they can not) create the same results. If you are lucky you can manage to create something that creates similar results, but never a perfect match for all Appearance Slider values!<\/p>\n<h3>No weights, no Fit!<\/h3>\n<p>The Avastar Tools for Fitted Mesh only work when your mesh is already weighted! The tools need existing weight maps on which they can operate. In general we recommend that the meshes are already weighted reasonably well for the classic bone set.<\/p>\n<p><strong><span style=\"color: #ff6600;\">Side note:<\/span> <\/strong>Actually you can start with no weights at all, but then the Fitting panel does no longer work smooth and easy. I will explain the issue in more detail further down.<\/p>\n<h3>Fitted mesh &amp; Shades of Grey<\/h3>\n<p>Some people believe strongly that Fitted Mesh only uses the cBones (Collision Volume Bones), while Classic Mesh is a synonym for only weighting to the mBones (Deforming Bones). But this is not entirely true. Fitted Mesh weighting allows you to mix cBones and mBones. In fact our tools does just that to achieve better results.<\/p>\n<h3>Working with Fitted Mesh is no cakewalk<\/h3>\n<p>Should you expect that Avastar will give you the ability to create perfect rigged and fitted Mesh, then i can tell you 2 things:<\/p>\n<ol>\n<li>Yes you are right<\/li>\n<li>No, you won&#8217;t get there in one afternoon!<\/li>\n<\/ol>\n<p>Honestly, Avastar only helps you to get better results with less work, but you still must know what you do. Please take your time, experiment a lot (even more than a lot), and learn 3D modelling and animation from the basics. All of this is not a cakewalk! But it becomes a lot of fun when you accept that it also is a lot of work:<\/p>\n<p><a href=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/avastar_warning1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-685 aligncenter\" src=\"http:\/\/avastar.online\/wp-content\/uploads\/2015\/10\/avastar_warning1-300x154.png\" alt=\"avastar_warning\" width=\"300\" height=\"154\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/avastar_warning1-300x154.png 300w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/avastar_warning1-768x393.png 768w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/avastar_warning1.png 842w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<h3>The Conceptual Model of Fitted Mesh<\/h3>\n<p>This is a brief description of the concept that we used to implement support for Fitted Mesh (The Fitting Panel).<\/p>\n<h4><strong><span style=\"color: #800080;\">mBone &#8211; CollisionVolume pairs<\/span><\/strong><\/h4>\n<p>We have pairs of (mBone, CollisionVolume) like for example (mPelvis,Pelvis), (mTorso,Torso) etc.<br \/>\nFor those bones the sum of the weights in both weightmaps define how the bone pair influences the mesh during rotation and translation. While the weight on the Collision volume alone define the influence of the appearance sliders (scaling).<\/p>\n<p>So you can distribute your weighting between the mBone and its paired collision volume without changing how the mesh behaves during animation. While the more weight you put on the Collision Volume the more influence you give to the appearance sliders.<\/p>\n<p><strong>Note:<\/strong> By <span style=\"color: #3366ff;\"><em>distribute your weighting<\/em><\/span> i mean that for each vertex the sum of the weights on the mbone and its paired Collision Volume does not change.<\/p>\n<h4><strong><span style=\"color: #800080;\">Physics Bones<\/span><\/strong><\/h4>\n<p>We have a special set of Collision Volumes added for physics purposes (PEC, HANDLE, BACK, BUTT) Those Collision volumes are also parented to mBones but here the relationship between animation and appearance sliders is a bit more complicated. I believe the pairing for mPelvis, mTorso and mChest is like this:<\/p>\n<ul>\n<li>(mPelvis, Pelvis + BUTT)<\/li>\n<li>(mTorso, Torso + LEFT_HANDLE + RIGHT_HANDLE + LOWER_BACK)<\/li>\n<li>(mChest, Chest + LEFT_PEC + RIGHT_PEC + UPPER_BACK)<\/li>\n<\/ul>\n<p>So you can distribute your weighting between those mBones and any or all of their related Collision Volume Bones without changing how the mesh behaves during animation. While again the more weight you put on the Collision Volume the more influence you give to the appearance sliders.<\/p>\n<h4><span style=\"color: #800080;\"><strong>In practice<\/strong><\/span><\/h4>\n<p>You just take your weight paint brushes and paint until your mesh behaves about right. This works for the simple bone\/volume bone pairs (see above) without issues for large portions of your meshes. You only get trouble near the bone joints where you need to take special care about how to distribute the weights among the related bones.<\/p>\n<h4><strong><span style=\"color: #800080;\">The 4 weights per vert limitation<\/span><\/strong><\/h4>\n<p>However when you add weights to the physics bones, then you can very easily get above the limits of Second life which say :<\/p>\n<p><em><span style=\"color: #3366ff;\">no more than 4 weights per vertex<\/span> <\/em><\/p>\n<p>This limitation gives you headache when you use all fitted mesh bones on your mesh.<\/p>\n\n<\/div><\/div>\n<h2>The working Model<\/h2>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p style=\"text-align: left;\">We will use a very simple skirt for this tutorial. (The video above uses a different mesh) This skirt is already weighted to the classic <em><span style=\"color: #ff6600;\">mBones<\/span><\/em> and it contains a simple walk animation for scrubbing the timeline.<\/p>\n<p style=\"text-align: center;\"><div class=\"symple-box  green center \" style=\"text-align:center;\"> \n<span style=\"color: #ff6600;\"><strong>Download from here<\/strong><\/span>:<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/simple_clothes_fitted_begin.blend\" class=\"symple-button default green   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">Simple_Clothes &#8211; Blend file<\/span><\/a>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/CC-logo-88x31.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-21667\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/CC-logo-88x31.png\" alt=\"CC-logo-88x31\" width=\"88\" height=\"31\" \/><\/a><\/p>\n<p style=\"text-align: left;\">The above demo_model provided by <a href=\"http:\/\/blog.machinimatrix.org\/avastar\" rel=\"cc:attributionURL\">Machinimatrix<\/a> is licensed under a <a href=\"http:\/\/creativecommons.org\/licenses\/by\/4.0\/\" rel=\"license\">Creative Commons Attribution 4.0 International License<\/a>.<\/p>\n<p style=\"text-align: left;\">For Second Life Users: We explicitly grant the permission to upload derived material to SL.<\/p>\n<\/div>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_21102\" style=\"width: 268px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/model.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-21102\" class=\"wp-image-21102 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/model.png\" alt=\"model\" width=\"258\" height=\"416\" \/><\/a><p id=\"caption-attachment-21102\" class=\"wp-caption-text\">The skirt is available in animated_skirt.blend.<\/p><\/div>\n<\/div>\n<\/div>\n<h2><i class=\"fa fa-battery-0\"><\/i> Starting from Classic Mesh<\/h2>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>We use the very simple skirt model from the <a href=\"\/reference\/create-an-attachment\/\">Create an attachment<\/a> tutorial to demonstrate the basics of fitted Mesh. This skirt is already weighted to the classic mBones and it is rigged to a default Avastar character. We also added a simple walk animation (which was made with the <a href=\"https:\/\/sparkles.guru\/timeline-copy\/\">Sparkles Add-on<\/a> ). So the blend file is &#8220;ready for take off&#8221; provided you have Avastar 2 installed.<\/p>\n<p>We will convert this mesh into a fitted Mesh. We have to take special care of the weights here as explained below<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>Content of the Blend file<\/p>\n<ul>\n<li>A default female Avastar character<\/li>\n<li>A Weighted Skirt (See <a href=\"\/reference\/create-an-attachment\/\">Create an Attachment<\/a>)<\/li>\n<li>A Walk Animation for Testing<\/li>\n<li>Body textures (starlight from Elloh Elliot)<\/li>\n<li>Body Materials<\/li>\n<li>A very simple light setup<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"symple-box  red center \" style=\"text-align:left;\"> We highly recommend that you first work your way through the <a href=\"\/reference\/create-an-attachment\/\">Create an Attachment<\/a> reference guide before you step further.<\/div>\n<h3>The Fitted Mesh Workspace<\/h3>\n<p>Your very first task is to setup your workspace so that it works best with the Fitted Mesh tools:<\/p>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Preparing the Workspace<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<h2>Preparations<\/h2>\n<\/div>\n<div class=\"span6 rhcol\"><a class=\"mamap\" href=\"\/wp-content\/uploads\/2015\/10\/map_fitting.png\" target=\"_blank\"><img decoding=\"async\" alt=\"\" src=\"\/wp-content\/uploads\/2015\/10\/map_fitting.png\" \/><\/a><\/div>\n<\/div>\n<h4>The rigging Panel<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<ul>\n<li>Select the Skirt inWeight Paint mode.<\/li>\n<li>Open the Avastar Tab in the Tool Shelf.<\/li>\n<li>In the <em><span style=\"color: #ff6600;\">Rig Display Panel<\/span><\/em> select the Pose Preset.<\/li>\n<li>Enable X-Ray.<\/li>\n<li>Optionally disable Limits and Shapes<\/li>\n<li>Optionally set the Rig display type to Stick.<\/li>\n<li>Enable the visibility only for the Deform Bones.<\/li>\n<li>And set the Display filter to &#8220;Map&#8221;.<\/li>\n<\/ul>\n<p><span style=\"color: #ff6600;\"><strong>Note:<\/strong> <\/span>This is just my setup. You are free to use your own setup of course. But when you step through this document for the first time, then we strongly recommend to use the settings as indicated above.<\/p>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image483.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2471 size-full\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image483.png\" alt=\"\" width=\"305\" height=\"676\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image483.png 305w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image483-135x300.png 135w\" sizes=\"auto, (max-width: 305px) 100vw, 305px\" \/><\/a><\/div>\n<\/div>\n<h4>(Optional) Configure the Deform Bones<\/h4>\n<p>By default only the 26 SL Base Bones of Avastar&#8217;s 136 Bones are enabled to use weight maps. All other bones are simply ignored by the Mesh attachments! However Fitted mesh also uses the Collision Volume Bones for deforming. Avastar normally ensures automatically that the Collision Volume Bones are enabled as Deform Bones when needed.<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p><strong>In case of trouble: <\/strong>If the collision volume bones are not enabled as deform bones for any reason, you can enforce this setting in the <em>Rig Config <\/em>Panel and there in the <em>Deform Bone settings<\/em> section at the bottom<em>. <\/em>You click on the Enable button for the Volume Bones (see image)<\/p>\n<p><strong>Caveat:<\/strong> There is no visual feedback for what happens. This is a known issue on our list of improvements.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>\u00a0 <a href=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image484.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2472\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image484.png\" alt=\"\" width=\"255\" height=\"213\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h4>Configure the Appearance Panel<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Open the <em><span style=\"color: #ff6600;\">Appearance Panel<\/span><\/em> in the Tool Shelf and select the <em><span style=\"color: #ff6600;\">Fitted<\/span><\/em> Section (see image). Now you can see all Appearance Sliders (13 in total) which are used by the Fitted Mesh System. Please keep the Appearance Panel open as we will use it frequently from now on.<\/p>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image485.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2473\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image485.png\" alt=\"\" width=\"257\" height=\"419\" srcset=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image485.png 257w, https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image485-184x300.png 184w\" sizes=\"auto, (max-width: 257px) 100vw, 257px\" \/><\/a><\/div>\n<\/div>\n<\/div><\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\"><span style=\"color: #ff6600;\"><strong>Tip:<\/strong> <\/span>Please save your Blend file after you finished the preparations and keep this file as reference. Then you can always step back to a clean setup should you ever have messed up the weight maps of your meshes.<\/div>\n<div class=\"span6 rhcol\">\n<div class=\"symple-box  red center \" style=\"text-align:left;\"> Should you ever need to <a href=\"https:\/\/support.machinimatrix.org\/tickets\">open a ticket<\/a>, then we probably will ask you to also send us this initial setup blend file.<\/div>\n<\/div>\n<\/div>\n<div class=\"symple-box  black center \" style=\"text-align:left;\"> <span style=\"color: #ff00ff;\">And now it is time to fasten your seat Belts and open the Fitting Panel&#8230;<\/span><\/div>\n<h2><i class=\"fa fa-battery-1\"><\/i> The Fitting Panel<\/h2>\n<div class=\"row-fluid\">\n<div class=\"rhcol span5\">\n<p>The Fitting panel contains all the tools that we have created to support Fitted mesh in Avastar 2. The video aside gives you a brief overview.<\/p>\n<p>However i recommend that you also take a look at the following chapter about the Basics of Fitted mesh. This will certainly help you to understand how the tools operate, and how to use them efficiently.<\/p>\n<\/div>\n<div class=\"rhcol span7\"><p><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/227813652\" width=\"1080\" height=\"608\" frameborder=\"0\" title=\"Character Creation Part 3: The Fitted mesh editor\" webkitallowfullscreen mozallowfullscreen allowfullscreen><\/iframe><\/p>\n<\/div>\n<\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">Basics of Fitted Mesh<\/h3><div class=\"symple-toggle-container symple-clearfix\">\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> Basics of Fitted Mesh<\/h2>\n<p>This page is about the principles of fitted Mesh. We strongly recommend that you first read this page before you attempt to go ahead and do practical work. However here are the links to the other pages on this topic:<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<a href=\"http:\/\/avastar.online\/reference\/fitted-mesh\/\" class=\"symple-button large blue   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">How to work with the Fitting Panel<\/span><\/a>\n<\/div>\n<div class=\"span6 rhcol\">\n<a href=\"http:\/\/avastar.online\/workflows\/fitted-mesh\/joint-positions-with-fitted-mesh\/\" class=\"symple-button large blue   \" target=\"_self\" title=\"Visit Site\" style=\"border-radius:3px\" rel=\"\"><span class=\"symple-button-inner\" style=\"border-radius:3px\">How to work with Joint Positions<\/span><\/a>\n<\/div>\n<\/div>\n<h2>The Nuts &amp; Bolts<\/h2>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>When we step into fitted mesh the situation gets a bit more complicated. Technically Fitted mesh is nothing special. It just makes use of a subset of the Skeleton, namely the set of Collision Volume Bones, where each Collision Volume Bone is clamped to a corresponding classic bone. Thus building tightly coupled Bone Pairs.<\/p>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-0121.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-28394 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-0121.png\" alt=\"\" width=\"466\" height=\"322\" \/><\/a><\/div>\n<\/div>\n<p>In the image aside you see for example the 3 bone pairs:<\/p>\n<ul>\n<li>R_HAND is clamped to mWristRight<\/li>\n<li>R_LOWER_ARM is clamped to mElbowRight<\/li>\n<li>R_UPPER_ARM is clamped to mShoulderRight<\/li>\n<\/ul>\n<h4>Fitting Bones<\/h4>\n<p>Due to the clamping the collision Volume always moves and rotates along with the bone to which it is clamped. With other words each bone pair [Collision Volume + Classic Bone] can be seen as one unbreakable unit. Lets name such a bone pair a <span style=\"color: #ff6600;\"><em>FittingBone<\/em><\/span> consisting of an <span style=\"color: #ff6600;\"><em>mBone<\/em><\/span> (a classical bone) and a <em><span style=\"color: #ff6600;\">cBone<\/span><\/em> (a collision Volume).<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>When we look at classic Weighting then we only deal with the classic mBones. The cBones are completely ignored by the animation system and things are rather easy and well organized (left side of image).<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28398\" style=\"width: 459px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-013.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28398\" class=\"wp-image-28398\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-013.png\" alt=\"reference-013\" width=\"449\" height=\"295\" \/><\/a><p id=\"caption-attachment-28398\" class=\"wp-caption-text\">Left: regular Bones; Right: regular + cBones<\/p><\/div>\n<\/div>\n<\/div>\n<p>For Fitted Mesh many users think they just need to replace the classic mBone weighting by the new cBone weighting, thus only use the cBones for fitted mesh. But this is not true. In general we have to deal with all cBones and all mBones at the same time when we make fitted mesh (right side of image)!<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<h4>Animating Fitted mesh<\/h4>\n<p>Regarding the animation of your characters, it does not matter which bone of a <em><span style=\"color: #ff6600;\">FittingBone<\/span><\/em> pair gets which weight:<\/p>\n<ol>\n<li>You could place all weight to the mBone<br \/>\nto get a pure classic weighting.<\/li>\n<li>or you could place all weight on the cBone<br \/>\nto get &#8220;Fully Fitted Mesh&#8221; weighting,<\/li>\n<li>or you can distribute the weight between<br \/>\nthe 2 bones in any way you like.<\/li>\n<\/ol>\n<p>In any case it is the weight sum of the Collision Volume and the corresponding classic Bone within a FittingBone pair that affects the animation, nothing else!<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28403\" style=\"width: 420px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-016.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28403\" class=\"wp-image-28403 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-016.png\" alt=\"reference-016\" width=\"410\" height=\"194\" \/><\/a><p id=\"caption-attachment-28403\" class=\"wp-caption-text\">All weights on the mBone (Classic)<\/p><\/div>\n<div id=\"attachment_28402\" style=\"width: 420px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-015.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28402\" class=\"wp-image-28402 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-015.png\" alt=\"reference-015\" width=\"410\" height=\"194\" \/><\/a><p id=\"caption-attachment-28402\" class=\"wp-caption-text\">Weights distributed between mBone and cBone<\/p><\/div>\n<div id=\"attachment_28401\" style=\"width: 420px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-014.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28401\" class=\"wp-image-28401 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-014.png\" alt=\"reference-014\" width=\"410\" height=\"194\" \/><\/a><p id=\"caption-attachment-28401\" class=\"wp-caption-text\">All weights on the cBone (fully Fitted)<\/p><\/div>\n<\/div>\n<\/div>\n<h4>The animation pitfall<\/h4>\n<p>Lets say your mesh is perfectly weighted to the classic bones. Now you want to convert this to fitted mesh. So you just add weight to the Collision Volume Bones and all is done&#8230;<\/p>\n<p>But wait, when you add weight to a collision Volume, then the weight sum on your vertices raises above 1.0 (because you <strong>added<\/strong> weight) ops&#8230; well, Blender is a bit clever here (and also a bit confusing for the user), it allows you to create weight sums &gt; 1. But then it internally corrects the numbers by normalizing them before using them. Normalizing enforces that the weight sum is 1.0 again.<\/p>\n<p>So what? All is well again, no?&#8230;<\/p>\n<p>well, you have added weight to the collision volume bone, right? But the weight sum must be kept at 1.<\/p>\n<p>Hence this added weight must have been taken away from somewhere&#8230; So by adding weight to the cBone we reduce the weight on all other bones.<\/p>\n<p>This is not an issue where you only have one single weight (the red zones in the images above). But wherever you already had 2 or more weights on classic bones, adding weight to a corresponding Collision volume most probably destroys your weights on the classic bones. And unfortunately this always happens near the joints.<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<h4>Shaping Fitted Mesh<\/h4>\n<p>The Collision Volume Bones are used to add volume to your mesh. That is, the cBones provide a scale vector to make your mesh bigger or smaller depending on the amount of weight on the CollisionVolume Bone.<\/p>\n<p>However you never &#8220;see&#8221; this vector anywhere. But you modify its value by using the Appearance Sliders. And as a result your mesh blows up or shrinks whenever a vertex is weighted to a collision volume bone AND the sliders are not in the neutral state.<\/p>\n<p><strong><span style=\"color: #ff6600;\">Caveat:<\/span> <\/strong>But all of this does not happen when your armature is in its default Shape (neutral shape) simply because there the scale vector is neutral.<\/p>\n<h4>Practical tip<\/h4>\n<p>When you want to do Fitted Mesh, then please select your Mesh, then step into the Avastar Skinning panel and ensure that your Mesh is set to &#8216;SL Appearance&#8217;<\/p>\n<p>And then move the appearance sliders of interest out of the neutral setting. otherwise you can not see any change in your fitted mesh!<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p>&nbsp;<\/p>\n<div id=\"attachment_28407\" style=\"width: 354px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-018.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28407\" class=\"wp-image-28407 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-018.png\" alt=\"reference-018\" width=\"344\" height=\"194\" \/><\/a><p id=\"caption-attachment-28407\" class=\"wp-caption-text\">Weights on RIGHT_PEC, Breast Size appearance slider set to 0<\/p><\/div>\n<div id=\"attachment_28406\" style=\"width: 354px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-017.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28406\" class=\"wp-image-28406 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-017.png\" alt=\"reference-017\" width=\"344\" height=\"194\" \/><\/a><p id=\"caption-attachment-28406\" class=\"wp-caption-text\">Weights on RIGHT_PEC, Breast Size appearance slider set to 50 (neutral)<\/p><\/div>\n<div id=\"attachment_28408\" style=\"width: 354px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-019.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28408\" class=\"wp-image-28408 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-019.png\" alt=\"reference-019\" width=\"344\" height=\"194\" \/><\/a><p id=\"caption-attachment-28408\" class=\"wp-caption-text\">Weights on RIGHT_PEC,<br \/>Breast Size appearance slider set to 100<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<h4>Weight Count for Fitted Mesh<\/h4>\n<p>We learned above that the FittingBones consist of bone pairs. So when we look at the joint of any 2 FittingBones we actually look at 4 bones (and not at 2 bones as in the classic weighting) Thus at the end you see that for Fitted mesh you typically need the double amount of weights on each vertex (weight the collision volumes for shaping, weight the classic bones for animating)<\/p>\n<p>As a consequence a fitted mesh character does in general use 4 weights near the joints and 2 weights anywhere else.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28391\" style=\"width: 286px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-011.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28391\" class=\"wp-image-28391\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2012\/11\/reference-011.png\" alt=\"reference-011\" width=\"276\" height=\"422\" \/><\/a><p id=\"caption-attachment-28391\" class=\"wp-caption-text\">Green: 2 weights, Orange: 4 weights<\/p><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n\n<\/div><\/div>\n<h3>The fitting Sliders<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>In the previous chapter we have introduced the <em><span style=\"color: #ff6600;\">Fitting Bones<\/span><\/em> (bone pairs of one classic <em><span style=\"color: #ff6600;\">mBone<\/span> <\/em>and a corresponding <span style=\"color: #ff6600;\"><em>cBone<\/em><\/span>). In the fitting panel you find the corresponding tools for modifying the Fitting Bones. Especially you find the list of Fitting Bones in the Slider section at the bottom of the panel (see image)<\/p>\n<p><em><div class='et-box et-warning'>\n\t\t\t\t\t<div class='et-box-content'>Hint: The Fitting Panel is best used together with the Appearance panel. You should have both panels open and visible in the Tool Shelf.<\/div><\/div> <\/em><\/p>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image486-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2475\" src=\"https:\/\/avalab.org\/avastar\/292\/wp-content\/uploads\/2015\/10\/Image486-1.png\" alt=\"\" width=\"257\" height=\"287\" \/><\/a><\/div>\n<\/div>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">The Fitting Panel details<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<h4>Bone Fitting Strength<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>At the top of the Slider section you find 3 filter buttons for restricting the Display to:<\/p>\n<ul>\n<li>The Selected <span style=\"color: #ff6600;\">Fitting Bones<\/span><\/li>\n<li>The Weighted Fitting Bones<\/li>\n<li>All Fitting Bones<\/li>\n<\/ul>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28545\" style=\"width: 258px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-025.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28545\" class=\"wp-image-28545 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-025.png\" alt=\"reference-025\" width=\"248\" height=\"129\" \/><\/a><p id=\"caption-attachment-28545\" class=\"wp-caption-text\">The List of Fitting Bones<\/p><\/div>\n<\/div>\n<\/div>\n<p>The settings controls which of the Fitting Bone sliders are shown in the slider list below the 3 filter buttons (see image). By default we display only the weighted Fitting Bones to avoid clutter on the display.<\/p>\n<h4>Distributing weights<\/h4>\n<p>The Fitting Sliders are used to move weight between the mBones and their corresponding cBones. Following rules apply for each slider:<\/p>\n<ul>\n<li>Slider value 0.0: only mBone weighted<\/li>\n<li>Slider value 1.0: only cBone weighted<\/li>\n<li>Any value in between: the weights are distributed between the mBbone and the cBone<\/li>\n<\/ul>\n<p><strong><span style=\"color: #ff6600;\">Attention<\/span><\/strong>: In any case for each vertex the sum of the weights on the cBone and the mBone is kept unchanged. This actually implies that if a vertex is not weighted to a Fitting Bone, then moving the Fitting Slider will not generate any weight! However you can add weight to any vertex manually (by using the weight editor or a brush) and as soon as you do that, the added weight can also be distributed with the Fitting Sliders.<\/p>\n<h4>Fitting Bones in the 3D View<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>A Fitting Bone is always a pair of bones consisting of:<\/p>\n<ul>\n<li>an mBone (Classic SL Bone)<\/li>\n<li>a cBone (Collision Volume)<\/li>\n<\/ul>\n<p>Remind that mBones are shown in Blue, while cBones are shown in orange.<\/p>\n<h4><span style=\"color: #ff6600;\">Note:<\/span><\/h4>\n<p>A Fitting Bone is <em><span style=\"color: #ff6600;\">Selected<\/span><\/em> when either its mBone or its cBone is selected.<\/p>\n<p>A Fitting Bone is <em><span style=\"color: #ff6600;\">Weighted<\/span><\/em> when either its mBone or its cBone is weighted.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28546\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-026.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28546\" class=\"wp-image-28546 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-026.png\" alt=\"reference-026\" width=\"300\" height=\"376\" \/><\/a><p id=\"caption-attachment-28546\" class=\"wp-caption-text\">The Fitting Bones in the 3D View<\/p><\/div>\n<\/div>\n<\/div>\n<p>Note: If both bones of a Fitting Bone are weighted, then you see them both in the 3D View. Please refer to the Preparation section above to see how to customize the Bone Display.<\/p>\n<\/div><\/div>\n<h3><i class=\"fa fa-battery-2\"><\/i> Working with The Fitting Sliders<\/h3>\n<p>In the Fitting Slider section you see 4 Sliders associated to 4 bone pairs:<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p style=\"text-align: right;\"><strong><span style=\"color: #ff6600;\">Collision Volume<\/span><\/strong><br \/>\nBELLY<br \/>\nPELVIS<br \/>\nL_UPPER_LEG<br \/>\nR_UPPER_LEG<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><strong><span style=\"color: #ff6600;\">SL Base Bone<\/span><\/strong><br \/>\nmTorso<br \/>\nmPelvis<br \/>\nmHipLeft<br \/>\nmHipRight<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28634\" style=\"width: 243px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-029.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28634\" class=\"wp-image-28634 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-029.png\" alt=\"reference-029\" width=\"233\" height=\"155\" \/><\/a><p id=\"caption-attachment-28634\" class=\"wp-caption-text\">The Fitting Sliders for the Skirt<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>However when you look at the 3D View then you see only the blue mBones are currently displayed. This is because all Fitting Bone slider values are initially set to 0.0<\/p>\n<p>Thus only the mBones are weighted, thus the mesh contains weight maps only for the classic mBones.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28633\" style=\"width: 178px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-028.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28633\" class=\"wp-image-28633 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-028.png\" alt=\"reference-028\" width=\"168\" height=\"246\" \/><\/a><p id=\"caption-attachment-28633\" class=\"wp-caption-text\">Initially only the mBones are visible<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">You can verify this by opening the Mesh Data Properties Window and inspect the Vertex Groups. And indeed we can see the 4 Vertex Groups for the 4 classic mBones.<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28635\" style=\"width: 258px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-030.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28635\" class=\"wp-image-28635 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-030.png\" alt=\"reference-030\" width=\"248\" height=\"140\" \/><\/a><p id=\"caption-attachment-28635\" class=\"wp-caption-text\">The Vertex Groups associated to the Mesh<\/p><\/div>\n<\/div>\n<\/div>\n<h4>Interactive Fitting<\/h4>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">Please step to the top of the Fitting Panel now make sure the option <em><span style=\"color: #ff6600;\">Apply Immediately<\/span><\/em> is enabled. This ensures that our next changes become fully interactive.<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-032.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28647\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-032.png\" alt=\"reference-032\" width=\"252\" height=\"131\" \/><\/a><\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Now lets move the Pelvis Fitting Slider a bit to the right. You see the orange PELVIS Bone appears in the 3D View as well.<\/p>\n<p>And also a new Vertex Group for the PELVIS bone has been automatically created in the Data Properties window.<\/p>\n<\/div>\n<div class=\"span6 rhcol\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-0311.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28646\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-0311.png\" alt=\"reference-031\" width=\"173\" height=\"224\" \/><\/a><\/div>\n<\/div>\n<div class=\"symple-box  blue center \" style=\"text-align:left;\"> <span style=\"color: #ff0000;\"><strong>Tip:<\/strong><\/span> If you can not see the Collision Volumes appearing when you move the fitting sliders, then please check further up in the chapter <em>Configure the Deform Bones<\/em> that the Collision Volume Bones are enabled as Deform Bones.<\/div>\n<p><strong><span style=\"color: #ff6600;\">For the technician:<\/span> <\/strong>The weight values are split up between the PELVIS bone and the mPelvis bone. The Slider sets the fraction of weight that gets transferred from the mBone to the cBone. So when the slider is at 0.0 then the fraction of weight on the cBone becomes 0. While when the slider is set to 1.0 then all weight has been moved over from the mBone to the cBone.<\/p>\n<div class=\"symple-box  red center \" style=\"text-align:left;width: 70%;\"> The Fitting Sliders never add extra weight. They only change the weight distribution of their associated mBone\/cBone pair!<\/div>\n<p><strong><span style=\"color: #ff6600;\">Side note:<\/span> <\/strong>When a Fitting slider is set to 0.5 then all weights are equally split up between the mBone and the cBone.<\/p>\n<h3><i class=\"fa fa-battery-3\"><\/i> The major Pitfalls<\/h3>\n<p>You may have realized that when you play with the Fitting sliders, then only the weight distribution gets changed, but the mesh itself does not change its shape at all. There are 3 reasons why this happens:<\/p>\n<ol>\n<li>your Appearance sliders are all in their default position (this is our issue here). You must move the Appearance Sliders out of their default positions when you want to see the influence of the fitting sliders on the Mesh Shape!<\/li>\n<li>You forgot to enable the <em><span style=\"color: #ff6600;\">Apply Immediately<\/span> <\/em>option in the Fitting Panel. Enable this option and try again.<\/li>\n<li>Your mesh is neither weighted to the cBone nor to the mBone of a Fitting Bone. In that case there is no weight to distribute! Hence the Fitting Bone slider has no effect at all.<\/li>\n<\/ol>\n<h3>Fitting the Pelvis<\/h3>\n<p>Lets now do some practical work with the dress.<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Please open the Appearance Panel (Torso Section) and move the Slider for the <em><span style=\"color: #ff6600;\">Belly Size<\/span><\/em> to 50 (midway). You see on the image how the skirt sinks into the stomach (or how the stomach grows above the skirt).<\/p>\n<p>Now step back into the Fitting Panel and move the <em><span style=\"color: #ff6600;\">Pelvis<\/span> <\/em>Fitting Slider gradually towards its maximum value. You see the belly growing with the Fitting Slider changes!<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-033.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28654\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-033.png\" alt=\"reference-033\" width=\"199\" height=\"343\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span6\">\n<p>When the slider Value of the Pelvis Fitting Slider is close to 0.85 we see the mesh has changed like in the image aside. This is not perfect, but it is much better than it was before!<\/p>\n<p><strong><span style=\"color: #ff6600;\">Note:<\/span><\/strong> You can easily get confused because the Fitting Panel and the Appearance Panel both seem to do something very similar. But always remember:<\/p>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<div class=\"symple-box  yellow center \" style=\"text-align:left;\"> The <em><span style=\"color: #ff6600;\">Fitting Sliders<\/span><\/em> modify the weight distribution of the mesh<\/div>\n<\/div>\n<div class=\"span6 rhcol\">\n<div class=\"symple-box  yellow center \" style=\"text-align:left;\"> The <em><span style=\"color: #ff6600;\">Appearance Sliders<\/span><\/em> modify the shape values of the Armature<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<p><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-034.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28656\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-034.png\" alt=\"reference-034\" width=\"199\" height=\"343\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Now also move the Belly Slider from 0.0 up to 1.0:<\/p>\n<p><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-036.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-28742\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-036.png\" alt=\"reference-036\" width=\"246\" height=\"154\" \/><\/a><br \/>\nYou will end up with a slightly improved shape as shown in the image aside. However you still see issues on the side and on the back of the skirt where the original Avatar mesh pokes through.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Hint:<\/strong><\/span> The mTorso bone disappears as soon as the Belly Slider is set to 1.0<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28741\" style=\"width: 212px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-035.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28741\" class=\"wp-image-28741 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-035.png\" alt=\"reference-035\" width=\"202\" height=\"346\" \/><\/a><p id=\"caption-attachment-28741\" class=\"wp-caption-text\">Belly: 1.0 Pelvis: 0.85<\/p><\/div>\n<\/div>\n<\/div>\n<h3>Fitting in Edit Mode<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>Luckily the fitting Sliders also work on vertex selections in Edit mode. All that you need to do is to set your mesh to edit mode. Now you can go ahead and select any subset of verts and then use the fitting sliders to improve the vertex locations of the selected verts. You can even select only one single vertex if you like.<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28745\" style=\"width: 334px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-037.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28745\" class=\"wp-image-28745 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-037.png\" alt=\"reference-037\" width=\"324\" height=\"204\" \/><\/a><p id=\"caption-attachment-28745\" class=\"wp-caption-text\">Improved weighting by fitting selected vertices<\/p><\/div>\n<\/div>\n<\/div>\n<h3>Resetting the edited Vertex Weights<\/h3>\n<div class=\"row-fluid\">\n<div class=\"span6 rhcol\">\n<p>As soon as you begin using Fitting sliders in Edit mode, you notice that an additional icon appears on the right most column in the Fitting Sliders panel. When you click on this icon, then all weight edits that you have done in edit mode will be reset.<\/p>\n<p>This is handy when you want to restart from a fresh and clean weight distribution<\/p>\n<\/div>\n<div class=\"span6 rhcol\">\n<div id=\"attachment_28750\" style=\"width: 243px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-038.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-28750\" class=\"wp-image-28750 size-full\" src=\"http:\/\/blog.machinimatrix.org\/wp-content\/uploads\/2015\/09\/reference-038.png\" alt=\"reference-038\" width=\"233\" height=\"155\" \/><\/a><p id=\"caption-attachment-28750\" class=\"wp-caption-text\">The<em> <span style=\"color: #ff6600;\">revert<\/span> <\/em>icon on the right most column of Pelvis and Belly indicates edited weights.<\/p><\/div>\n<\/div>\n<\/div>\n<div class=\"symple-box  red center \" style=\"text-align:left;\"> \n<p>Whenever the fitting slider values have been changed in edit mode, and when you switch back to weight paint mode, then moving the sliders may result in a change of the weight distribution of the entire mesh. This is a known inconvenience which we hopefully can resolve soon.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Current Workaround:<\/strong> <\/span>Either readjust the Fitting slider or do not touch the fitting sliders in Weight paint mode after you have adjusted the weights in edit mode.<\/p>\n<\/div>\n<h3>Fighting the Poke Through<\/h3>\n<p>Some areas of your mesh might suffer from <span style=\"color: #ff6600;\"><em>poke through<\/em><\/span> regardless how you distribute the the weights. In these areas your weights are not able to fit your mesh to the underlying Avatar mesh. However you can use a few strategies to master poke through issues.<\/p>\n<ul>\n<li>Use an Alpha Mask to hide the underlying Meshes (very recommended where applicable)<\/li>\n<li>Manually add weight to your weight maps (not recommended)<\/li>\n<li>Edit the Mesh itself to adjust it to the current Shape (good for small fixes)<\/li>\n<li>Create additional corrective Shape Keys (good when you intend to create <em><span style=\"color: #ff6600;\">standard sizes<\/span><\/em>)<\/li>\n<\/ul>\n<p>We will not get deeper into this topic here. We prepare a separate document for this.<\/p>\n<h2>Summary<\/h2>\n<p>I have introduced the principles of fitted mesh and the Avastar Fitted Mesh tools (i.e. the Fitting Panel). I have shown how you can work with the Fitting panel in Weight Paint Mode and in Edit mode.<\/p>\n<p>From here on you can begin to experiment. Please be aware that nothing here is set in stone. Especially our workflow is not the only way how you can do fitted mesh. However i believe this is a good way to get you started.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fitted Mesh The goal The working Model We will use a very simple skirt for this tutorial. (The video above uses a different mesh) This skirt is already weighted to the classic mBones and it contains a simple walk animation for scrubbing the timeline. Starting from Classic Mesh We use the very simple skirt model [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":21667,"parent":3922,"menu_order":60,"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-412","page","type-page","status-publish","has-post-thumbnail","hentry","category-reference"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages\/412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/comments?post=412"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages\/412\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/pages\/3922"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/media?parent=412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/categories?post=412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/292\/wp-json\/wp\/v2\/tags?post=412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}