It is currently Wed Apr 24, 2024 4:06 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Displacement Water Reflection Tutorial
PostPosted: Wed Jan 12, 2011 3:17 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Image

NOTE: This tutorial was taken in part from here. At the time, I had a little trouble sorting through those particular instructions on Flickr, so that inspired me to create the tutorial that follows below. However, Lucidlook had since created a more up-to-date tutorial (I am uncertain if he is the original author on Flickr) that can be found here. Although the steps shown below are the result of me hashing it out, I can't take credit for the original effect.

I'm a GIMP noob. Yeah, I admit it. Albeit, quickly becoming a hardcore GIMP'er and salivating over the upcoming release of version 2.8. Enough about that, let's get on with the tutorial… Let me first say, if you ever find yourself attempting a tutorial and you just "don't get it" as you're following along, or even worse – you download a script and have NO clue as to what to do with it, FRET NOT! Usually script authors will say something to the effect of "this script is based on a Photoshop tutorial, click link here…" If they do mention a tutorial, try to follow that tutorial as best you can – or – check my sitemap on Mahvin.com to see if I have covered it. I downloaded the Displacement Water.scm filter, followed the links offered by the author, and went over the instructions a few times. Not reading the instructions carefully makes a difference in whether you're going to succeed or fail in accomplishing the use of the script. That being said, because there was so much input on various links, it all got mixed and garbled in my mind, so I spent a few hours sorting it all out. If you don't have the Displacement Water script and want to follow along, follow the link to get it, but while you're at it, grab this mirror script by Saul Goode, too. The mirror script will save a ton of steps in doing the tutorial. Remember, this is the "noob version" of water displacement. The general purpose is to get everyone understanding how best to use it. Once you accomplish it, feel free to modify your colors or add new layer effects, etc.

The following image (found under Vignette script on the GIMP Registry) will be used in this tutorial, copy and paste it into GIMP:

Image

STEP 1:

If you haven't added the mirror-dup.scm script to GIMP, do it now. Once you refresh the scripts, you will find it under Filters/Map/Mirror on the menu bar. You'll see this (use the same selections as shown):

Image

You should now have an even vertically mirrored image of a frog:

Image

STEP 2:

Make a duplicate layer of the mirrored image.

STEP 3:

It's time to make the water displacement map. Select Script-Fu/Map/Water Reflection map on the menu bar. You'll see the following (use the selections shown):

Image

For my Polish friends…
Dla moich znajomych polskim: Czy próbowali za pomocą Google Translate na wychowawczy?


The original frog image was 500 x 380, so that is what x and y should be in the selections above. Remember this whenever you create new water reflections (X and Y are the width and height of your original image before you alter it). You should end up with a displacement map that looks like this:

Image

You'll notice the name of this image is red.# and it is a separate image from your frog image. We'll be pasting this map into a new layer on the frog image.

My displacement script threw errors a few times, so if it throws an error for you, try it a few more times. If errors persist, leave a comment for the script author indicating what those errors are. If you correctly identified the image width and height, you shouldn't have any problems.

STEP 4:

You should have two layers on your mirrored frog image, add a new layer to the top. With the new layer highlighted, copy the displacement map (layer X) we just made and paste it into the new layer. Use the Move tool :move to move the displacement map over the bottom area of the mirrored image before you anchor the floating selection. When you're happy with the location, anchor the layer. Note the image below:

Image

(TIP: After you paste the displacement map into the new layer, you can use your arrow keys to move it sideways or up and down).

STEP 5:

Add another new layer. Select the Rectangle Select tool. :rectsel Select the bottom half of the picture with the displacement map.

Add a layer mask (White – Full Opacity) to the new layer.

Select the Gradient tool :blend using the default black & white gradient and drag a gradient from the halfway point to the bottom. Your layers should look like this:

Image

Notice that there are links on the displacement map and the background copy? You need to do the same thing. All you are doing is linking the displacement map to the background copy so that when you finally map the water displacement, it will show the layers for the displacement map in the lists.

I didn't name my layers, which I should, and you should make a practice to name your layers as well.

STEP 6:

Select and highlight the background copy layer just under the displacement map, and go to Filters/Map/Displace. Note the selections in the image below:

Image

For small image reflections like this one, the only way to utilize an X displacement is to make your image selection area wider. Otherwise, you'll have to leave it at zero to avoid it leaving blank areas in your reflection area. (Check the preview when adding X displacement, you'll see what I mean). Y displacement is usually twice the displacement of X. We'll make an exception here. :)

To see the result of what the displacement achieved, click the eye on the displacement layer to off.

STEP 7:

Adding color is fairly simple, just remember two things: 1) Create a selection for the lower half of the image when using colored gradients, and 2) the sky is the limit on color choices or blend effects.

Select and highlight the top most layer (with layer mask), link it to the displacement map and background copy, then select the bottom half of the image using the Rectangle Select tool :rectsel if it's not already selected.

Image

Select the Gradient tool :blend and pick a darker emerald green color 06936d and a lighter shade of emerald green 0ccf91. See my color choices below:

Image

Drag the Gradient tool down from the halfway point to the bottom. You can reduce the transparency, if needed. That's it, you're done!

The final product:

Image

ENJOY! :)

Download a pdf file of this tutorial.


Attachments:
Displacement Water Reflection Tutorial by mahvin .pdf [2.21 MiB]
Downloaded 768 times

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes
Top
 Post subject: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Wed Jan 12, 2011 7:36 pm  (#2) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I love this tutorial and the results. Instant water to an image that has none. Thanks mahvin.

These are my results from the tutorial.

Original image here.

Image


Original image here.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Wed Jan 12, 2011 11:43 pm  (#3) 
Offline
Former Member
User avatar

Joined: Nov 17, 2010
Posts: 618
Location: Rockford, IL
Very nice tutorial, this would be a very nice animation. (I know Sqirlz Water Reflections is good too)


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Thu Jan 13, 2011 7:57 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Nice tutorial Mahvin.I decided to mix together yours and the gimp-users tutorial sent to me in my email today, and a few other effects to put this together.

Which shall i call it "Rescue At Mohave" or "This Was No Mirage".
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Thu Jan 13, 2011 9:39 am  (#5) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
That is so very cool, Rod. Great effect!

This is one I did using my raised glass tut and combined it with mahv's tut.

Original image here.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Thu Jan 13, 2011 12:46 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Nicely done o! =)
That image looks amazingly real.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Thu Jan 13, 2011 6:08 pm  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I stuck to the tutorial so I could get it right. Now I will try one from one of my pics. Thanks mav for the great tutorial...
Image Image

_________________
Image


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Thu Jan 13, 2011 9:46 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
cool tutorial, I must get some of my photos transferred from the old pc to this new laptop so I can start trying out some of the new tutorials!


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Fri Jan 14, 2011 7:13 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Those look awesome Molly, and those kittens are really growing fast! =)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Fri Jan 14, 2011 7:31 am  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Hey Rod, you should see them now. They go out for adoption this week. The grey one and the black one are already adopted which leaves mama and two striped ones. Here is mama. She is beautiful.
Image

_________________
Image


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Sat Jan 15, 2011 4:59 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Oh she is gorgeous!
I love those blue eyes. =)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Sun Jun 12, 2011 11:45 am  (#12) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Geeze, I love seeing this post revived. That was a very fun tutorial Mahvin. Rod, I love what you did with the desert one. Really cool. And of course, "O", I love your jug......

_________________
Image


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Sun Jun 12, 2011 12:38 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Feb 13, 2011
Posts: 83
Location: It's Cold in Wisco!
Image

_________________
Image


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Sun Jun 12, 2011 12:50 pm  (#14) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
What a cute little gaffer JFish. very nice.....

_________________
Image


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Sun Jun 12, 2011 9:39 pm  (#15) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
That's very cool, Jacob. Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Mon Jun 13, 2011 3:42 am  (#16) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Animations are really simple to make. Simply duplicate the bottom most later in the original water displacement image, and redo displace using higher and lower displacement values than the 60 suggested in the tutorial. Use "Copy Visible" after you displace each new setting.

I made additional displacements at 30, 40, 50, and 60 values, then created a whole new image, adding each new displaced layer to it, then ping pong one copy of each layer backwards for a total count of 8 layers (60 - 50 - 40 - 30 - 30 - 40 - 50 - 60). Ideally, you don't need to duplicate 30, but I did this quickly, just to show you the effect.

Image

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Mon Jun 13, 2011 4:11 am  (#17) 
Offline
GimpChat Member

Joined: Dec 20, 2010
Posts: 174
Location: Wherever the voices in my head tell me I am.
molly wrote:
Geeze, I love seeing this post revived.


I agree with molly. Glad it got revived. Looks like a reasonably easy to follow tutorial producing great results. Thanks for another excellent tutorial mahvin.

I look forward to trying this out.

:)


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Mon Jun 13, 2011 4:19 am  (#18) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I love the water movement Mahvin, I don't understand it tho.

_________________
Image


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Mon Jun 13, 2011 4:26 am  (#19) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Molly: It's the same as doing the tutorial 4 more times, but each time, change the suggested value (60) to a lower or higher value. Repeat.

Displacement is determined in pixels, basically shifting the pixels in lower or higher increments. When all the layers are created, run playback, and you'll see a gradual movement from, 30 to 40 to 50 to 60 pixels, giving the appearance of movement. Ping pong those layers backwards and you got the appearance of moving water.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Mahvin's Displacement Water Reflection Tutorial
PostPosted: Mon Jun 13, 2011 4:28 am  (#20) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Thanks mahvin. I will give it a try.

_________________
Image


Top
Post new topic Reply to topic  [ 43 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Water displacement map (SOLVED)

4

No new posts Attachment(s) Mask Over Photographers in Reflection?

5

No new posts a drop of rainwater where we see a reflection

1

No new posts How to create a displacement map

1

No new posts Attachment(s) Displacement filter doesn't work

11



* Login  



Powered by phpBB3 © phpBB Group