esperesa: (Default)
Yuxi ([personal profile] esperesa) wrote2000-01-01 01:38 pm

[Part 2 of 3 ] Male-to-female hair conversion guide

This is a quick draft for anyone who already knows what they're doing in Milkshape. I'll elaborate later with more screenshots and more instructions.



*) Import the extracted mesh using the Unimesh import thing-o, then import Dr. Pixel's female base as an OBJ so we can see what the hell we're doing. I find it handy to select the 'Coloured Groups' option (Right-click).
To import an .obj file, to to File > Import > Wavefront .Obj.

*) Use alt+click to select vertices in the main screen. Also, don't work on 'full screen' as you'll need the windows to the left to move things. Mess around a bit to get to know the program if you've never worked with it before.

*) Male heads are bigger than female heads and if you don't edit the back of the hair_alpha layers the style will sit unnaturally on the head in the back. Usually I select the entire hair minus the scalp (the scalp's fine - make sure not the edit it unless you haven't been replacing it) and size it down a tiny bit using 'Scale', then grab the back and resize it more. After that, I tend to move the back to the neck and the front to the forehead. Then I edit things by hand by selecting individual vertices to fit the female head better and to iron out any weird shapes I caused this way, until I am satisfied. Take your time, it's not a race.

Of course, I don't know what mesh you're fiddling with, but if it's not a Maxis mesh, seriously: Don't just move the thing forward or backward. It looks bad from behind.

*) If the mesh allows for simple scalp-replacing, great.

Elaborating on scalp-replacing:
- Copy the comments of the 'hair' layer of the original mesh.
- Paste them in the comments for the 'Example_scalp' layer of the imported .obj model
- Rename 'Example_scalp' to 'hair'.
- Delete the original 'hair' layer.

Remember to assign the entire scalp to the head (select nothing but the scalp, go to Vertex > Sims 2 UniMesh Bone Tool > joint 7, weight 100%), and then the the 5 vertices on the bottom of the back to the neck for 50%, e.g.: 50% - 7 - head, 50% - 6- neck:



Make sure you don't move the scalp in subsequent editing, or you'll get gaps.

MAXIS HAIR
(or simply hair with a 'hair' layer you can't just replace)

*) Import the female base if you hadn't already done so. Move the hair layer(s) and rotate it a bit so it fits the female head a bit better, then select a vertice of the hair and the nearest vertice of the model's head - deselect the head, then move the hair-vertice to the previously-selected vertice on the head in each of the two windows. And... repeat for every vertice on the scalp.
I've yet to find an easier way than this, but hey, it works. Dude, right. Extended manual edit. Got it.
(Clarification + screenshots will come)


*) When you're done, delete the example_body and example_face layers, export the hair model using Unimesh, go to your mesh package, right-click and replace the old mesh with the edited version, then hit commit and save.

I don't use the BaseGameStarter because it fucked up my game's language settings, so I usually move my download folder somewhere else, only put a single model, the new mesh and the original mesh in it and then alternate between genders in Bodyshop to see where it needs more editing (and to check if the hair doesn't sit too high/low, etc). Because hair sitting too high is my biggest freaking peeve.

Yuri

(Anonymous) 2009-03-23 03:48 pm (UTC)(link)
Hey Yuxi, great tutorial! ^^ I have some questions. ;x
look "When you're done, export the model using Unimesh, go to your mesh package, right-click and replace the old mesh with the edited version, then hit commit and save." The model that you said is the mesh ou the obj? I replace it in simpe? And when i finish it, what i have to do? Thanks!