| 
		
	
	
	
		
	Posts: 10 
	Threads: 3 
	Joined: Oct 2022
	
 Reputation: 
0 Gimp version: 
 Operating system(s): Windows Vista or 7, 8, 10 (64-bit)
	 
	
		
		
		02-07-2024, 12:54 PM 
(This post was last modified: 02-07-2024, 01:36 PM by Lucasuk.)
	
	 
		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   
		
	 
	
	
	
		
	Posts: 7,771 
	Threads: 166 
	Joined: Oct 2016
	
 Reputation: 
1,069 Gimp version: 
 Operating system(s): Linux
	 
	
	
		Since I have just made this example using Gimp 2.10 there might be something in that helpshttps://youtu.be/yiY08SOtfvU
		
	 
	
	
	
		
	Posts: 10 
	Threads: 3 
	Joined: Oct 2022
	
 Reputation: 
0 Gimp version: 
 Operating system(s): Windows Vista or 7, 8, 10 (64-bit)
	 
	
	
		 (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?
	 
		
	 
	
	
	
		
	Posts: 7,771 
	Threads: 166 
	Joined: Oct 2016
	
 Reputation: 
1,069 Gimp version: 
 Operating system(s): Linux
	 
	
	
		 (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 ?
	 
		
	 
	
	
	
		
	Posts: 10 
	Threads: 3 
	Joined: Oct 2022
	
 Reputation: 
0 Gimp version: 
 Operating system(s): Windows Vista or 7, 8, 10 (64-bit)
	 
	
	
		 (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
	 
		
	 
	
	
	
		
	Posts: 7,771 
	Threads: 166 
	Joined: Oct 2016
	
 Reputation: 
1,069 Gimp version: 
 Operating system(s): Linux
	 
	
	
		 (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    
Anyway, that is the difference between the old displacement map dialogue shown in the tutorial and the Gimp 2.10 dialogue.
	 
		
	 
	
	
	
		
	Posts: 1,538 
	Threads: 71 
	Joined: May 2021
	
 Reputation: 
167 Gimp version: 
 Operating system(s): Linux
	 
	
		
		
		02-07-2024, 05:40 PM 
(This post was last modified: 02-07-2024, 05:42 PM by PixLab.)
	
	 
		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   
Patrice
 
		
	 
	
	
	
		
	Posts: 10 
	Threads: 3 
	Joined: Oct 2022
	
 Reputation: 
0 Gimp version: 
 Operating system(s): Windows Vista or 7, 8, 10 (64-bit)
	 
	
		
		
		02-07-2024, 06:16 PM 
(This post was last modified: 02-07-2024, 06:20 PM by Lucasuk.)
	
	 
		 (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
  
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.
	 
		
	 
	
	
	
		
	Posts: 7,771 
	Threads: 166 
	Joined: Oct 2016
	
 Reputation: 
1,069 Gimp version: 
 Operating system(s): Linux
	 
	
		
		
		02-07-2024, 06:55 PM 
(This post was last modified: 02-07-2024, 07:05 PM by rich2005.)
	
	 
		@Lucasuk 
You better leave it for another day    
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.
	
		
	 
	
	
	
		
	Posts: 6,913 
	Threads: 296 
	Joined: Oct 2016
	
 Reputation: 
605 Gimp version: 
 Operating system(s): Linux
	 
	
		
		
		02-07-2024, 08:46 PM 
(This post was last modified: 02-07-2024, 08:47 PM by Ofnuts.)
	
	 
		 (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...).
	 
		
	 |