{"id":7262,"date":"2021-01-27T20:47:30","date_gmt":"2021-01-27T20:47:30","guid":{"rendered":"https:\/\/avastar.machinimatrix.org\/280\/?page_id=7262"},"modified":"2021-01-27T20:47:30","modified_gmt":"2021-01-27T20:47:30","slug":"the-fitting-panel","status":"publish","type":"page","link":"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/","title":{"rendered":"The Fitting Panel"},"content":{"rendered":"<div class=\"row-fluid\">\n<div class=\"rhcol span11\">\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> The Fitting Panel<\/h2>\n<\/div>\n<div class=\"rhcol span1\">\n<a class=\"mamap\" href=\"\/wp-content\/uploads\/2021\/01\/map-fitted-mesh.png\" target=\"_blank\"><img decoding=\"async\" alt=\"\" src=\"\/wp-content\/uploads\/2021\/01\/map-fitted-mesh.png\" \/><\/a>\n<\/div>\n<\/div>\n<h2><\/h2>\n<p style=\"text-align: center;\"><p><iframe loading=\"lazy\" src=\"https:\/\/player.vimeo.com\/video\/227813652?color=ff9933&#038;title=0&#038;byline=0&#038;portrait=0\" width=\"150%\" height=\"100%\" frameborder=\"0\" allow=\"autoplay; fullscreen; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n\n<p>The original SL Rig contains a set of special bones (<em><span style=\"color: #ff6600;\">Collision Volumes<\/span><\/em>, also named <span style=\"color: #ff6600;\"><em>Fitted Mesh Bones<\/em><\/span>) which add more flexibility to shaping Mesh attachments with the Shape Sliders. The rig is organized in pairs of bones which we will name<span style=\"color: #ff6600;\"><em> fitting pairs<\/em><\/span> from now on. Each fitting pair consisting of a regular deform Bone (blue) and a corresponding Collision Volume Bone (orange).<\/p>\n<div class=\"symple-box  red center \" style=\"text-align:left;\"> <span style=\"color: #3366ff;\"><strong>Important:<\/strong><\/span> The Sliders in the Fitting Panel distribute the weights between the 2 bones of a bone pair. However, the tool neither adds weight to the bone pair nor does it remove weight from the bone pair. Please read the following chapter for an explanation<\/div>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>In the image you see for example 3 fitting pairs for the right arm:<\/p>\n<ul>\n<li>mWristRight &#8211; R_HAND<\/li>\n<li>mElbowRight &#8211; R_LOWER_ARM<\/li>\n<li>mShoulderRight &#8211; R_UPPER_ARM<\/li>\n<\/ul>\n<p>In the fitting panel (see below) you find the corresponding tools for modifying the fitting pairs seen in the image.<\/p>\n<\/div>\n<div class=\"rhcol span5\">\n<p><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-012.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-124\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-012.png\" alt=\"\" width=\"466\" height=\"322\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-012.png 466w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2015\/10\/reference-012-300x207.png 300w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<h2><\/h2>\n<div class=\"symple-toggle state-closed \"><h3 class=\"symple-toggle-trigger \">The Basic concept of the Fitting Panel ...<\/h3><div class=\"symple-toggle-container symple-clearfix\">\n<p>So, this is theory and it is a bit tedious to understand, true. But i ensure you, it is not overly complicated. So please take a chance and read on, it will help you!<\/p>\n<p>The two bones of a fitting pair generally serve for very different purposes:<\/p>\n<ul>\n<li>The mBone is mainly used for rotation and translation of the skeleton.<\/li>\n<li>The Volume Bone is mainly used to blow up or shrink the mesh (to give it more or less volume).<\/li>\n<\/ul>\n<p>However, the Volume Bone is always tightly clamped to the mBone, so that when the mBone is rotated or moved, then the volume bone rotates and moves along with it in perfect synchronization. In other words we can see both bones as one more complex bone-entity that is good for rotation, moving and volume.<\/p>\n<p>The trick is that the volume is controlled only by the volume bone, so the more weight the volume bone gets the more volume is generated on the mesh. But the rotation and the translation actually depend only on the sum of the weights found on the volume bone and the mBone. Thus the skeletal animation is not changed when we take are to only move weight between the bones but not add or remove weight from them.<\/p>\n<p>So we came up with the main idea of the fitting panel: provide sliders for taking the given weight of an mBone and move parts of it to the Volume bone, the more is put on the volume bone the more volume the mesh gets at the end. But because we only shift weights, there is no change in the way how the bone pair rotates and moves the mesh. So we can be sure that our animations do not deform the mesh when we have given it some volume.<\/p>\n<\/div><\/div>\n<h3>The Fitting Sliders<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span7\">\n<p>OK, back to practice. You find the list of available fitting pairs in the <span style=\"color: #ff6600;\"><em>Bone Fitting Strength<\/em><\/span> section at the bottom of the panel<\/p>\n<p>The Bone fitting strength sliders shift the weight between the blue mBone (slider value = 0.0, means all weight is in the mBone) and the orange Collision Volume Bone (slider value = 1.0, means all weight is in the Collision volume Bone).<\/p>\n<p><strong><span style=\"color: #3366ff;\">Remind:<\/span><\/strong> We do not create additional weight! We only shift the weight that already exists on the bone pair, so in simple terms: the less weight you have on the mBone the more weight you get on the collision volume bone!<\/p>\n<\/div>\n<div class=\"rhcol span5\"><a href=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1264.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7186 size-full\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1264.png\" alt=\"\" width=\"419\" height=\"386\" srcset=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1264.png 419w, https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1264-300x276.png 300w\" sizes=\"auto, (max-width: 419px) 100vw, 419px\" \/><\/a><\/div>\n<\/div>\n<p><strong><span style=\"color: #3366ff;\">Caveat:<\/span><\/strong> If a bone pair has no weights, then the corresponding fitting slider is useless. Also if a vertex has no weights in a bone pair then the slider won&#8217;t generate weights, it just shifts <em>nothing<\/em> between the mBone and the Collision Volume. A Simple method to avoid this issue (and also avoid odd deformations) is:<\/p>\n<ol>\n<li>Use only the classic bones (mBones) to optimize the weights for your default shape<\/li>\n<li>Then switch over to the Fitting panel and add the weight for the volume bones<\/li>\n<\/ol>\n<h3>General usage<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<p>The easiest way to use the fitting sliders is by setting the Bone Fitting Strength section to <em>Weighted<\/em>(see image above). Then you see only sliders where at least one of the corresponding bones of the fitting pair has weight values<em>. <\/em>However Avastar assumes by default that the mesh has been weighted for classic bones only. Because of that all sliders are set to 0 initially.<\/p>\n<p>Anyways as soon as you begin to move the sliders you will move more and more weight from the deform bone over to the collision volume. This happens right out of the box. There is no initialization of any form needed. However you can optionally use the Fitting presets to begin your work.<\/p>\n<\/div>\n<div class=\"rhcol span4\">\n<p><strong><span style=\"color: #ff6600;\">Tip: <\/span><\/strong>The Fitting Panel is best used together with the Avatar Shape panel. You should have both panels open and visible in the Tool Shelf.<\/p>\n<\/div>\n<\/div>\n<h3>Advanced usage<\/h3>\n<div class=\"row-fluid\">\n<div class=\"rhcol span8\">\n<p>The fitting sliders also work together with the Vertex Select Mask. In that case they apply to the selected vertices. However this mode is a bit tricky because there is only one single slider setting for all vertices. But you actually can use the sliders on different selections and adjust the weight distributions to your likes.<\/p>\n<\/div>\n<div class=\"rhcol span4\">\n<p><strong><span style=\"color: #ff6600;\">Tip:<\/span><\/strong>Before you enter Edit mode create a temporary preset of your slider settings. Then after you have finished your edit sessions, switch back to object mode or pose mode, then apply your temporary preset to restore the slider settings as they were before the editing. Now you can safely delete your temporary preset.<\/p>\n<\/div>\n<\/div>\n    <h2>Section sub pages<\/h2>\n              <div class='mama-subpage tolightblue'>\n          <h3><a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/sliders\/\">\n              Sliders              <\/a><\/h3>\n          <div class=\"row-fluid\">\n            <div class=\"rhcol span8\">\n              Fitted Mesh Preparations The fitted Mesh Sliders work great but you must setup the workspace accordingly. In particular you need to: Make sure the viewport is in Solid Shading mode The Mesh is selected and in Weight Paint Mode The Armature is selected in Pose Mode The Deform Bones and the Volume Bon...              <div class=\"h-readmore\"> <a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/sliders\/\">Read More<\/a><\/div>\n            <\/div>\n            <div class=\"rhcol span4\">\n              <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1276-150x150.png\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" \/>            <\/div>\n          <\/div>\n        <\/div>\n              <div class='mama-subpage tolightblue'>\n          <h3><a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/fitting_verts\/\">\n              Edit Mode              <\/a><\/h3>\n          <div class=\"row-fluid\">\n            <div class=\"rhcol span8\">\n              Fitting Vertices Sometimes (actually almost always) it is not possible to use the Fitting Sliders on an entire Object with the weights given from the mBones, mostly because the original weighting for the mBones was simply not made for the fitted mesh application. For this case we support the partial...              <div class=\"h-readmore\"> <a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/fitting_verts\/\">Read More<\/a><\/div>\n            <\/div>\n            <div class=\"rhcol span4\">\n              <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1289-150x150.png\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" \/>            <\/div>\n          <\/div>\n        <\/div>\n              <div class='mama-subpage tolightblue'>\n          <h3><a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/edit-mesh\/\">\n              Edit Fitted Mesh              <\/a><\/h3>\n          <div class=\"row-fluid\">\n            <div class=\"rhcol span8\">\n              Sometimes we have to face reality. We can not always make fitted mesh only by adjusting the mesh weitghts. In such cases there is no other way than creating multiple versions of your attachment for different sizes. The Tank-Top in the image has serious issues on the sides. It really does not match t...              <div class=\"h-readmore\"> <a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/edit-mesh\/\">Read More<\/a><\/div>\n            <\/div>\n            <div class=\"rhcol span4\">\n              <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1298-150x150.png\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" \/>            <\/div>\n          <\/div>\n        <\/div>\n              <div class='mama-subpage tolightblue'>\n          <h3><a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/physics\/\">\n              Physics              <\/a><\/h3>\n          <div class=\"row-fluid\">\n            <div class=\"rhcol span8\">\n              Physics Sliders Some of the Collision Volumes have been added to simulate gravity (physics). This is implemented for Pecs, Belly and Butt. Furthermore LindenLabs have added some more extra bones for Fitted Mesh: UPPER_BACK, LOWER_BACK, LEFT_HANDLE and RIGHT_HANDLE. Avastar does not automatically cre...              <div class=\"h-readmore\"> <a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/physics\/\">Read More<\/a><\/div>\n            <\/div>\n            <div class=\"rhcol span4\">\n              <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1309-150x150.png\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" \/>            <\/div>\n          <\/div>\n        <\/div>\n              <div class='mama-subpage tolightblue'>\n          <h3><a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/tools\/\">\n              Fitting Tools (Smooth Weights)              <\/a><\/h3>\n          <div class=\"row-fluid\">\n            <div class=\"rhcol span8\">\n              Smooth Weights...              <div class=\"h-readmore\"> <a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/tools\/\">Read More<\/a><\/div>\n            <\/div>\n            <div class=\"rhcol span4\">\n              <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1286-150x150.png\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" \/>            <\/div>\n          <\/div>\n        <\/div>\n              <div class='mama-subpage tolightblue'>\n          <h3><a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/presets-2\/\">\n              Fitting Presets              <\/a><\/h3>\n          <div class=\"row-fluid\">\n            <div class=\"rhcol span8\">\n              Fitting Presets You can store the setup of your Fitting Sliders into Presets. We have already added 3 Presets for your convenience Default Presets Fully Classic: Only Weights on classic deform bones (blue). Fully Fitted: Only weights on collision volumes (orange). Half Way: Weights distributed evenl...              <div class=\"h-readmore\"> <a href=\"https:\/\/avalab.org\/avastar\/293\/help\/n-panel\/avastar\/the-fitting-panel\/presets-2\/\">Read More<\/a><\/div>\n            <\/div>\n            <div class=\"rhcol span4\">\n              <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/avalab.org\/avastar\/293\/wp-content\/uploads\/2021\/01\/Image1316-150x150.png\" class=\"attachment-thumbnail size-thumbnail wp-post-image\" alt=\"\" \/>            <\/div>\n          <\/div>\n        <\/div>\n        \n","protected":false},"excerpt":{"rendered":"<p>The Fitting Panel The original SL Rig contains a set of special bones (Collision Volumes, also named Fitted Mesh Bones) which add more flexibility to shaping Mesh attachments with the Shape Sliders. The rig is organized in pairs of bones which we will name fitting pairs from now on. Each fitting pair consisting of a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":124,"parent":3763,"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":[],"tags":[],"class_list":["post-7262","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/7262","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=7262"}],"version-history":[{"count":0,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/7262\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/pages\/3763"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/media\/124"}],"wp:attachment":[{"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/media?parent=7262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/categories?post=7262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/avalab.org\/avastar\/293\/wp-json\/wp\/v2\/tags?post=7262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}