Clothing not fitting as expected after posing

Issue #765 resolved
Jason Weise created an issue

I’ve noticed with a particular scene I am working on that clothing such as bikini bottoms are having an issue with “fitting” after applying a pose to the character.

I have had a look at the morphs in Daz and there are a bunch of JCM’s that appear to be applied to the clothes as well that don’t appear to come across to Blender. When I try to “transfer” the blend shapes from the G8.1 body to the clothing it fails with an error.

The issue seems to be more pronounced in sitting positions where the bikini bottoms disappear into the body in the crotch area (having tested the exact same pose in Daz the bikini bottoms seem to reconform and all is good)

Has anyone experienced anything similar and have a solution? Could it be because the JCM’s are not applied to the clothing (in this case the bikini bottoms) and when posing they don’t deform as expected?

Thanks in advance for any advice you might be able to shoot my way

Comments (5)

  1. Thomas Larsson repo owner

    Could you describe the transfer error. In particular the output in the terminal window.

  2. Jason Weise reporter

    Hi Thomas

    Sure thing the error is as follows:

    Python: Traceback (most recent call last):
    File "C:\Users\Jason\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import_daz-57a7b8036ae4\error.py", line 208, in execute
    self.run(context)
    File "C:\Users\Jason\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import_daz-57a7b8036ae4\transfer.py", line 267, in run
    failed = self.transferAllMorphs(context, src, targets)
    File "C:\Users\Jason\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import_daz-57a7b8036ae4\transfer.py", line 286, in transferAllMorphs
    if not self.transferMorphs(src, trg, context):
    File "C:\Users\Jason\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import_daz-57a7b8036ae4\transfer.py", line 347, in transferMorphs
    self.correctForRigidity(trg, cskey)
    File "C:\Users\Jason\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Diffeomorphic-import_daz-57a7b8036ae4\transfer.py", line 408, in correctForRigidity
    raise RuntimeError("Not yet implemented: Rigidity rotmode = %s" % rotmode)
    RuntimeError: Not yet implemented: Rigidity rotmode = primary

    location: <unknown location>:-1

    I am using the Crochet Bikini Bottom and it doesn’t seem to be able to have any corrective morphs come across of be transferred (I even tried Easy Mode).

    I have also noticed that the “gens” also poke through in Blender yet fit perfectly behind the bikini bottoms in Daz (with the correct collision settings of course). Is it expected that the bottoms should “conform” exactly as they do in Blender?

  3. Jason Weise reporter

    Ok so I think I have figured out the “why” to my last comment above:

    I have also noticed that the “gens” also poke through in Blender yet fit perfectly behind the bikini bottoms in Daz (with the correct collision settings of course). Is it expected that the bottoms should “conform” exactly as they do in Blender?

    Daz Studio is recalculating the collisions after posing so reshaping the groin area on the bikini bottoms so they fit properly, this naturally doesn’t happen in Blender.

    Has anyone managed to come up with a way to “reconform” tight fitting clothing in Blender after posing so it can closely match to how it fits in Daz without the genital area poke through?

  4. Thomas Larsson repo owner

    The error about the unimplemented rotation mode has been eliminated, so the shapekeys are now successfully transferred to the clothes. However, I don’t know what the rotation mode does and simply ignore it, so perhaps something is missed. The result in this case looks fine, though.

    To avoid that skin pokes through clothes I use the tools in the Visibility section. Add Shrinkwrap probably works best in this case, since it is difficult to create a good mask which covers the area under the bikini but nothing outside.

    Another possibility is to create two versions of your character, one nude with genitals and one dressed without, and use different ones in different scenes.

  5. Log in to comment