- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Body Shop >
- Body Shop - Meshing >
- How do I fix the clipping hands in Milkshape and the pink shirt texture bleeding into the jacket?
- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Body Shop >
- Body Shop - Meshing >
- How do I fix the clipping hands in Milkshape and the pink shirt texture bleeding into the jacket?
Replies: 14 (Who?), Viewed: 3325 times.
#1
20th May 2018 at 2:39 AM
Last edited by Squidconqueror : 21st May 2018 at 6:38 AM.
Posts: 1,073
Thanks: 134 in 4 Posts
How do I fix the clipping hands in Milkshape and the pink shirt texture bleeding into the jacket?
I'm so excited to be almost finished with making an outfit using parts from an adult male mesh and a child mesh from the game then I used 2 texture parts to and put in a leather jacket and replaced the texture, however there are two problems, the main one is that I messed by deleting the arms from the converted adult mesh so I used the ones from the child mesh and the hands are way out of proportion and they're clipping into the jacket and another one is that some of the shirt texture is bleeding into the jacket and there is white around the area where the hands go through. Other then that it's coming around nicely.
Advertisement
#2
20th May 2018 at 7:34 AM
You have to reduce the clothing hand to fit the sims body mesh. Right now the hand of the clothing mesh is longer than the Sims hand
#3
20th May 2018 at 3:42 PM
Posts: 1,073
Thanks: 134 in 4 Posts
Quote: Originally posted by AdonisPluto
You have to reduce the clothing hand to fit the sims body mesh. Right now the hand of the clothing mesh is longer than the Sims hand |
Thanks,it was a rather easy fix. All I had to do was drag the cuffs until the hands no longer clip through. I may adjust the sleeves later but it looks okay to me. All that's left to do now is fix the shirt texture bleeding into the jacket and the white around the cuffs of the jacket which I still don't know how to do.
#4
20th May 2018 at 6:17 PM
Posts: 12,919
Thanks: 3 in 1 Posts
Maybe it's the texture you're using. If you put a new shirt in the space of the old shirt, you probably just need to trim the edges on the pink shirt texture a little.
My site - TS2 baby stuff - ToU
My stories: Anna's diary - Memories are forever - Little Fire Burning
My stories: Anna's diary - Memories are forever - Little Fire Burning
#5
21st May 2018 at 9:03 AM
Last edited by Squidconqueror : 21st May 2018 at 10:22 AM.
Posts: 1,073
Thanks: 134 in 4 Posts
Yes I've got most of it fixed. Turns out that I had to tweak the UV Map to match the child body since the original jacket mesh was made for adult males. Only problem now is that I can't fix the texture on the neck. Anyways I can't wait to test it out in the game.
Oh and in game the jacket distorts itself when the child moves so it must have something to do with the bone assignments. It's really noticeable with the dance together animation.
Oh and in game the jacket distorts itself when the child moves so it must have something to do with the bone assignments. It's really noticeable with the dance together animation.
Attached files:
cfBodyLeatherJacket.zip (360.3 KB, 1 downloads) - View custom content | ||||||||||||||
205307 2018-05-21 02:52 cfBodyLeatherJacketMesh.package 293769 2018-05-21 02:19 cfbodyleatherjacket.package --------- ------- 499076 2 files |
||||||||||||||
Milkshape.zip (93.1 KB, 2 downloads) - View custom content | ||||||||||||||
241326 2018-05-21 03:06 cfbodyleatherjacket.ms3d --------- ------- 241326 1 file |
#6
21st May 2018 at 3:02 PM
Posts: 12,919
Thanks: 3 in 1 Posts
If you move the mess around (like with the arms) the bone assignments will move around as well, so they probably need fixing.
For the neck, did you use the child neck or the adult male neck?
For the neck, did you use the child neck or the adult male neck?
My site - TS2 baby stuff - ToU
My stories: Anna's diary - Memories are forever - Little Fire Burning
My stories: Anna's diary - Memories are forever - Little Fire Burning
#7
21st May 2018 at 5:30 PM
Posts: 1,073
Thanks: 134 in 4 Posts
It's hard to explain but here's an avi and picture of the way the mesh distorts itself while the child is dancing. Then here's a picture of the way the bones are assigned.
Attached files:
Mesh distortion while child is dancing avi.rar (7.41 MB, 4 downloads) - View custom content | ||
----------- --------- -------- ----- -------- ----- -------- ---- ..A.... 7785258 7773220 99% 21-05-18 11:14 52E6531C Sims2EP9 2018-05-21 11-14-30-067.mp4 ----------- --------- -------- ----- -------- ----- -------- ---- 7785258 7773220 99% 1 |
#8
21st May 2018 at 9:58 PM
Posts: 12,919
Thanks: 3 in 1 Posts
The first picure is a classic error from having the wrong settings in the comments. The "NumSkinWghts" needs to be set to "3" for all body meshes (it controls the blending between the bone weights), or half the joint references will just poof into non-existence, since "1" seems to support a max of 2 bones, "2" supports 3 bones, and "3" supports all 4 bones. You can see this from the stronger colors on your mesh as opposed to the weaker/blended colors on the body mesh, and the clearer boarders between the colors on your mesh.
It tends to happen if you re-import a mesh with the wrong comments into Milkshape. You can't fix that mesh, but you can fix the one you first edited, and export/import a new one. I think the new Blender plugins had some way you could add in the comments.
It tends to happen if you re-import a mesh with the wrong comments into Milkshape. You can't fix that mesh, but you can fix the one you first edited, and export/import a new one. I think the new Blender plugins had some way you could add in the comments.
My site - TS2 baby stuff - ToU
My stories: Anna's diary - Memories are forever - Little Fire Burning
My stories: Anna's diary - Memories are forever - Little Fire Burning
#9
21st May 2018 at 10:11 PM
Posts: 231
Thanks: 1021 in 5 Posts
The "NumSkinWghts" comment is only used by the Milkshape exporter and is not actually used inside the GMDC file. I'm not sure why the creator of the Milkshape plugins even added the comment, maybe it was due to a limitation in Milkshape.
Looking at the pictures It's quite clear that all your vertices only have a single bone influence.
Looking at the pictures It's quite clear that all your vertices only have a single bone influence.
#10
21st May 2018 at 11:11 PM
Posts: 12,919
Thanks: 3 in 1 Posts
^ the "NumSkinWghts" comment does something to the bones, because if the number is lower then all the bones aren't read, and the weight gets transferred to the other bones. I've had this problem a few times when making accessories assigned to two or more bones (the ingame glasses are usually set to 1 instead of 3, because they only use the head bone), and I'd get the same issue if I didn't fix the comments. If you don't put in any comments in MIlkshape, meshes with skeletons won't work properly when exported.
No idea if or where the comments can be found in SimPE, but there are some settings in the GMDC they potentially may refer to, possibly having something to do with how the GMDC 'communicates' with the SHPE resource. It may be a Milkshape limitation, but if the same issue appears when exporting from Blender too, there may be something that needs seeing to with the plugins.
No idea if or where the comments can be found in SimPE, but there are some settings in the GMDC they potentially may refer to, possibly having something to do with how the GMDC 'communicates' with the SHPE resource. It may be a Milkshape limitation, but if the same issue appears when exporting from Blender too, there may be something that needs seeing to with the plugins.
My site - TS2 baby stuff - ToU
My stories: Anna's diary - Memories are forever - Little Fire Burning
My stories: Anna's diary - Memories are forever - Little Fire Burning
#11
21st May 2018 at 11:34 PM
Posts: 231
Thanks: 1021 in 5 Posts
^ Inside a GMDC file bone assignments(if present) are always saved as 4 bytes and weights as 3 floats, this is the only data inside it that refers to assignments and weights.
#12
21st May 2018 at 11:45 PM
Posts: 1,073
Thanks: 134 in 4 Posts
Quote: Originally posted by simmer22
The first picure is a classic error from having the wrong settings in the comments. The "NumSkinWghts" needs to be set to "3" for all body meshes (it controls the blending between the bone weights), or half the joint references will just poof into non-existence, since "1" seems to support a max of 2 bones, "2" supports 3 bones, and "3" supports all 4 bones. You can see this from the stronger colors on your mesh as opposed to the weaker/blended colors on the body mesh, and the clearer boarders between the colors on your mesh. It tends to happen if you re-import a mesh with the wrong comments into Milkshape. You can't fix that mesh, but you can fix the one you first edited, and export/import a new one. I think the new Blender plugins had some way you could add in the comments. |
I made sure that the NumSkinWghts is set to 3
(ModelName: body
Opacity: -1
HasTangentArray:
NumSkinWgts: 3)
I think it's just the bones that aren't assigned correctly.
#13
22nd May 2018 at 1:00 PM
Posts: 12,919
Thanks: 3 in 1 Posts
Smugtomato, does this also happen when exporting with different settings in the "NumSkinWgts"? Maybe some of the info isn't used if the number is lower.
My site - TS2 baby stuff - ToU
My stories: Anna's diary - Memories are forever - Little Fire Burning
My stories: Anna's diary - Memories are forever - Little Fire Burning
#14
22nd May 2018 at 6:01 PM
Posts: 231
Thanks: 1021 in 5 Posts
^I'm not sure how things work with the Milkshape exporter, I assume it's used for the fixing of bone weights in the plugin. My blender exporter doesn't use anything like it.
#15
23rd May 2018 at 4:16 AM
Posts: 1,073
Thanks: 134 in 4 Posts
Yeah I think I'll just go head on and try to reassign the bones. As you could in the picture the jacket distorts in 4 different directions and by checking the colors where the mesh distorts itself I kind of have a good idea about what I need to do to fix it. Shame that I could only find one tutorial about this and that's on hair. I guess I would have to keep playing around with the bone assignments.
Who Posted
|