import absolute/relative pose doesn't work

Issue #1286 resolved
Alessandro Padovani created an issue

daz studio 4.21.0.5, blender 3.3.1, diffeomorphic 1.7.0.1294

This is reported in the daz forum. It seems there’s some confusion with the figure location when a pose is imported. In daz studio we can save a pose as absolute or relative by saving the general transforms or not.

If the pose is absolute (with general transforms) then the figure location is overwritten when we load the pose. A absolute pose is generally used to include the figure location inside a specific scene.

If the pose is relative (without general transforms) then the figure location is not changed when we load the pose. So the artist can locate the figure anywhere in the scene then load the pose.

The plugin seems to ignore this behavior. Specifically a relative pose always sets the figure location to zero, unless the figure location is keyframed. On the other side a absolute pose seems to be ignored, that is, the bones pose is changed but the figure location is not.

https://www.daz3d.com/forums/discussion/607461/

I included two poses for testing, g8f-relative.duf that only includes the armature transformations, and g8f-absolute.duf that also includes the object transformation. You can compare them in daz studio and blender.

steps:

  1. import G8F
  2. import a test pose

note. important. Please note that daz studio has both a object “Genesis 8 Female“ location and a master bone “Hip“ location in the pose preset. The object location should be keyframed in object mode in blender, while the armature location should be keyframed in pose mode in blender. Then import pose provides various options to handle the figure location as object or master bone but they don’t seem to work for relative/absolute poses.

Let me know if something is not clear I’ll try to explain better or make better examples.

Comments (10)

  1. Alessandro Padovani reporter

    note. Apart from loading the figure location as object or master bone, we may add an option to ignore the figure location, this would allow to use a absolute pose as relative. In daz studio we can do this by pressing ctrl when loading a pose, that will bring a options dialogue where we can turn off the location to load a absolute pose as relative.

  2. Thomas Larsson repo owner

    Fixed in last commit.

    It is already possible to ignore the figure translation. Set Object Transformation Affect = None.

  3. Alessandro Padovani reporter

    Commit 61611e8 works almost fine. There is an inconsistency with the relative pose.

    If we load the relative pose with transform = none then the figure stays in place where the user located her.

    If we load the relative pose with transform = object then the figure goes to zero location, that shouldn’t happen since the object location is not defined in the relative pose. This doesn’t happen though if the figure location is keyframed. But it’s inconsistent with transform = none that works fine with and without keyframes.

    The absolute pose works fine.

  4. Thomas Larsson repo owner

    The pose was always cleared before loading a new one, including the object transform. The latest commit makes pose clearing optional, just like morph clearing is optional in Import Expression. If clear pose is off the relative pose does not move the object.

  5. Alessandro Padovani reporter

    As for commit dd501f8.

    The figure pose has never to be cleared, only the channels in the pose duf file have to be overwritten, the others have to be left with their values. For example in daz studio I can do a pose for the arm, when I load the pose the figure will keep her current pose apart the arm that has channels in the duf file.

    Anyway the “clear pose” option doesn’t seem to work, that is, even if I check “clear pose“ it is not cleared. Unless I misunderstand what “clear pose“ is for.

    steps:

    1. Import G8F.
    2. Load any pose with auto-keying.
    3. Load the g8f-arm.duf test pose with “clear pose“ and auto-keying, the figure pose is not cleared.

    edit. Ok I see that “clear pose” only works if the pose is not keyframed. If the pose is keyframed then “clear pose“ doesn’t work. This is even more confusing, personally I’d either remove the “clear pose” option or make it always work.

  6. Alessandro Padovani reporter

    Commit f1cb159 is still buggy.

    @Thomas please fix “clear pose“ so we can close this one as resolved. Steps as above.

    bug. The “clear pose” option in import pose only works if the pose is not keyframed. While the “clear pose” button in the posing panel works fine. Either make them both work or remove the option in import pose, so the user will use the working button.

    Or let me know if I miss something so I’ll close as invalid.

  7. Log in to comment