Download (direct link):
2. Choose SelectOFeather to bring up the Feather Selection window. Enter a value of 20 pixels as the Feather Radius and press OK to apply the changes.
This option is going to fade your selection out around the edges, allowing you to blend this image. The Feather Radius that you should enter will depend on the size of your image. In my case, 20 pixels does the trick.
Chapter 18: Re-Skinning the Models 329
3. Copy your selection. You can do this by choosing EditOCopy or by pressing Ctrl+C.
4. Switch windows to the kane6_d.tga image and paste your copied selection here by choosing EditOPaste or by pressing Ctrl+V.
When you paste your selection, it will be layered on your current image as a new layer, but it will probably be too large. You need to size it so that it properly fits the texture. To do this, start by changing the opacity of this newly pasted layer.
5. At the top of the Layers tab, there is an option for Opacity. Change this from 100% to 50%.
This allows you to see the Background layer through the pasted layer and to size the face image more appropriately.
6. To resize the image, choose EditOTransformOScale. Then begin to shrink the face until it fits over the original.
You can size it manually by entering the size changes at the top of the Photoshop window (W for width and H for height) or by dragging the corners or edges of the image.
7. Press Enter to apply the changes.
8. Bring the opacity back up to 100% from with the Layers tab.
When you do, you will notice that the photo isn’t going to match the skin tone of the original face. This mismatch will have to be fixed, or the face will look out of place. However, before changing the skin tone, the hairline needs to be faded some more to match the original.
330 Part IV: Going Beyond the Basics
9. Select the Eraser tool from the toolbar.
This is the one that looks like a rectangular eraser, as displayed in the margin. This tool, much like the Rubber Stamp used in Chapter 15, has the option to change the brush size.
10. At the top of the program, change your brush size to 45. Then use the eraser by clicking and dragging the cursor on the areas you want to erase.
The goal is to remove any dark areas around the face, such as hair (see Figure 18-7). These dark areas are not going to blend with the original image. The next step is to blend the colors between the two images and make them look like one image.
11. Choose ImageOAdjustmentsOColor Balance.
The Color Balance dialog box appears. This dialog box allows you to change the color balance between three different tone balances. To find the right combination for this image, you have to keep adjusting the sliders until it looks right. There is no other way to make the color match other than by sight.
Raise the opacity back up and do some more blending with the eraser tool.
After fooling with the sliders, I came up with the following values that worked for this image combination:
• Shadows: Color Levels: +13 +4 -12
• Midtones: Color Levels: +13 +6 -7
• Highlights: Color Levels: 0 0 0
With these new color adjustments, you can see that the left side of the face looks like it’s blending quite well. However, the right side doesn’t look quite as good. Luckily, there is a fairly simple solution to this problem. That is to cut the face in half and mirror the left side to the right side, which is just what you’re going to do.
12. Change your marquee selection tool from elliptical to rectangular. Click and hold the cursor over the selection icon; an option to change your selection tool appears. Select the appropriate one.
Chapter 18: Re-Skinning the Models 331
13. Use this selection tool to select the right half of the face. Try to make your selection as close to exact as possible. Then press Delete to remove it, as I have done in Figure 18-8.
If one side of your image looks better than the other, consider mirroring the good side onto the bad.
14. Select the other half of the face the same way. Press Ctrl+C to copy the selection, and then press Ctrl+V to paste the copy to a new layer.
15. Choose EditOTransformOFlip Horizontal to make a mirror copy of the first half. Then line the two of them up so they look like one complete face. To move it, use the Move tool from the toolbar that looks like a mouse pointer or use your arrow keys to shift it around one.
The result looks like a good skin for the game, as shown in Figure 18-9.
16. Save this image over the original kane6_d.tga image. Remember to make it a Targa image and to select the 24 bits/pixel Targa option when prompted.
332 Part IV: Going Beyond the Basics
Compressing to DDS
Just like the images used in your map texture from Chapter 15, you should create DDS image files for these new images. This helps keep the game running smoothly because it will be using the compressed mip-maps created in the DDS file format. Use The Compressonator with the Maintain Directory Structure check box selected. See Chapter 15 for details on how to use The Compressonator.