If you'd like to upload plug-ins, please create an account below. Otherwise (e.g. for download or commenting) you do not need one! Enjoy :-)
Builds displacement map to produce realistic water-like 3D reflection effect. Based on idea from Photoshop Tutorial: Displacement Water
Version 1.2
Changes:
1. Additional control over parameters:
- 3D correction
- Initial noise level
2. Option to decompose result into two layers image (separate X and Y)
3. Minor changes and optimization (i.e. now called "Water reflection map")

Please see tutorial with step-by-step instructions and images here.
| Attachment | Size |
|---|---|
| dm-gen-1.2.scm | 7.98 KB |
Comments
Can't Select Layers
I can't seem to select the X or Y layer when I try to displace something. I can see a bunch of other layers, but not the ones from the generated displacement map. Even if I copy/paste them into the image I am working on. Not sure why this happens.
Sizes of layers?
Make sure the sizes of layers are the same and yes, you may need to copy them into the image.
water reflection
ok so i make the displace map not even sure im doing that correctly then i go filters>map>displace and "makes sure its selected" how. i need more in depth instructions should the map thinghy be in the other window created by the script how do i select etc all a have is a mass of gray i dont know how to use this please help.
An Easy to Follow Tutorial
I created a "beginners" version tutorial on my blog for those of us who need a little more clarification and picture examples.
Check out http://www.mahvin.com/?p=1019
Link to the step-by-step tutorial
"Use Filters -> Map -> Displace and specify the layer with DM in drop-down menus. Adjust X and Y displacement in a way that Y = 2*X"
Link is here:
http://www.flickr.com/groups/gimpusers/discuss/72157612835414323/7215761...
-----
Are you awake?
Color
It's normal that the water is in greyscale?
Re: Color
Script doesn't change anything in reflection. It produces map which can then be applied to form the water-like ripples. So, if the original reflection was colorful, it should stay so after map applied.
Use channels instead?
Since GIMP's displacement map filter accepts separate drawables for the X and Y offsets, wouldn't it be preferable if the script produced two separate channels rather than employing the red and green components of a single layer?
Good idea for v.2.0 !
That's a very good idea for version 2.0. Thanks!
Also on list: number of 3D corrections from user
UPD.: included in 1.2 ;-)
Thanks heaps :)
Thanks heaps :)
Klasse, auf so was warte ich
Klasse,
auf so was warte ich schon lange. Bis jetzt habe ich mein Wasser immer zu Fuß gemacht.
Super!
Lieben Gruß
Avarra
Example
Can You publish a example?
Example
1. Duplicated layer.
2. Layer vertically mirrored (so we've got the reflection)
3. Generate map by script with same dimension as layer
4. Filters -> Map -> Displace
(select map generated by script)
Got this to work, but...error while generating map
Hi,
Got this to work but when I ran the script, there was an error while generating the map. The map was available in the displace menu though.
Thanks,
Jay
water reflection displacement map generator
Any chance of a more detailed tutorial on how to use this script? .. I have installed the script but can't figure out how to apply it to an image after generating it :/
the effect in the example pic looks beautiful !
I would recommend to check
I would recommend to check the tutorial first. I gave the link to it in the script description (see "Photoshop Tutorial: Displacement Water")
The script actually builds displacement map (as described in part 1 of the tutorial).
water reflection
Hi there, I have read the 'photoshop' tut .. but I still don't know how to replicate it with Gimp ... hmm lol .. I suppose I need step logic .. (fairly new to this)
thanks anyway :)
How about this?
http://www.flickr.com/groups/gimpusers/discuss/72157612835414323/
I tried the tut.
I tried the link above and came up with nothing (almost nothing, a upside down eye that looks like it should have been in the 60s and with a rough connection point). I don't know what I am doing wrong.
water reflection
Thanks for the link Lucidlook .. I have managed to follow that tut and actually came up with something.. ish lol .. (still having probs with the map bit) .. but I shall keep trying :)
What is a script and how do you run it?
Hey everyone.... I'm using Gimp 2.6 - how do I actually generate the displacement map? In every tutorial I've run, it says "run the script to blah blah"... but how? I think the previous poster is in a similar position - he doesn't know how to run the actual script.
Thanks, and nice one
Regards,
Asfand Yar Qazi
EDIT: answering my own question.... for the benefit of the previous poster, I put the script in to '~/.gimp-2.6/scripts/' rather than '~/.gimp-2.6/plug-ins', and a new 'Script-Fu' menu appeared in the top-level menu.... got it!