Help with creating clothes using MPFB

Discussions about MakeHuman, Blender and MPFB. It is ok to ask for general Blender support here, even if it isn't directly related to MakeHuman

Help with creating clothes using MPFB

Postby slambfixed93 » Mon Oct 07, 2024 5:24 am

I have been trying to make a pair of pants using MPFB. It is important for the project I am working on to be able to have the mesh scale properly with the body weight.

I design them using the default body shape/size parameters.
pants_default.png
Pants with default parameters



When I change the body to have maximum adipose tissue, the vertices around the intergluteal cleft protrude outward.
pants_adipose.png
Pants with max weight, min muscle


I am vaguely aware of why this might be happening. My question is this: is there anything I can do to prevent this from happening? I have tested this with some of the default MakeHuman assets and noticed that they do not suffer from this issue.

I've read every wiki doc and forum post I could find and have come up with nothing. I've tried changing vertex groups on the clothes mesh only to get similarly distorted results.

Any help would be greatly appreciated.
slambfixed93
 
Posts: 1
Joined: Mon Oct 07, 2024 4:56 am

Re: Help with creating clothes using MPFB

Postby joepal » Mon Oct 07, 2024 7:25 am

My guess is you've matched the clothes vertices with body vertices rather than helper vertices. This will cause deformations which do not look natural for clothes.

The theory here is that you should match vertices against the correct vertex group on the base mesh. Which group that is the most appropriate depends on what you want to achieve, and it's not always easy to figure out which one makes the most sense. It is also important to understand that not all vertices need to be matched to the same group.

The relevant groups in this case are: body, helper-tights and helper-skirt.

The matching is done by creating a group with the same name on the clothes mesh and assigning vertices to it.

My suggestion here would be matching most of the clothes vertices with helper-tights, but then experiment with assigning the vertices in the tricky area with helper-skirt instead. The skirt helpers do not deform in the same way in that area, which might solve your problem.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4625
Joined: Wed Jun 04, 2008 11:20 am

Re: Help with creating clothes using MPFB

Postby joepal » Mon Oct 07, 2024 7:29 am

If it still does not work, there are other strategies for working around the problem. You could then for example create your own vertex group on the base mesh ("myclothes" or something) and only include vertices which do not deform in unwanted ways. Then match the clothes vertices against that group.

For complex scenarios (such as between the legs), often a mix of strategies will give the best results.
Joel Palmius (LinkedIn)
MakeHuman Infrastructure Manager
http://www.palmius.com/joel
joepal
 
Posts: 4625
Joined: Wed Jun 04, 2008 11:20 am


Return to Blender and MPFB

Who is online

Users browsing this forum: No registered users and 1 guest