Anubis360
11th Mar 2010, 10:13 PM
This tutorial will teach you how to make proper Roots/Highlight/Tips for hairs. I’m going to use my conversions of Agustin Kate Hudson’s Ponytail and Raonjena Hair 77 as examples.
What you need:
-In this tutorial, I use the free graphic editor Gimp (http://www.gimp.org/).
-Milkshape 3D (http://chumbalum.swissquake.ch/), to, well, make the mesh itself and test the textures.
-My Control Base texture, which is uploaded in this post.
What this tutorial WON’T teach you:
-How to convert a hair, for that, you have to read HP's Hair basics (http://www.modthesims.info/wiki.php?title=Tutorial:Sims_3_Hair_Basics) tutorial.
-How to create the diffuse or the specular, read HP’s tutorial for that.
-How to retexture a hair, there a plenty tutorials of that at MTS and Garden of Shadows.
:here: Everything said so, here we go!
1- Open your diffuse texture. Now import my ControlBase.dds texture. Remember that you don’t have to load the mip maps.
2- Select from Layers window, the ControlBase layer. Go to Mode, and select Grain merge. Your texture would now look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069903_Photo1.jpg
3- Right click on any of both layers and combine the visible layers. Save as “Control.dds”, don’t compress and use RGBA8 format. Check (if unchecked) the “Generate MipMaps” option.
4- Go to Milkshape, and import your mesh. Go to Group tabs and select your mesh.
5- Now, go to Materials tab, click “New” button and then “Assign” button. Click the first “<none>” button, and select your “Control.dds” texture.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069904_Photo2.jpg
6- Your hair should look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069905_Photo3.jpg
If it looks weird, do right click over any of the four windows, go to “Transparency/Depth Buffered with Alpha Reference”
7- The control it’s undone now. You need to add roots and tips or delete them if it’s necessary. Go back to Gimp.
8- Click “Edit/Undo” or type “Ctrl+Z” to separate the layers. Go to “Windows/Dockable Dialogs/Channels”.
9- Unselect all the channels you don’t want to edit. In this case, I left just “Blue” channel selected. Select the “ControlBase.dds” layer.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069906_Photo4.jpg
10- Pick “Select” tool on the Toolbox and select the bottom of the image, where the blue tips are. Type “Ctrl+C”.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069907_Photo5.jpg
11- Now, paste it but keep the selection (that means, just paste). You have to move until it fits the bottom of the hair textures.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069908_Photo6.jpg
12- Most of the times, the tips and roots have to be in different places for each piece of the texture. So now, select just the part of your pasted texture that it’s on the right place, so you can get rid of all the rest of the blue. Then, click twice anywhere else but inside the selections.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069909_Photo7.jpg
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069910_Photo8.jpg
13- Now, if you need to delete a part of any of the channels, select the part of the texture you want to clean, and fill it with black. To clean a specific channel, select the one you want and unselect the others.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069912_Photo9.jpg
14- Repeat step 11 with all the pieces. Tip: if a any of the parts ends straight, it probably won’t need tips.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069913_Photo10.jpg
15- Combine the visible layers and save, now go to Milkshape and select “Edit/Refresh Textures”. Your hair may look like this now:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069914_Photo11.jpg
16- Some parts of the hair wouldn’t need tips or roots, and other parts would be missing the roots, you have to fix that.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069915_Photo12.jpg
17- Repeat steps 9 – 15, now selecting and editing the red channel. If the roots look excessively long, you must make them shorter, so be moving the texture after you’ve pasted it, or scaling it. You can scale it going to “Layer/Scale Layer” and uncheck the little button with the clasp next to the sizes, so you can change the height/width separately.
18- Now your control should look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069916_Photo13.jpg
19- Sometimes, one piece of the texture is used for different parts of the mesh, and it may need roots or tips depending on where they are located. Don’t worry if you see that a part of the hair that shouldn’t have roots has them, if it needs roots for another part of the hair, of course.
20- Once you’re done, go to Gimp and delete your diffuse layer. Change the “ControlBase” layer mode to normal, and save without compressing, in RGBA8 format, and generate mip maps. Your control texture is done! :D
:here: Curvy Texture? No problem!
Sometimes, the highlights have to have a different direction that the straight default. Let’s see an example.
This is Raon’s Hair 77, and it has curvy textures.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069917_Photo14.jpg
To match those curves, you have to use the “IWarp” filter.
1- Copy a piece of the ControlBase layer, and paste it in the center of the image. Go to “Layers/New Layer”, and then to “Layer/Layer to Image Size”
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069918_Photo15.jpg
2- Go to “Filters/Distort/IWarp”, this window will pop-up.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069919_Photo16.jpg
3- Keep the “Move” option. Change the “Deform Radius” to… well… change the deform radius. Now, click on the image next to all the options, and move the image. It would look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069920_Photo17.jpg
4- Try to match the curve of the original texture the best you can, and press “Ok”. Change the layer mode to “Merge Grain” and move until you fit the texture under it. It probably won’t look right in your first attempt, so you have to keep trying, using and combining different deform radius. Remember to undo the modifications you did before you try again!
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069921_Photo18.jpg
5- Once you’re done, your control should look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069922_Photo19.jpg
I hope this helps to make nice roots/highlights/tips!
If you have a doubt, don’t hesitate and post it :)
Please, don't post this tutorial anywhere else :)
Feel free to translate it if you want.
What you need:
-In this tutorial, I use the free graphic editor Gimp (http://www.gimp.org/).
-Milkshape 3D (http://chumbalum.swissquake.ch/), to, well, make the mesh itself and test the textures.
-My Control Base texture, which is uploaded in this post.
What this tutorial WON’T teach you:
-How to convert a hair, for that, you have to read HP's Hair basics (http://www.modthesims.info/wiki.php?title=Tutorial:Sims_3_Hair_Basics) tutorial.
-How to create the diffuse or the specular, read HP’s tutorial for that.
-How to retexture a hair, there a plenty tutorials of that at MTS and Garden of Shadows.
:here: Everything said so, here we go!
1- Open your diffuse texture. Now import my ControlBase.dds texture. Remember that you don’t have to load the mip maps.
2- Select from Layers window, the ControlBase layer. Go to Mode, and select Grain merge. Your texture would now look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069903_Photo1.jpg
3- Right click on any of both layers and combine the visible layers. Save as “Control.dds”, don’t compress and use RGBA8 format. Check (if unchecked) the “Generate MipMaps” option.
4- Go to Milkshape, and import your mesh. Go to Group tabs and select your mesh.
5- Now, go to Materials tab, click “New” button and then “Assign” button. Click the first “<none>” button, and select your “Control.dds” texture.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069904_Photo2.jpg
6- Your hair should look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069905_Photo3.jpg
If it looks weird, do right click over any of the four windows, go to “Transparency/Depth Buffered with Alpha Reference”
7- The control it’s undone now. You need to add roots and tips or delete them if it’s necessary. Go back to Gimp.
8- Click “Edit/Undo” or type “Ctrl+Z” to separate the layers. Go to “Windows/Dockable Dialogs/Channels”.
9- Unselect all the channels you don’t want to edit. In this case, I left just “Blue” channel selected. Select the “ControlBase.dds” layer.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069906_Photo4.jpg
10- Pick “Select” tool on the Toolbox and select the bottom of the image, where the blue tips are. Type “Ctrl+C”.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069907_Photo5.jpg
11- Now, paste it but keep the selection (that means, just paste). You have to move until it fits the bottom of the hair textures.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069908_Photo6.jpg
12- Most of the times, the tips and roots have to be in different places for each piece of the texture. So now, select just the part of your pasted texture that it’s on the right place, so you can get rid of all the rest of the blue. Then, click twice anywhere else but inside the selections.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069909_Photo7.jpg
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069910_Photo8.jpg
13- Now, if you need to delete a part of any of the channels, select the part of the texture you want to clean, and fill it with black. To clean a specific channel, select the one you want and unselect the others.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069912_Photo9.jpg
14- Repeat step 11 with all the pieces. Tip: if a any of the parts ends straight, it probably won’t need tips.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069913_Photo10.jpg
15- Combine the visible layers and save, now go to Milkshape and select “Edit/Refresh Textures”. Your hair may look like this now:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069914_Photo11.jpg
16- Some parts of the hair wouldn’t need tips or roots, and other parts would be missing the roots, you have to fix that.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069915_Photo12.jpg
17- Repeat steps 9 – 15, now selecting and editing the red channel. If the roots look excessively long, you must make them shorter, so be moving the texture after you’ve pasted it, or scaling it. You can scale it going to “Layer/Scale Layer” and uncheck the little button with the clasp next to the sizes, so you can change the height/width separately.
18- Now your control should look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069916_Photo13.jpg
19- Sometimes, one piece of the texture is used for different parts of the mesh, and it may need roots or tips depending on where they are located. Don’t worry if you see that a part of the hair that shouldn’t have roots has them, if it needs roots for another part of the hair, of course.
20- Once you’re done, go to Gimp and delete your diffuse layer. Change the “ControlBase” layer mode to normal, and save without compressing, in RGBA8 format, and generate mip maps. Your control texture is done! :D
:here: Curvy Texture? No problem!
Sometimes, the highlights have to have a different direction that the straight default. Let’s see an example.
This is Raon’s Hair 77, and it has curvy textures.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069917_Photo14.jpg
To match those curves, you have to use the “IWarp” filter.
1- Copy a piece of the ControlBase layer, and paste it in the center of the image. Go to “Layers/New Layer”, and then to “Layer/Layer to Image Size”
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069918_Photo15.jpg
2- Go to “Filters/Distort/IWarp”, this window will pop-up.
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069919_Photo16.jpg
3- Keep the “Move” option. Change the “Deform Radius” to… well… change the deform radius. Now, click on the image next to all the options, and move the image. It would look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069920_Photo17.jpg
4- Try to match the curve of the original texture the best you can, and press “Ok”. Change the layer mode to “Merge Grain” and move until you fit the texture under it. It probably won’t look right in your first attempt, so you have to keep trying, using and combining different deform radius. Remember to undo the modifications you did before you try again!
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069921_Photo18.jpg
5- Once you’re done, your control should look like this:
http://thumbs2.modthesims2.com/img/1/1/3/1/0/6/9/MTS2_Anubis360_1069922_Photo19.jpg
I hope this helps to make nice roots/highlights/tips!
If you have a doubt, don’t hesitate and post it :)
Please, don't post this tutorial anywhere else :)
Feel free to translate it if you want.