blender-to-gmstudio / blender-to-smf

Import-Export of Blender model from/to SMF model format
MIT License
10 stars 2 forks source link

Deform bones and Deform bones only #28

Open bartteunis opened 2 years ago

bartteunis commented 2 years ago

Blender bones have a property deform that determines if the bone deforms any vertices/geometry.\ The SMF exporter currently doesn't do anything with that info though it should be straightforward and a fairly simple addition to set the weights to zero for those bones that have deform set to False.

Idea taken from the Collada exporter's Deform Bones Only as described under Armature Options.\ Exporting only deform bones may be another interesting thing to add.

bartteunis commented 2 years ago

See also the FBX exporter under Armatures. It seems to have the same export option.

bartteunis commented 2 years ago

The glTF exporter has an export option called Export Deformation Bones Only under Animation. It doesn't seem to be documented (yet).

bartteunis commented 1 year ago

To look into for this issue:

bartteunis commented 1 year ago

Some other things to look into (general Blender armatures, Rigify setups, etc.):

bartteunis commented 1 year ago

After some first testing it turns out that the hierarchy for a more complex setup could either be: