I tried to make a better fitting version of the jeans that doesn't disappear into the body.
To do this, I opened the file in Blender and viewed the jeans together with a duplicate of the human base model, of which I deleted the skirt helper to give me a reference.
Additionally I created another duplicate of the human character without any helpers, also for reference. I place them on separate layers so I can make them visible or invisible when wanted.
Then I went into edit mode, changed the edit mode to "normal" space. I could then select vertices or faces, press two times "z" to move them outwards along their normals. The picture illustrates this.
I did this first with the low resolution original jeans mesh, but because of it's low detail it was not possible to avoid any face intersections. So I just made sure all vertices were outside the pants helper mesh.
Then I went to subdivision level 2 of the jeans, and repeated the process. You can't edit the subdivided levels directly with the "multires" modifier, but there's a way around it:
- duplicate your mesh (with multires modifier)
- on the duplicate, apply the multires modifier at the wanted level (the level is set on the "preview" slider)
- edit this mesh
- now with this mesh selected, shift+right click the original mesh, that still has the multires modifier in it's stack
- Set the preview slider at the same level as the one applied to the edited mesh
- Now press the "Reshape" button. The changes you made to the edited mesh are applied to that detail level of the mesh
Note that you can only move vertices or faces, you cannot add or delete them. The reshape button just copies the vertex locations.
Got the idea from http://www.3dbuzz.com/vbforum/showthrea ... s-versions
However, the result was no joy. The jeans fits well now and doesn't intersect much anymore, but there's some nasty fitting artifacts now.
I don't know what the cause is. Thomas, I read some commit where you "fixed matching, don't understand how it even worked before". I believe my previous fits were done before this commit. Could this be the cause?
Let's have a look at the results:
The right one is the old jeans I made, which is downloadable. It intersected with the body, but the topology of the jeans itself was kept pretty much intact.
Note how the smoothness and curve of the crotch area is destroyed. The back is a mess too. The area around the top of the jeans always was a little of a problem, but now the edges are really jagged, which is very noticeable in the texturing.
There are also lots of distorted bumps and holes.
Also note how the middle area between the legs, vertices that were added to the Mid vertgroup, is sticking out downward a lot.
The old fit was done on both helpers and body, the new one only on the helpers. I also tried fitting on both body and helpers again, but it's bad too. It's a little better in the crotch area, which is smoother, but there's lots of strange bumps too, and the upper edges are even more jagged.
Fitting the original low resolution also illustrates the problem where the smooth curve at the crotch is gone and changed with a dark shadow:
There could of course be some other reasons why it didn't work as it should. I used the default vertex grouping using auto groups, with Mid, left and right both on human mesh and clothes.
I corrected vert grouping of the jeans a bit manually to only include the edgeloop going through the middle.
The old version was made with only left and right groups.
Bottom line is, I fixed one problem, and got a lot more in return .