PDA

View Full Version : Short Intro to Displacement Maps (that is Raven short)


Nevermore
06-17-2006, 01:06 PM
Just in case anyone is interested. I posted this at another site but thought kindreds might have some interest too. Go straight to Giordan's The Art of Photoshop if you have it for a professional take on this, he is brilliant but if you don't have any access, here is a brief summary:


A displacement map ("DPM") lets you mould one image to another. Say you have a pumpkin (a neat textured surface) and you want to superimpose a witch on it as if she was painted on. You could just overlay the witch and lower the opacity but she will, of course, be quite faint. If you make a DPM out of the pumpkin, you are turning its surface into a guide that changes (displaces) the pixels in the witch by slightly offsetting them to match the DPM information when you run the DPM over the witch using the distort filter. So your witch really looks like she is painted on the pumpkin surface because you used that very surface to distort your witch. What is tricky is guessing how much to offset the distort filter. The grand finale is playing with the filtered witch by using blend modes and masking (that lets bits of the real pumpkin show through). Or whatever.

1. You need a target object. Say a pumpkin.
2. You need an image you want moulded onto the target object. Say a witch.
3. You need a DPM. Make a duplicate of your target object (pumpkin). Turn it to greyscale and save it somewhere handy as a .psd file. This is your displacement map. Giordan blurs it slightly using a Guassian blur of about 4 before saving it as DPM. I do too just because I haven't had time yet to figure out if it is really necessary or what would happen if you used a different blur or a higher Guassian blur. If anyone gets through those options, PLEASE let me know your results.
4. Put your image (witch) on the target object (pumpkin) as a new layer.
5. Apply the DPM to the image layer. This is hell on wheels because you are doing it "blind". When you chose Filter-Distort-Displace the first thing that comes up is an option box asking you how much you want to offset the image (witch) pixels. Who knows? I do it by 5s ie I try 5 and then 10 and then 15 until I get what I want. I use the same number for both the vertical and the horizontal offsets, again because I haven't had time to play with different values. Again, I beg anyone who has to let me hear about it.
6. Once you pick those options, you get asked where is the DPM you want to use and of course, you must browse to where you saved the DPM you just made out of your target object. Viola! (Tip: sometimes the result can be subtle but it is very much there. To check it out, click undo and redo several times and you will see your witch straightened, displaced, straightened, displaced. I gotta get a life!)
7. You will then probably spend a lot of time undoing the filter and running it again with different offsets values.
8. Of course you can mess with the other options in the displacement input table but, you guessed it, I haven't had time. You can also get pretty funky results by displacing and then using different blend modes on the displaced image. I find the whole process mega entertaining and time consuming which is why I haven't figured out enough of the variations yet.

Please post any interesting work or observations if you mess around with this.

akissling
07-13-2006, 08:38 AM
Kim, how did I miss this! Will add this book to my list and the tut to my now growing list. Can't wait to try it!

Nevermore
07-13-2006, 08:45 AM
I don't know...I have never gotten much feedback from any of the tutorials I have ever posted so I figure that they aren't clear enough to follow or they look "too" much or they aren't sexy because I don't post illustrations. My original hope had been that people would have jumped on this so that we could have a displacement challenge but I figured that there was no interest. I really would be interested if you manage to play with any of the options I haven't had time for... I would also be interested if any of the instructions are maddeningly misleading, oblique or stupid. Even though I figure no one is doing them, I would still like them to be correct~

akissling
07-13-2006, 01:54 PM
It is going to be hot all weekend so I plan to try! Will update you when you come back!

CathyRose
07-13-2006, 02:22 PM
This is so very interesting, but I only have PSE 3. Can I do it with that program?

Nevermore
07-13-2006, 08:14 PM
CathyRose, I just don't know. I started with PSCS and have never used an earlier version than that.

Rikki
07-14-2006, 08:15 AM
I've never did anything with DPMs, never knew what they were all about. Your tut really sounds interesting. I'll try it out later and post my result...

Pixeldigger
07-14-2006, 09:46 AM
Here goes with a tiger on a pumpkin

I used 15 x 15 displacements and then put a hard light filter on the result, which gave a more vivid effect

pumpkin (http://www.digitalartquirks.com/photopost/showphoto.php?photo=1355&cat=500&ppuser=239)

mizamigo
07-14-2006, 05:09 PM
DPMs sound so interesting. I'm going to see if I can't try it in PSE 3 this weekend. I love tuts. I'll just have to look around and see if I can find yours so I can learn some new things. Thanks for this one. Sure hope I can do it in my program.

Nevermore
07-14-2006, 08:23 PM
Great work, Judith. Not half so bad to do it as writing out the instructions (they always take so long!)

Nevermore
07-14-2006, 08:26 PM
DPMs sound so interesting. I'm going to see if I can't try it in PSE 3 this weekend. I love tuts. I'll just have to look around and see if I can find yours so I can learn some new things. Thanks for this one. Sure hope I can do it in my program.
Mizamigo, I haven't done that many. I will maybe try to gather them up, they are at different sites. But going on vacation so it will have to wait. They aren't that great, the only thing to recommend them is that I think they are neat for doing digital scrapping. DPMs, for example, are amazing with text on cloth. If your cloth is rippled, you can have your text ripple the same so it looks as if it was printed on the cloth. There are a couple of examples in my gallery. Subtle but a nice finishing touch.