Difference between revisions of "Project Bento Resources and Information"

From Second Life Wiki
Jump to navigation Jump to search
(Switch creator resource links to new location)
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}


'''Welcome to Project Bento! As we mentioned in [https://community.secondlife.com/t5/Featured-News/Introducing-Project-Bento-New-Bones-Added-to-Second-Life-Avatar/ba-p/2987206 our announcement], Project Bento is adding new bones and attachment points to the avatar skeleton. Bento is now ready for testing!'''
'''Welcome to Project Bento! As we mentioned in [https://community.secondlife.com/t5/Featured-News/Introducing-Project-Bento-New-Bones-Added-to-Second-Life-Avatar/ba-p/2987206 our announcement], Project Bento is adding new bones and attachment points to the avatar skeleton.'''


==What is the test period for? How long will it last?==
'''Project Bento Testing is now Complete!  Project Bento is now Live in all regions on all viewers!'''


The testing period is designed to validate the viewer and the new skeleton, and will continue until we are confident that we have a solid release candidate, at least a few weeks.
== What is Project Bento?? ==


During the course of testing, we will continue working on the Bento project viewer, fixing bugs and addressing other issues encountered during testing. We do not anticipate making further changes to the skeleton or attachments at this point.  
Project Bento is an update to the Second Life Avatar Skeleton which is what allows Second Life Avatars to move and come to life, as well as enabling the creation of more lifelike and intricate rigged mesh attachments.


At the end of the test period, Bento will become a viewer release candidate. Hopefully not long after that, the Bento viewer will be released as the default viewer.
===Bone Updates===


==Where can I find the required test viewer?==
The Project Bento Update added bones to the skeleton to expand rigging and animation support in the following areas:


You'll need the latest project viewer for Bento. It is available on the [[Linden_Lab_Official:Alternate_Viewers|Alternate Viewers]] wiki page.
Facial Area (new)


==Where can we test Bento?==
Spine (additional bones)


Bento testing is happening on the main Second Life grid and the [[Preview_Grid|Aditi Beta Test Grid]], which is completely separate from the Agni "Main Grid".
Hands (new finger bones)


Testing Bento will require uploading and using meshes and animations that take advantage of new joints. It will also allow you to take advantage of new attachment points associated with some of the new joints.
Tail (new)


==How can we test Bento?==
Wings (new)


There are two ways to help with testing Bento:
Hind Legs for Quadruped Avatars (new)
* If you are a content creator, please help us exercise the new skeleton. Create your own meshes and animations for facial animation, hand gestures, wings, tails, and so on! Let us know about any problems you encounter, and share your experiences with other creators in the [https://community.secondlife.com/t5/Building-and-Texturing-Forum/Project-Bento-Feedback-Thread/m-p/2987290#M13915 Creation Forum Thread]
 
* If you are a mesh user, help us test the viewer. Try uploading and using some of the test content. Are there any problems displaying or using it on your system? Do you see a significant impact on performance when using the new skeleton?
A full list of the alterations for the skeleton exists [https://wiki.secondlife.com/wiki/Project_Bento_Skeleton_Guide here.]
 
===Slider System / Shape Updates===
Additionally Project Bento updated the existing avatar shape system to make the adjustment sliders affect these new bones on top of it's previous (unaltered) shape control functionality.
 
'''Scope of slider interactions'''
 
While the updates to the slider system made it so that these new bones move with sliders, it does not override, or affect in any way existing behavior on the default Linden Avatar head and hands. The default Linden Avatar depends on ''morph targets'' to perform hand poses and facial expressions.  This is a completely different system from using ''bone based rigging'' on mesh attachments worn in the same regions of the body (which is what Project Bento adds support for). While these two systems are affected ''similarly'' by slider manipulation by design, it is good to keep in mind that it is an approximation, and only that.  It is fundamentally impossible to exactly mimic the motion of a morph target based system with a bone based rigging system.  For example : sliders will affect a mesh attachment head differently than it affects the Linden Avatar head.  This is unavoidable due to how both systems differ mechanically.
 
===Animation File Updates===
On top of additional bones and slider integration, Project Bento also increased the maximum allowable size of animation files, and also removed the restriction on BVH animation file uploads that prevented translation based bone movement.
 
===Partial Skeletons===
Upload of rigged content no longer needs all the bones specified in the DAE file for convenience purposes. For rigged content, simply omitting unused/missing bones from the skinning data is now is allowed.


== Caveats & Best Practices ==
== Caveats & Best Practices ==


*Due to the restrictions of the pre-existing Second Life Animation System. Playing animations that affect bone scale will (continue to) not work with Project Bento, however the slider system has been incorporated to adjust bone positions and bone scale.
*Due to the restrictions of the pre-existing Second Life Animation System. Playing animations that affect bone scale will (continue to) not work with Project Bento, however the slider system has been incorporated to adjust bone positions and bone scale.
*Any slider controls that affect the position ( translation ) of a specific bone will be overridden if the user plays an animation that moves that bone.  Since presently the animation system has no means of knowing the positional offset that the slider is providing, that animation will be played based off of the bones natural ( pre-slider adjustment ) position.  However the influence of the affected bones scale will not be altered.
*Any slider controls that affect the position ( translation ) of a specific bone will be overridden if the user plays an animation that moves that bone.  Since presently the animation system has no means of knowing the positional offset that the slider is providing, that animation will be played based off of the bones natural ( pre-slider adjustment ) position.  However the slider's influence on the affected bones scale will not be altered, as animations presently cannot affect bone scale.


Because of the above two restrictions it is ill advised, to mix content where you want the translation based sliders to work with translation based animations. Because the animation will always override the slider.
Because of the above two restrictions it is ill advised, to mix content where you want the translation based sliders to work with translation based animations. Because the animation will always override the slider.
Line 37: Line 50:
This was the best practical alternative to simply not allowing translation based animations at all due to the possibility of them overriding sliders.  The community asked for the ability to have translation/position based animations available for greater creative control and it was agreed upon that suffering the confusion from this conflict of behavior was still an overall gain.
This was the best practical alternative to simply not allowing translation based animations at all due to the possibility of them overriding sliders.  The community asked for the ability to have translation/position based animations available for greater creative control and it was agreed upon that suffering the confusion from this conflict of behavior was still an overall gain.


== Current Test Content ==
Prior to Project Bento, rigging to attachment points was never formally supported, and was strongly discouraged, as once an animation stops playing it often leaves the attachment points in a deformed location that is very difficult for a resident to understand.  With the addition of Project Bento, meshes rigged to Attachment points ''may be rejected by the server''  since one of the primary reasons for the addition of these new bones was to discourage this process.


=== Models ===
== Current Content & Resources ==
 
=== Models & Skeleton Files / Test Content ===


Note: to add new test content to the wiki, you can first attach it to [https://jira.secondlife.com/browse/BUG-10981 BUG-10981], then post a link to that attachment in the wiki. The wiki does not allow attaching most file formats directly.
Note: to add new test content to the wiki, you can first attach it to [https://jira.secondlife.com/browse/BUG-10981 BUG-10981], then post a link to that attachment in the wiki. The wiki does not allow attaching most file formats directly.
Line 47: Line 62:
The following model files are compatible with the current project viewer, as of 2016-07-14, and should work with currently implemented sliders. Includes weighting to the new mFaceJawShaper bone.
The following model files are compatible with the current project viewer, as of 2016-07-14, and should work with currently implemented sliders. Includes weighting to the new mFaceJawShaper bone.


* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/collada/female_2016_08_05.dae.zip human female] (August 5, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/collada/female_2016_08_05.dae.zip human female] (August 5, 2016) (attention, this rig is broken)
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/collada/male_2016_08_05.dae.zip human male] (August 5, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/collada/male_2016_08_05.dae.zip human male] (August 5, 2016)
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/collada/angel_2016_08_05.dae.zip angel] (August 5, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/collada/angel_2016_08_05.dae.zip angel] (August 5, 2016)


'''Maya (ma) files''':
'''Maya (ma) files''':
Line 55: Line 70:
These are also current with the skeleton of July 14, 2016:
These are also current with the skeleton of July 14, 2016:


* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/maya/MayaBentoFemaleAugust2016.ma.zip maya human female] (August 17, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/maya/MayaBentoFemaleAugust2016.ma.zip maya human female] (August 17, 2016)
(NOTE: Standard Skeleton with bone located in standard positions determined by the avatar_skeleton.xml file.)
(NOTE: Standard Skeleton with bone located in standard positions determined by the avatar_skeleton.xml file.)
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/maya/MayaBentoMaleAugust2016.ma.zip maya human male] (August 17, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/maya/MayaBentoMaleAugust2016.ma.zip maya human male] (August 17, 2016)
(NOTE: Standard Skeleton with bone located in standard positions determined by the avatar_skeleton.xml file.)
(NOTE: Standard Skeleton with bone located in standard positions determined by the avatar_skeleton.xml file.)


'''FBX files''':
'''FBX files''':


* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/fbx/FBXBentoFemaleSeptember2016.fbx fbx human female] (September 10, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/fbx/FBXBentoFemaleSeptember2016.fbx fbx human female] (September 10, 2016)
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/models/fbx/FBXBentoMaleSeptember2016.fbx fbx human male] (September 10, 2016)
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/models/fbx/FBXBentoMaleSeptember2016.fbx fbx human male] (September 10, 2016)


These are based on the Maya files above.
These are based on the Maya files above.
Line 71: Line 86:
All files are saved as 3dsmax2012 files, if your version predates this, they probably won't load.
All files are saved as 3dsmax2012 files, if your version predates this, they probably won't load.


"Basic" skeleton files contain no additional nodes and will not work for advanced control rigs and animation export, but are simpler, contain less clutter and might be ideal for simple rigging&skinning work.  However bone rotation axis will not behave ideally for animations.  Non "basic" skeleton files have nodes oriented in a manner that will make joints move on their local axis.  This is particularly useful for mimicing animation in parts of the bento skeleton such as the hands and face.
"Basic" skeleton files contain no additional nodes and will not work for advanced control rigs and animation export, but are simpler, contain less clutter and might be ideal for simple rigging&skinning work.  However bone rotation axis will not behave ideally for animations.


Normal Rigs have additional nodes for ease of use with animations, but animation must be done on "mBoneName_DRV" point helper nodes instead of the bones directly.
"Normal/Animation" Rigs have additional nodes for ease of use with animations, but animation must be done on "mBoneName_DRV" point helper nodes instead of the bones directly. These skeleton files have nodes oriented in a manner that will make joints rotate on their local axis.  This is particularly useful for mimicing animation in parts of the bento skeleton such as the hands and face where the bone is not aligned with an axis ( perpendicular to other things in the scene ).  Hopefully these skeleton rigs will help understanding of the new joints.


For both skeletons the mesh skinning and rigging should be done to the mBoneName or "collision volume" (fitmesh) bones / dummies only. All skeletons are default (female) bone positions ONLY.
For both skeletons ( both "basic" and "animation" ) the mesh skinning and rigging should be done to the mBoneName or "collision volume" (fitmesh) bones / dummies only. All skeletons are default (female) bone positions ONLY.


* [https://bitbucket.org/polysail/bento-max2012-skeletons/raw/bc20e9c13a37b6d834ce92b63339f911f08c2e5b/BentoBones_BonesOnly_2012.max basic skeleton bone nodes] (December 26, 2016)
* [https://bitbucket.org/polysail/bento-max2012-skeletons/raw/bc20e9c13a37b6d834ce92b63339f911f08c2e5b/BentoBones_BonesOnly_2012.max basic skeleton bone nodes] (December 26, 2016)
Line 84: Line 99:
Dec, 2016 update fixes minor rotation issues in the collision volume bones that existed in the initial August 2016 posting.
Dec, 2016 update fixes minor rotation issues in the collision volume bones that existed in the initial August 2016 posting.


=== Animations ===
=== Test Animations ===
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/animations/anim/bento_randomize_bones_and_attachments.anim scramble the positions] of all bones and attachments
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/animations/anim/bento_randomize_bones_and_attachments.anim scramble the positions] of all bones and attachments
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/animations/anim/bento_reset_bones_and_attachments.anim reset the positions] of all bones and attachments to the default.
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/animations/anim/bento_reset_bones_and_attachments.anim reset the positions] of all bones and attachments to the default.


=== Tools ===
=== Animation Export Tools ===


* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/tools/maya/Maya_BVH_Export_Bento_Project.mel Maya BVH exporter] - mel script
'''Maya'''
* [https://bitbucket.org/lindenlab/sl-sample-content/raw/tip/tools/maya/maya_bvh_export_instructions.txt Maya BVH exporter instructions] - text file
 
The following tools are used for export of BVH animation files from Autodesk Maya Software.  The exporter was authored by Aura Linden and is available for free below.
 
It works ideally with the skeleton included in [https://marketplace.secondlife.com/p/MayaStar-Plugin-System-for-Maya-Autodesk/5454253 Mayastar], maintained by Cathy Foil.  But should be able to be used as a standalone script as well.
 
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/tools/maya/Maya_BVH_Export_Bento_Project.mel Maya BVH Animation Exporter] - mel script --'''Note: when animating in Maya for export, orient your skeleton in Y+ up , X+ forward orientation.'''
* [https://bitbucket.org/lindenlab/secondlife-creator-resources/raw/master/tools/maya/maya_bvh_export_instructions.txt Maya BVH exporter instructions] - text file
 
'''Blender'''
 
While blender does not have any freely available animation exporters specifically for Second Life, it has an excellently maintained plugin package known as [https://blog.machinimatrix.org/avastar/ Avastar] maintained by Gaia Clary.
 
'''3DSMax'''
 
Autodesk 3D Studio Max presently does not have any publicly available animation exporters.  However, polysail resident is presently working on a plugin that will do so.  Completion date is TBD.


=== Reference ===
=== Reference ===
Line 97: Line 126:
* Some helpful models to show the locations of various types of bones can be found at https://marketplace.secondlife.com/p/Avatar-Testing-and-Visualization-Kit/9842033
* Some helpful models to show the locations of various types of bones can be found at https://marketplace.secondlife.com/p/Avatar-Testing-and-Visualization-Kit/9842033


== Scale Locking Test Viewer ==
== Scale Locking Option ==


There is a proposed feature and a test viewer to allow uploaded models to optionally lock some of their joints' scales. Some info on this that was originally posted on the forum thread (reposted here to make it easier to find):
With Project Bento, the option to have an uploaded mesh attachment completely ignore all slider input was also added.


We have had some discussions in the past about possibly adding the ability to override the scale as well as position for joints in uploaded mesh models. A joint with both position and scale overrides would be effectively "slider-proof" - no sliders that affect the joint would have any effect on the model. This may be useful for content creators who want to control their avatar mesh shape exactly, without being affected by the standard customization options.  
When you upload a model beneath the standard "Include skin weight" and "Include joint positions" check boxes, there is now an additional check box for "Lock scale if joint position defined". If you check this box, then any joint that has a position defined will also have its scale locked. Scale locking will be enforced whenever a joint would normally be scaled by a slider thus "immunizing" it to all slider influence.
To make a bone truly slider-proof, you will have to pay attention to the joint hierarchy. Any change to the scale of a parent bone will also cause the child bone to move, so you will have to make sure the bone's ancestors also have joint positions defined. A joint position will be ignored unless it differs from the bone's default location by at least 0.1 mm (ie, 0.0001 m in the units used by the skeleton definition file). If you want to lock a joint without changing its position, use a very small offset that will not be large enough to have a visual effect (some fraction of a mm).


A proof of concept build for this can be found here: http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/bento-box-scale-override-proof-of-concept/rev/319431/index.html
This feature was primarily included to assist with making "animated attachments" that re-purpose bone sets, such as the hind legs, wings or tail into pets or weapon attachments. Ideally such attachments would not want slider influences due to the fact that the bones comprising them are "borrowed" from another part of the body.


When you upload a model using this test viewer, under the standard "Include skin weight" and "Include joint positions" check boxes, this build provides an additional check box for "Lock scale if joint position defined". If you check this box, then any joint that has a position defined will also have its scale locked. Scale locking will be enforced whenever a joint would normally be scaled by a slider.
To make a bone truly slider-proof, you will have to pay attention to the joint hierarchy. Any change to the scale of a parent bone will also cause the child bone to move, so you will have to make sure the bone's ancestors also have joint positions defined. A joint position will be ignored unless it differs from the bone's default location by at least 0.1 mm (ie, 0.0001 m in the units used by the skeleton definition file). If you want to lock a joint without changing its position, use a very small offset that will not be large enough to have a visual effect (some fraction of a mm).


If you get a chance to try this out, please let us know what you think! Any feedback about the design of feature or bugs encountered would be very helpful.
==Reset Skeleton Menu Option [Viewer]==
Note that this is just a test build to help with discussion of the feature. It may or may not make it into Bento in this form, or any other form.
With the addition of Project Bento a new menu option was added to the viewer.  If you Right-Click another avatar the option to "''Reset Skeleton''" will appear, along with it's cousin "''Reset Skeleton and Animations''".  This added functionality provides any resident the ability to attempt to visually fix another avatar that looks deformed on their screen.
 
  '''Note this option does not send any data to the server.  This means that if you use "Reset Skeleton" on a deformed avatar ( including yourself ) that currently does NOT perform this action for everyone else viewing the deformed avatar.'''
 
This was done because visibly deformed avatars aren't always deformed universally.  The logic for why this is is long and complex, involving the mechanics of how avatars are loaded.  This feature isn't a fix-all, but is a great alternative to completely logging out of the client and reconnecting, which, prior to this update, used to be the only reliable way to resolve this sort of issue.
 


==I found a problem? How can I give feedback?==
==I found a problem? How can I give feedback?==


# Submit bugs in Jira in the BUG project: please put [Bento] in the summary line.
As always if you discover an undocumented bug please report it at [https://jira.secondlife.com/ Second Life JIRA] with the tag [BENTO] in the summary line for it to be properly addressed!


If you have a display problem, please try with hardware skinning enabled and disabled
If you have a display problem, please test to see if there is a difference with with hardware skinning Enabled and Disabled
:Me->Preferences->Graphics->Advanced->Avatar Rendering->Hardware skinning checkbox
:Me->Preferences->Graphics->Advanced->Avatar Rendering->Hardware skinning checkbox
Does changing that setting affect the display?

Latest revision as of 15:39, 31 August 2020

Welcome to Project Bento! As we mentioned in our announcement, Project Bento is adding new bones and attachment points to the avatar skeleton.

Project Bento Testing is now Complete! Project Bento is now Live in all regions on all viewers!

What is Project Bento??

Project Bento is an update to the Second Life Avatar Skeleton which is what allows Second Life Avatars to move and come to life, as well as enabling the creation of more lifelike and intricate rigged mesh attachments.

Bone Updates

The Project Bento Update added bones to the skeleton to expand rigging and animation support in the following areas:

Facial Area (new)

Spine (additional bones)

Hands (new finger bones)

Tail (new)

Wings (new)

Hind Legs for Quadruped Avatars (new)

A full list of the alterations for the skeleton exists here.

Slider System / Shape Updates

Additionally Project Bento updated the existing avatar shape system to make the adjustment sliders affect these new bones on top of it's previous (unaltered) shape control functionality.

Scope of slider interactions

While the updates to the slider system made it so that these new bones move with sliders, it does not override, or affect in any way existing behavior on the default Linden Avatar head and hands. The default Linden Avatar depends on morph targets to perform hand poses and facial expressions. This is a completely different system from using bone based rigging on mesh attachments worn in the same regions of the body (which is what Project Bento adds support for). While these two systems are affected similarly by slider manipulation by design, it is good to keep in mind that it is an approximation, and only that. It is fundamentally impossible to exactly mimic the motion of a morph target based system with a bone based rigging system. For example : sliders will affect a mesh attachment head differently than it affects the Linden Avatar head. This is unavoidable due to how both systems differ mechanically.

Animation File Updates

On top of additional bones and slider integration, Project Bento also increased the maximum allowable size of animation files, and also removed the restriction on BVH animation file uploads that prevented translation based bone movement.

Partial Skeletons

Upload of rigged content no longer needs all the bones specified in the DAE file for convenience purposes. For rigged content, simply omitting unused/missing bones from the skinning data is now is allowed.

Caveats & Best Practices

  • Due to the restrictions of the pre-existing Second Life Animation System. Playing animations that affect bone scale will (continue to) not work with Project Bento, however the slider system has been incorporated to adjust bone positions and bone scale.
  • Any slider controls that affect the position ( translation ) of a specific bone will be overridden if the user plays an animation that moves that bone. Since presently the animation system has no means of knowing the positional offset that the slider is providing, that animation will be played based off of the bones natural ( pre-slider adjustment ) position. However the slider's influence on the affected bones scale will not be altered, as animations presently cannot affect bone scale.

Because of the above two restrictions it is ill advised, to mix content where you want the translation based sliders to work with translation based animations. Because the animation will always override the slider. For a list of all the bones that are influenced by sliders that adjust their position refer to this : https://wiki.secondlife.com/wiki/Project_Bento_Skeleton_Guide#Bones_Currently_Affected_By_Positional_Sliders

This was the best practical alternative to simply not allowing translation based animations at all due to the possibility of them overriding sliders. The community asked for the ability to have translation/position based animations available for greater creative control and it was agreed upon that suffering the confusion from this conflict of behavior was still an overall gain.

Prior to Project Bento, rigging to attachment points was never formally supported, and was strongly discouraged, as once an animation stops playing it often leaves the attachment points in a deformed location that is very difficult for a resident to understand. With the addition of Project Bento, meshes rigged to Attachment points may be rejected by the server since one of the primary reasons for the addition of these new bones was to discourage this process.

Current Content & Resources

Models & Skeleton Files / Test Content

Note: to add new test content to the wiki, you can first attach it to BUG-10981, then post a link to that attachment in the wiki. The wiki does not allow attaching most file formats directly.

Collada (dae) files:

The following model files are compatible with the current project viewer, as of 2016-07-14, and should work with currently implemented sliders. Includes weighting to the new mFaceJawShaper bone.

Maya (ma) files:

These are also current with the skeleton of July 14, 2016:

(NOTE: Standard Skeleton with bone located in standard positions determined by the avatar_skeleton.xml file.)

(NOTE: Standard Skeleton with bone located in standard positions determined by the avatar_skeleton.xml file.)

FBX files:

These are based on the Maya files above.

3ds Max (max) files

All files are saved as 3dsmax2012 files, if your version predates this, they probably won't load.

"Basic" skeleton files contain no additional nodes and will not work for advanced control rigs and animation export, but are simpler, contain less clutter and might be ideal for simple rigging&skinning work. However bone rotation axis will not behave ideally for animations.

"Normal/Animation" Rigs have additional nodes for ease of use with animations, but animation must be done on "mBoneName_DRV" point helper nodes instead of the bones directly. These skeleton files have nodes oriented in a manner that will make joints rotate on their local axis. This is particularly useful for mimicing animation in parts of the bento skeleton such as the hands and face where the bone is not aligned with an axis ( perpendicular to other things in the scene ). Hopefully these skeleton rigs will help understanding of the new joints.

For both skeletons ( both "basic" and "animation" ) the mesh skinning and rigging should be done to the mBoneName or "collision volume" (fitmesh) bones / dummies only. All skeletons are default (female) bone positions ONLY.

Dec, 2016 update fixes minor rotation issues in the collision volume bones that existed in the initial August 2016 posting.

Test Animations

Animation Export Tools

Maya

The following tools are used for export of BVH animation files from Autodesk Maya Software. The exporter was authored by Aura Linden and is available for free below.

It works ideally with the skeleton included in Mayastar, maintained by Cathy Foil. But should be able to be used as a standalone script as well.

Blender

While blender does not have any freely available animation exporters specifically for Second Life, it has an excellently maintained plugin package known as Avastar maintained by Gaia Clary.

3DSMax

Autodesk 3D Studio Max presently does not have any publicly available animation exporters. However, polysail resident is presently working on a plugin that will do so. Completion date is TBD.

Reference

Scale Locking Option

With Project Bento, the option to have an uploaded mesh attachment completely ignore all slider input was also added.

When you upload a model beneath the standard "Include skin weight" and "Include joint positions" check boxes, there is now an additional check box for "Lock scale if joint position defined". If you check this box, then any joint that has a position defined will also have its scale locked. Scale locking will be enforced whenever a joint would normally be scaled by a slider thus "immunizing" it to all slider influence. To make a bone truly slider-proof, you will have to pay attention to the joint hierarchy. Any change to the scale of a parent bone will also cause the child bone to move, so you will have to make sure the bone's ancestors also have joint positions defined. A joint position will be ignored unless it differs from the bone's default location by at least 0.1 mm (ie, 0.0001 m in the units used by the skeleton definition file). If you want to lock a joint without changing its position, use a very small offset that will not be large enough to have a visual effect (some fraction of a mm).

This feature was primarily included to assist with making "animated attachments" that re-purpose bone sets, such as the hind legs, wings or tail into pets or weapon attachments. Ideally such attachments would not want slider influences due to the fact that the bones comprising them are "borrowed" from another part of the body.


Reset Skeleton Menu Option [Viewer]

With the addition of Project Bento a new menu option was added to the viewer. If you Right-Click another avatar the option to "Reset Skeleton" will appear, along with it's cousin "Reset Skeleton and Animations". This added functionality provides any resident the ability to attempt to visually fix another avatar that looks deformed on their screen.

 Note this option does not send any data to the server.  This means that if you use "Reset Skeleton" on a deformed avatar ( including yourself ) that currently does NOT perform this action for everyone else viewing the deformed avatar.

This was done because visibly deformed avatars aren't always deformed universally. The logic for why this is is long and complex, involving the mechanics of how avatars are loaded. This feature isn't a fix-all, but is a great alternative to completely logging out of the client and reconnecting, which, prior to this update, used to be the only reliable way to resolve this sort of issue.


I found a problem? How can I give feedback?

As always if you discover an undocumented bug please report it at Second Life JIRA with the tag [BENTO] in the summary line for it to be properly addressed!

If you have a display problem, please test to see if there is a difference with with hardware skinning Enabled and Disabled

Me->Preferences->Graphics->Advanced->Avatar Rendering->Hardware skinning checkbox