Gimp-Forum.net
Making a flag - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Making a flag (/Thread-Making-a-flag)

Pages: 1 2


Making a flag - Lucasuk - 02-07-2024

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


RE: Making a flag - rich2005 - 02-07-2024

Since I have just made this example using Gimp 2.10 there might be something in that helps

https://youtu.be/yiY08SOtfvU


RE: Making a flag - Lucasuk - 02-07-2024

(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?


RE: Making a flag - rich2005 - 02-07-2024

(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 ?


RE: Making a flag - Lucasuk - 02-07-2024

(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


RE: Making a flag - rich2005 - 02-07-2024

(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.


RE: Making a flag - PixLab - 02-07-2024

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


RE: Making a flag - Lucasuk - 02-07-2024

(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.


RE: Making a flag - rich2005 - 02-07-2024

@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.


RE: Making a flag - Ofnuts - 02-07-2024

(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...).