It is currently Sun Sep 20, 2026 6:10 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Lines around the edge of a disc or cylinder
PostPosted: Fri Aug 17, 2012 3:50 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Intermediate Level



Does anybody know of an easy way or script to replicate lines with increasing spaces between them as if around the edge of a disc or cylinder? (like the texture on the edge of a coin.)

Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Fri Aug 17, 2012 6:41 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2012
Posts: 583
You could use a set of guides and a fuzzy brush draw the lines in a rectangle selection. The coin edge would be the combination of a metallic gradient thats set the biliner, than with the fuzzy lines, to add depth.

_________________


"In the face of adversity, there's three things: fly, freeze or fight; We're choosing to fight..."- Guy Boucher, Tampa Bay Lighting Head Coach


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Fri Aug 17, 2012 7:16 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Dot brush with spacing then motion blur. Added some gradient tricks to make it dark/light/dark. Something like this Erisian? :)


Attachments:
Untitled.png
Untitled.png [ 5.09 KiB | Viewed 2248 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Fri Aug 17, 2012 8:43 pm  (#4) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

2 filters: one to obtain lines, one for different spacings between the lines.


Attachments:
exemple.png
exemple.png [ 34 KiB | Viewed 2232 times ]
Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Fri Aug 17, 2012 9:48 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Thought I would do some additional processing on my original. I cropped, dupped, horizontal flipped set to darken, then added some metallic effects (thanks to Tom's Metallic G'MIC preset) and a few additional tweaks for this result. :)


Attachments:
Untitled.png
Untitled.png [ 6.76 KiB | Viewed 2212 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 1:45 am  (#6) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I would have said that rendering a grid: Filters>>Render>>Pattern>>Grid then mapping the resulting grid to a cylinder Filters>>Map>>Map Object but I don't think it's doing it properly at the edges:

Attachment:
Untitled.png
Untitled.png [ 2.75 KiB | Viewed 2202 times ]


Kevin


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 4:33 am  (#7) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Erisian wrote:
GIMP Version: 2.6.11
Operating System: Windows
OS Version: XP - SP3
GIMP Experience: Intermediate Level



Does anybody know of an easy way or script to replicate lines with increasing spaces between them as if around the edge of a disc or cylinder? (like the texture on the edge of a coin.)

Image

Using my path-in-betweener script:
- with the Path editor make a first path along top edge
- with the Path editor make a second path along bottom edge
- In the Path list, right click either path, and "Tools/Generate intermediate paths"
- select the other path as the end path
- enter total number of lines
- use the "Swing" stretch (which happens to be using a sine function, which is exactly what we need here)
- use no Guide path
- this produces N paths, all marked "visible"
- in the Paths list right click any of these, and "Merge visible paths"
- stroke the resulting path

Attachment:
Cylinder.png
Cylinder.png [ 2.1 KiB | Viewed 2187 times ]


PS: looks like I forgot to update the doc, which still doesn't know about the more recent parameters

_________________
Image


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 9:47 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1785
Location: Dallas, TX
paynekj wrote:
I would have said that rendering a grid: Filters>>Render>>Pattern>>Grid then mapping the resulting grid to a cylinder Filters>>Map>>Map Object but I don't think it's doing it properly at the edges:

Attachment:
Untitled.png


Kevin


I like this result and this would have been my suggestion as well if you hadn't beaten me to it. You can always crop the unwanted portions of the edges like I usually do to remove the edge distortions after using Motion blur.

The only problem I can see is isolation or removal of the shadow if it is not wanted or needed for the intended application.

_________________
Image


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 1:29 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Draconian wrote:
The only problem I can see is isolation or removal of the shadow if it is not wanted or needed for the intended application.


The shadow is easy to remove - just select No Light on the Light tab of Map Object

Just for a laugh, I did it on paper... with a pencil, compasses and a ruler

Attachment:
IMGP8041_from_raw_sml.jpg
IMGP8041_from_raw_sml.jpg [ 287.18 KiB | Viewed 2154 times ]


Kevin


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 4:19 pm  (#10) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
paynekj wrote:
Just for a laugh, I did it on paper... with a pencil, compasses and a ruler

Attachment:
IMGP8041_from_raw_sml.jpg


Kevin
This should give exactly the same result as my script :)

_________________
Image


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 6:21 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Ofnuts - I can't work out how to download your script. Looks like it might be what I need.


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 6:52 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
samj wrote:
Bonjour,

2 filters: one to obtain lines, one for different spacings between the lines.


Thank you Samj. I'll experiment with this.

Thank you as well paynekj I'll give that a go.


Top
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 7:55 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Erisian wrote:
Ofnuts - I can't work out how to download your script. Looks like it might be what I need.

Download is here: http://sourceforge.net/projects/gimp-pa ... s/scripts/

_________________
Image


Top
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group