optimization for pose library ?

Issue #1357 resolved
Alessandro Padovani created an issue

daz studio 4.21.0.5, blender 3.4.1, diffeomorphic 1.7.0.1383

This is related to #1353 but not quite the same. I made a pose library with “import pose library“ with the Base Poses for G8F that are included in the G8F base package, and I noticed that the blend file was 22M vs 2M of the daz folder. This after I deleted everything but the armature so the scene is as simple as possible.

Now I’m not really concerned with the file size that’s acceptable, but if I look at the generated actions in the blend file I see that any sort of keyframes are stored for all the bones. Now I believe we could store only the channels that are keyframed in the daz pose, that are typically location and rotation for the bones, plus scale unless the user ignores it in the pose options.

Also because the blender pose library is supposed to work only for the armature poses, it will not affect morphs as a daz pose can do.

Then if I apply a pose from the generated blender library to a G8F figure, I see that the location and rotation locks are keyframed as well. Again this is not necessary nor expected. Plus it prevents the user from using the lock buttons in the pose panel that actually will not work for keyframed values.

Also this is related to #1218 where I’m noticing that locks and scale are not keyframed while they should to work in animation.

Comments (7)

  1. Alessandro Padovani reporter

    disclaimer. I’m not an expert at all as for blender pose libraries and I don’t use them so may be I miss something. The above is just from common sense. Let me know what you think I’ll close as invalid if there’s no need for this.

  2. Alessandro Padovani reporter

    Commit 34433a6 seems to work fine. There’s something I don’t understand. The generated actions are fine they only store location and rotation, eventually scale if the user checks it in the pose dialog. But when I apply the pose via the pose library then scale and locks keyframes are always generated, even if there’s no scale and locks in the action, even if the active keying set is location and rotation.

    As I don’t use pose libraries myself this could be something I miss, may be there’s just some settings to check. Please let me know what you think I can mark as resolved if there’s nothing to add.

  3. Alessandro Padovani reporter

    update. It’s my fault I forgot to check “only active keying set“ when applying the pose. Now everything works as expected. Still not sure why scale and locks are generated otherwise.

    If there’s nothing to add I’ll mark as resolved.

  4. Log in to comment