Issue When Trying to Change Armatures for Clothes

Issue #1177 invalid
Zack Johnson created an issue

I am trying to use this method: https://diffeomorphic.blogspot.com/2021/07/changing-outfits.html to point the JCMs on imported clothing to my existing character armature, but I receive the following error:

Any idea what’s going wrong?

My process is:

  1. Import the clothing using DAZ import
  2. Merge rigs
  3. Import standard morphs (only choose JCMs and Flexions)
  4. Transfer shapekeys from the body mesh to the clothing
  5. Optimize pose for ik, apply pose
  6. Convert to rigify

Then, I open my existing nude character .blend and append the clothing from the previous file. Using the “Change Armature” function works fine - it parents the clothing to the Character armature and changes the target of all the armature modifiers to the correct Armature. However, when I try to transfer the shapekeys from my nude character mesh to the clothing, I get the error in the picture above.

Comments (3)

  1. Thomas Larsson repo owner

    Have you edited your character in some way? The tool converts the character mesh to pure triangles before doing the transfer, and the error indicates that the resulting mesh is corrupt. Perhaps a stray vertex, although I couldn’t trigger the error myself. If you upload your blend file I can have a look.

    Btw, that code appears on a different line in the dev version, although I don’t think that that matters here.

  2. Zack Johnson reporter

    Hi,

    Yes I did some sculpting to smooth the area around the geograft on the nude model. Is there another way to point the JCMs to a new armature? I liked the old way because I could add new clothing to my character even after I had made changes to the base mesh.

  3. Log in to comment