makehumancommunity / makehuman

This is the main repository for the MakeHuman application as such.
http://www.makehumancommunity.org
Other
1.18k stars 244 forks source link

Fix some exporter inheritance mistakes and add more BVH export options #237

Open PierceLBrooks opened 5 months ago

PierceLBrooks commented 5 months ago

This pull request will resolve some confusion surrounding the "Feet On Ground" export option for various asset file formats, as well as introduce extra options when exporting the animation/pose skeleton as BVH. This includes the exposure of "Dummy Joints" which before were always enabled by default, therefore unconditionally guaranteeing that the automated joint name retargeting procedure for whichever template was selected by the user will never yield discontiguous bones. Users should ideally be able to elect whether to exclude dummy joints, whose names feature a double under-score "__" prefix which can disrupt parity with certain skeleton templates such as the one for CMU motion capture data, and so it has been addressed here. Additionally, for the convenience of working within a project pipeline where animators must share motion data between different armatures in other tools outside the context of MakeHuman itself, a "Sort Joint Children By Name" option is also introduced so that the order of appearance for each child of a given joint node in the resultant BVH data is deterministic according to alphabetical sorting.

joepal1976 commented 5 months ago

Thanks. I've looked at this and it seems sensible. I've also done some cursory testing with exporting and opening a pose with and without your changes, and with and with the checkboxes in various states. I see no downsides of this.

I'll just ask someone else in the dev group take a look at it too before merging.