Post Reply 

Dashed line fading into distance?

Oct 16, 2013, 00:43
Post: #1
Dashed line fading into distance?
Hi all,

I'm a bit stumped by how to do this one. Imagine you have an image of a landscape, and you want to draw a dashed/dotted border line (such as between two countries) that goes far into the distance. Naturally, the dashes (and the spaces between them) will get smaller. The line probably isn't straight, either.

Any suggestions for how I should tackle this?

Thanks,
Chris
Find all posts by this user
Quote this message in a reply
Oct 16, 2013, 00:46
Post: #2
RE: Dashed line fading into distance?
Also, my apologies, for I think this is in the wrong area of the forum.
Find all posts by this user
Quote this message in a reply
Oct 16, 2013, 06:26
Post: #3
RE: Dashed line fading into distance?
Christ.Daley Wrote:Also, my apologies, for I think this is in the wrong area of the forum.
Not at all, it happens, for your image, you can try the perspective warp tool...:

Simple, kinda...
First, either make a vertical line with the pencil tool, then erase sections to create the dashed line effect.
Or Paths tool/stroke style:
1 Create a new transparent layer over your landscape picture. (you can name it "borderline")
2 click the Paths tool & click a line down the middle
3 Then go to Edit Stroke path... ( http://docs.gimp.org/en/gimp-path-stroke.html )
4 Next to "stroke line" make the width "10.0 px"
5 Expand the " [+]line style " & click dash preset, choose "medium dashes" you can experiment with the others.(for testing other styles; after you click "Stroke" undo once and repeat step #2)

6 Next you want to match the perspective of the line, to the landscape angle.
- ensure these are enabled(have checkmark next to):
--rulers "view > show rulers..."
-- guides "view > guides"
6.5 You'll see the rulers appear on the top and left side, drag two guides out from the left side, position them in the middle about 2 inches apart,
then, drag one more from the top ruler, down to the horizon line (this will be your vanishing point)

7 then click the Perspective perspective tool and drag the top two corners down to where the two vertical guidelines intersect + + , then click ok or push enter.

To change the color "Colors > Colorize..."

If you want the line to fade into the distance, you'll need to familiarize yourself with layer masks & the "Blend tool" Blend

Good luck, I'll try to make a screenshot of what it will look like Friday, but no promises.

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Oct 16, 2013, 11:30 (This post was last modified: Nov 6, 2013 09:47 by rich2005.)
Post: #4
RE: Dashed line fading into distance?
You can stroke a path (or selection) with a dashed line. Then as above apply a perspective transform.

Work flow might be.
Make new layer
Draw in path
Stroke path
Apply perspective
If required, add a layer mask
paint a gradient in the layer mask to add a bit of fade.

something like this

[Image: 36YrNvl.jpg]

having a tidy up - everyone finished with this ...going..going..gone
video of above http://www.youtube.com/watch?v=MdNoZgC_7Pw&hd=1 about 2 minutes

** https://www.gimp-forum.net/ now answering questions**
Find all posts by this user
Quote this message in a reply
Oct 16, 2013, 13:31
Post: #5
RE: Dashed line fading into distance?
Excellent, thank you both, iForStyle007 and rich2005, for your responses! Thanks especially, Rich, for the instructional video and sketch. Definitely above and beyond (and extremely useful, to boot!).

I think I need to practice the perspective tool more. I tried it in one of my attempts but didn't achieve desired results, so I moved onto trying a different technique, but I see now how useful it should be for my purpose (especially combined with a layer mask fade).

It's for a professional project that will likely go public in about a month, so I'll gladly post results then, if able. Thanks again! Smile
Find all posts by this user
Quote this message in a reply
Oct 16, 2013, 13:44
Post: #6
RE: Dashed line fading into distance?
While it's too late in the development to do that, Ofnuts, that's very good to know for the future. Thanks!
Find all posts by this user
Quote this message in a reply
Oct 19, 2013, 09:41 (This post was last modified: Oct 19, 2013 09:43 by iForStyle007.)
Post: #7
RE: Dashed line fading into distance?
1)(click each for important details)
   
2)     3)    
K, to clarify on my steps above here is a little more in-depth on the guide method in addition.
-For shadow/add-depth:
duplicat the line layer, then change the top layer's color, link & rotate both layers to the angle of the landscape if you didn't in perspective tool.
Move the bottom layer to the side some, then turn the opacity of the under duplicated layer(shadow) to 50.0px then merge those two layers together (not the landscape)

*Notice the screen(2) where I pull the corners to where the guides cross. You can adjust if needed. Also, I scaled the line to make it a little wider/thicker(just scale the sides for this.)

Last, Try to pick a contrasting color for your line so it stands out
In the final screen(3), I used a bi-linear gradient mask to exaggerate the fade out at the start and end of the line.
Have a great weekend all! ^^
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  text line spacing leavitt@buffalo.edu 1 248 Aug 20, 2018 20:07
Last Post: paynekj
  Fading around irregular image WarBeer 2 332 Aug 10, 2018 09:05
Last Post: WarBeer
  Freezes at start of line. DemonSlayer112 3 466 Mar 20, 2018 09:48
Last Post: paynekj
  Can't draw a clean line freehand Dave54 3 755 Jul 12, 2014 16:21
Last Post: Dave54
  command-line optimizing wmichaelv 4 1,424 Jun 11, 2014 08:26
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS