Introduce BVH export option to sort bone child node name appearances #105120
No reviewers
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#105120
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Pierce-Brooks/blender-addons:plb/bvh-export-sort"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When an armature object is exported into the BVH format, the order of appearance of each bone's child nodes is determined by the order in which they were originally created or imported. This can be a problem for downstream asset consumption by technical animators for tasks like retargeting in certain project pipelines because the structure of the motion data expressed by a BVH file is dependent on the ordering of the transformation delta channels as specified by those corresponding joints.
My solution to this issue is to introduce a new checkbox option into the menu for exporting with the BVH format which will allow any user to decide whether to sort bone children by their node names alphabetically. In addition to addressing what has been described above, if other tools are in use besides Blender in such an environment, this feature can allow for multiple comparable skeletons to have their hierarchy expression order unified through Blender across a variety of different sets of motion data. Yet another resolution is detailed in a forum post below...
https://blenderartists.org/t/how-does-one-reorder-child-bones-within-an-armature/684994/3
The present solution is limited in that it does not provide any greater customization of the sorting option, but rather only supports sorting alphabetically.
Attached is a screenshot sample of the current implementation of this new feature's interface.
Checkout
From your project repository, check out a new branch and test the changes.