Gimp-Forum.net

Full Version: Making a flag
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi There

I am trying to make a flag and I have been following this
Photorealistic Flags Tutorial - Imgur
Problem I am having is when I hit the stage of displace as gimp has come on a long way since this post 2016
The displace tool is not doing anything to the flag layer and I cant work out why or is there another way?

Cheers

Forget this as I have started again from scratch and now it works so no idea what happened there Smile
Since I have just made this example using Gimp 2.10 there might be something in that helps

https://youtu.be/yiY08SOtfvU
(02-07-2024, 03:11 PM)rich2005 Wrote: [ -> ]Since I have just made this example using Gimp 2.10 there might be something in that helps

https://youtu.be/yiY08SOtfvU
I had a go at the method using your video but when i come to the displace part the flag does displace but not the edges.
Any idea why?
(02-07-2024, 04:54 PM)Lucasuk Wrote: [ -> ]I had a go at the method using your video but when i come to the displace part the flag does displace but not the edges.
Any idea why?

I do not know. Did you add a border to allow for the edge to move ?
(02-07-2024, 05:07 PM)rich2005 Wrote: [ -> ]
(02-07-2024, 04:54 PM)Lucasuk Wrote: [ -> ]I had a go at the method using your video but when i come to the displace part the flag does displace but not the edges.
Any idea why?  

I do not know. Did you add a border to allow for the edge to move ?

Started again from scratch following your video and again the edges of the flag stay straight and the parts in the flag distort. Cant work it out
(02-07-2024, 05:27 PM)Lucasuk Wrote: [ -> ]Started again from scratch following your video and again the edges of the flag stay straight and the parts in the flag distort. Cant work it out

No, neither can I. Without knowing what you are doing, it is guesswork Wink

Anyway, that is the difference between the old displacement map dialogue shown in the tutorial and the Gimp 2.10 dialogue.
A common error is that the map used and the layer to displace are not the same size,
The map/layer used for displacement and the layer to be displaced should be at the same size and be referenced at the top left corner, thus > Layer to image size for both will do it Wink
(02-07-2024, 05:40 PM)PixLab Wrote: [ -> ]A common error is that the map used and the layer to displace are not the same size,
The map/layer used for displacement and the layer to be displaced should be at the same size and be referenced at the top left corner, thus > Layer to image size for both will do it Wink

Ok now i am confused because in the video done by Rich the map is bigger as its a new layer which is the same size as the canvas and the flag is smaller but 20%
If i untick clamp on the abyss policy then the edge move but it leave a black background where the edges have moved.
@Lucasuk

You better leave it for another day Wink

What the video shows
The map layer
The map layer with the canvas size increased using Image -> Canvas Size giving transparent borders
edit: check that Resize layers: = All layers and Fill with: = Transparency

A new layer for the displacement map. This is the same size as the canvas.
A displacement map created / painted in / blurred as necessary. The painted area is larger than the flag but it does not matter, the layers are the same size.

The displacement map applied.
Did you...
Set the displacement map in both inputs (one is for horizontal displacement, the other for vertical)
Break the link between horizontal slider and vertical slider
Adjust each slider.
(02-07-2024, 05:27 PM)Lucasuk Wrote: [ -> ]
(02-07-2024, 05:07 PM)rich2005 Wrote: [ -> ]
(02-07-2024, 04:54 PM)Lucasuk Wrote: [ -> ]I had a go at the method using your video but when i come to the displace part the flag does displace but not the edges.
Any idea why?  

I do not know. Did you add a border to allow for the edge to move ?

Started again from scratch following your video and again the edges of the flag stay straight and the parts in the flag distort. Cant work it out

Displace maps work "backwards". They tell where a pixel in the map comes from, not where it goes to. 

So your your displace map (shaped like the wavy flag) maps the straight flag into a shape (probably the selection) which is the outline of the wavy flag. 

Whether that actually works using the wavy flag greyscale image is a very different matter, which I will leave to the author of the original tutorial (IMHO, sheer luck...).
Pages: 1 2