It is currently Fri May 24, 2013 10:43 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




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

Joined: Mar 23, 2012
Posts: 3111
Location: UK
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

_________________
Image




Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

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

Joined: Jan 20, 2012
Posts: 582
Location: Heading to Montana
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

BE THE THUNDER!
Image


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

Joined: Sep 24, 2010
Posts: 5024
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 332 times ]

_________________
Lyle

Psalm 109:8

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

Joined: May 09, 2012
Posts: 567
Bonjour,

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


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

Joined: Sep 24, 2010
Posts: 5024
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 296 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Profile  
 
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 2:45 am  (#6) 
Offline
Gimp Scripts Editor
User avatar

Joined: Jun 22, 2010
Posts: 582
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 286 times ]


Kevin


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

Joined: Oct 25, 2010
Posts: 1305
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 271 times ]


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

_________________
Image


Top
 Profile  
 

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

Joined: Aug 24, 2011
Posts: 1776
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
 Profile  
 
 Post subject: Re: Lines around the edge of a disc or cylinder
PostPosted: Sat Aug 18, 2012 2:29 pm  (#9) 
Offline
Gimp Scripts Editor
User avatar

Joined: Jun 22, 2010
Posts: 582
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 238 times ]


Kevin


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

Joined: Oct 25, 2010
Posts: 1305
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
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group