<?xml version="1.0" encoding="utf-8"?>

<tutorial>
   <description>Learn how to realistically wrap a texture around an object.</description>
   <keywords>photoshop tutorials, texture, wrapping, wrap, text, photo, person, background, seamless</keywords>
   <title>Texture Wrapping</title>
   <slug>In this tutorial I'll show you how to wrap a texture around a real object, such as a person. The same effect can be applied to beveled text, 3d models, and other objects with depth that cannot be effectively wrapped by simply covering them with a texture image.</slug>
   
   <step>
      <left><image><name>pict1.jpg</name><width>250</width><height>273</height><alt>Picture 1</alt></image></left>
	  <stepnumber>1</stepnumber>
	  <text>Preparation:<br></br><br></br> You will need to first gather an image you wish to wrap and a texture you want to wrap it with. It is good if you can find a seamless texture to use, but not completely necessary. For this tutorial I will be using the the photo and snake skin texture seen to the left. My texture is not seamless, but it is large enough to cover the area of my object that I wish to wrap (the woman's face), so it will work out. You can download a file with my images here:<br></br><br></br>
<b><link><url>snakegirl.psd</url>Download Snake Girl</link></b></text>
   </step>
   
   <step>
      <left><image><name>pict2.jpg</name><width>216</width><height>324</height><alt>Picture 2</alt></image></left>
	  <stepnumber>2</stepnumber>
	  <text> Open your image and set it up like mine is with the object on top and texture below it. We are going to need to make a displacement map so Photoshop knows the contours of the object we are going to map. Go to <b>Image>Duplicate</b>, check the <b>Duplicate Merged Layers Only</b> box and hit <b>OK</b>. Next, go <b>Image>Mode>Grayscale</b> to convert your new image to grayscale. </text>
   </step>
   
   <step>
      <left><image><name>pict3.jpg</name><width>216</width><height>324</height><alt>Picture 3</alt></image></left>
	  <stepnumber>3</stepnumber>
	  <text>Now you need to blur your image a little so the distortions will be less extreme. Go <b>Filter>Blur>Gaussian Blur</b> and use a radius of <b>2 pixels</b>. Save the image as &quot;facemap.psd&quot; by going <b>File>Save As</b>. Remember where you save it.</text>
   </step>
   
   <step>
      <left><image><name>pict4.jpg</name><width>208</width><height>227</height><alt>Picture 4</alt></image></left>
	  <stepnumber>4</stepnumber>
	  <text>Close the gray image and go back to your original one. Move the texture layer above the object by going to the Layers Palette and dragging Layer 2 above Layer 1. <b>Ctrl+click</b> (Mac: Cmd+click) on Layer 2 to load it as a selection. Go to <b>Filter>Distort>Displace</b>. Choose <b>10% Horizontal</b> and <b>10% Vertical Scale</b>, <b>Stretch to Fit</b>, and <b>Repeat Edge Pixels</b>. Click <b>OK</b>.</text>
   </step>
   
   <step>
      <left><image><name>pict5.jpg</name><width>216</width><height>216</height><alt>Picture 5</alt></image></left>
	  <stepnumber>5</stepnumber>
	  <text>Find your "facemap.psd" file in the window that pops up and click <b>Open</b>. Your texture is now distorted to effectively wrap your object.</text>
   </step>
   
   <step>
      <left><image><name>pict6.jpg</name><width>216</width><height>324</height><alt>Picture 3</alt></image></left>
	  <stepnumber>6</stepnumber>
	  <text>Now you need to select the area of your image that you wish to apply the texture to. There are many ways to accomplish this. The Example image is fairly difficult to select, so I will use a quick mask to select the woman's face. Hit the Quick Mask button (<image><name>../general/qm.gif</name><alt>Quick Mask</alt></image>) then select the Air Brush Tool (<image><name>../general/air.gif</name><alt>Air Brush</alt></image>). Zoom into your image to make it easier to work with my hitting <b>Ctrl++</b> (Cmd++) 2 or 3 times. Hide the top texture layer (Layer 2) and click Layer 1 in the Layer Palette. Make sure the Foreground color is set to black (it should already be) and begin air brushing the area you want to wrap (the woman's face). You will need to switch to smaller brushes to get into tight areas. Make sure to only color in the skin areas and not the woman's eyes, mouth, etc. The filled in areas will turn red.</text>
   </step>
   
   <step>
      <left><image><name>pict7.jpg</name><width>216</width><height>324</height><alt>Picture 3</alt></image></left>
	  <stepnumber>7</stepnumber>
	  <text> Click the Standard Mode button (<image><name>../general/qm2.gif</name><alt>Standard Mode</alt></image>) to create a selection. Click on the texture layer (Layer 2) in the Layers Palette and hit <b>Delete</b>. The only area of the texture that will be left is the part that is over the area you just masked. You should now be looking at the exquisite being to the left.</text>
   </step>
   
   <step>
      <left><image><name>pict8.jpg</name><width>216</width><height>324</height><alt>Picture 3</alt></image></left>
	  <stepnumber>8</stepnumber>
	  <text> Deselect you selection by hitting <b>Ctrl+D</b> (Cmd+D) Go to the Layers Palette and change the Blending Mode to <b>Soft Light</b>. For different objects, different modes may look better. Feel free to experiment with them. You might way to also play with the Opacity level to decrease the strength of the texture. I chose <b>90%</b>. That's it. You now have yourself a lovely Snake Girl!</text>
   </step>
   
</tutorial>
