Avastar & Blender 2.7

Avastar is fully working together with Blender 2.70.  To be up to date, always use the highest numbered Avastar which at this time is avastar-1.5-9_blender-270.zip (which can be found in the main inventory area and in the test folder of your download page).  Please review the changelogs and check this page frequently for newer updates.

Must read before starting

Information on installation: Our Addons & Blender 2.70 General information for fitted mesh, including an overview video: Breaking News on Avastar 1.1 Even if you are only going to do Classic rigging,it is recommended that you watch the video to see where the new panels and buttons are to understand the workflows better.

Note: press the plus sign on any toggle box below to open and read.

The Workflows (last updated August 16, 2014)

Update old Avastar Rigs (old Avastar projects)

If you are working with a file containing a previous version’s Avastar figure and rig, please note that the changes are not reflected in the rig when a new Avastar version is released.  It is strongly advised to update the rig as Avastar may not work as expected if you do not.

The video above shows how you can easily update your rig using the Avastar Update Tool.

Bind already weighted mesh (classic or fitted)


Optional: Prepare Rig for Fitted mesh


Optional: Convert from Classic to Fitted mesh

[[22473]] [[23489]]

Bind unweighted mesh (classic or fitted)


Optional: Prepare Rig for Fitted mesh


Optional: Convert from Classic to Fitted mesh


For unweighted mesh where you want both cBone weights and mBone vertex groups:

    1. Have your mesh and the Avastar figure and rig ready.
      Note: It is advisable to model over the default shape. Once the model is complete and parented to the rig, with sliders attached, you can load the shape you want to use.
    2. Select your mesh and the rig. In the Skinning and Rigging panel, set Weight to Meshes.
      Note: Step 2 is for copying initial weights.  Remember that to use Meshes means you must have the Avastar figure meshes, or another mesh with weights such as the Avatar skirt or a pair of pants you weighted before), visible for the copying to occur.  The mesh(es) you are using for weights must also be skinned to the same rig to which you are skinning your new mesh.
    3. Press the Assign Armature button. This changes the options for the next step. At this point both your mesh and rig are still selected and can stay selected for the next steps.
    4. For Fitted Mesh, press the plus sign by “Deform (Classic)…” to open the panel where the preset should be changed to Fitted.
    5. The deform panel has been updated to try and make it as simple as possible. First we want to change Weight to Swap. This will swap the weights from the mBones (SL) weights to the corresponding cBones (volume/collision).  Now, here’s the important part: If you want to have the mBone groups to weight to, you will ALSO checkmark “Keep groups”.  The mBone groups will be empty. You will have them though if you want to weight to any of them. You can delete any (in the vertex groups list) you don’t use. Apply configuration.
    6. The mesh is now ready for you to test with sliders. Go to the object properties and press “Load Shape Editor” if the sliders are not showing.  At this point you can load an xml if you want to work with a different shape.
    7. When you are ready to proceed to weight painting, have your custom mesh selected and go to Show bones in the Avastar tab and enable Skinning.  This will make the Deform bones visible:  in this case the  sl base (blue) and volume bones (orange octahedrons), and put you in the weight room.
    8. Enabling Stick will make the bones easier to work with.
    9. Use the SL blue bones to pose, and the volume red cbones to paint weight onto.
    10. To update the weights while you’re painting, press alt-q to see changes to the mesh after you paint weight.

What if you want to edit the mesh after you have set it up with sliders?

Optimally, it is better to have done all your editing before you assign your armature and enable sliders.  However, sometimes you need to edit the mesh after. When working with sliders enabled, shape keys are added to the mesh. If you go into edit on the mesh and make changes and then go to the sliders and use them, it will undo the edits you made to the mesh. If you detach the sliders in the skinning and rigging panel, it will remove the shape keys and you can then edit your mesh. Reattach the sliders. This adds in the shape keys again and using the sliders will no longer affect the mesh edits you made.

Workflow for Classic Rigging with Slink Feet

Note:  There are two versions of the Slink Foot Lasts file.  One is setup with the regular avatar and the feet point forward in Side Ortho in Blender.  The instructions following will deal with that.  If you have received one that was set up for Avastar, be aware that you still want to append to make sure they are attached to the most recent Avastar rig, but you can ignore steps 10 through 14.
  1. Prepare your Slink Foot Lasts file (obtainable from Slink by filling out a form on their site) by opening it and selecting each pair of feet and detaching them from the rig through the Avastar Tab>Skinning panel.  If you were to append these feet while attached to their armature, it would append with a copy of the rig as well which we are trying to avoi
  2. Save this file with some notation of “detached” or something to indicate you changed the original file and this way you don’t overwrite that file.
  3. Open a new file.  My preference is to separate things out on layers to keep things clean and accessible.
  4. Leave layer 1 for the shoes you are modeling or have made.
  5. On layer 3, add a new Avastar.
  6. When you add avastar, the rig is selected and is in green.  Press M for the Layer mover and press in the second box to place the rig on the second layer.  You now have three layers populated: Layer 1- your model, Layer 2- the Avastar rig, Layer 3- the Avastar meshes.
  7. The layers on the bottom row in the Layers icon (in the 3d view menus) are layers 11-20.  Left click layer 11.
  8. Now go to File>Append.
  9. Navigate to your Slink Foot Last file and open the Object category and find SlinkFemaleFeetFlatLLASTS, select it and load it.  It should be in layer 11.  Do the same with the other feet and place them into layers 12, 13 and 14 respectively.  Remember that to see more than one layer at the same time, you select your first layer and then shift select whatever other layers you want visible.
  10. These feet are not prepared for use with Avastar yet as they face forward when you are in Right Ortho, but Avastar faces front in Front Ortho.  Select layers 11, 12, 13 and 14 and box select (letter B for box lasso) over the four sets of feet to select them.
  11. Rotate all the feet RZ-90 to face them forward in front view.
  12. Ctrl-A and select apply rotation.  When you do this, it will appear that one side of the feet appear to be over the other foot and face in the opposite direction.  This is because there is a mirror modifier on each pair of feet.
  13. Select each foot layer and, with those feet selected, go to the Modifiers panel (wrench icon) in the Properties panels (that have the row of icons beginning with the camera for Render).
  14. Under the mirror modifier, change the axis from Y to X.  Do this to each set of feet.
  15. You now need to get your feet onto the new avastar rig.  Select the feet on layer 11 and shift select the avastar rig on layer 2.  The feet already have weights so we will not be changing the weights.
  16. In the Avastar tab>Skinning, set Weight to Keep.  The options on the panel will change and you will leave the new options both disabled (not checkmarked).
  17. Press Bind To Armature.  Your feet are now set up with a new Avastar rig and ready to use.  Repeat this with each set of feet (or at least the feet you intend to work with in this file).
Note:  Now let’s talk about setting up your shoe meshes with the slink feet.  Both shoes can be joined into one object; there is no need to have them separate.  They will work properly on each foot when you walk.  While the Slink feet have a mirror modifier on them, it is best to apply the mirror to your shoes before going on to assign an armature to them. When you assign the armature, you will be taking weights from the Slink Feet meshes.  However, depending on your shoe/boot, you may also need some weights from the Avastar figure’s legs.  In this case you will want to mask out the feet on the Avastar figure so they are not visible since Weights from Meshes will use any visible mesh and that would include the feet.  Please go to the following page and view the video on using the Mask Modifier to hide a part of the Avastar figure mesh.  This will also be helpful in making an alpha texture to hide the feet (though Slink does provide a mask inworld). https://www.avalab.org/create-an-alpha-mask/
  1. Have your mesh, the Slink feet, and Avastar figure (if needed), and rig ready.
  2. Select your mesh and the rig.  In the Skinning panel, set Weight to Meshes.  
  3. Clear Weights and Interpolate should be on by default.  Uncheck Sliders if check-marked.
    Note: Remember Weight from Meshes is from any visible and unselected meshes, so in this case the weight will come from the Slink feet meshes and if you need some weights from the Avastar legs, you can have the lower body mesh visible.  The mesh(es) you are using for weights must also be skinned to the same rig to which you are skinning your new mesh.
     Press the Bind to Armature button.
  4. Go to Show bones in the Avastar tab and enable Skinning.  This will make the Deform bones visible (in this case, the SL Base (blue)), and put you in the weight room.
  5. Enabling Stick will make the bones easier to work with.  You can now proceed with testing the mesh with poses an adjusting weights.
Note:  If you want to do your shoes as fitted, after step 3, continue with step 5 from the workflow for previously weighted meshes earlier on this page.

There are other presets in the lists for setting up weights.  Hovering over each preset in the list will tell you what it does.  If you have questions about these other presets, you can ask in the Blender Avastar group in Second life and we will try to explain or work out the workflow for them. Happy Meshing, ~ele