It is currently Thu Mar 28, 2024 10:35 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 144 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 2:51 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4726
- Create your text using the Text tool, then extract the path with Text-to-path. This is going to be the top/front
- Using the Transform tools (Scale/Move, mostly) in "Path mode" generate the path for the bottom/back. It is important that the transforms keep the number of anchors in the paths (they normally do, but if you use other methods, this should be adhered to).
- Use the path-inbetweener script to generate the intermediate paths (about one path per pixel of the maximum distance between the two paths). Generate the paths starting with the bottom/back path, towards the front
- prepare a gradient going from the "back" color to the "front" color (usually, the "back" color is going to be darker)
- set the brush to something small (the 1px brush (which is 3x3) works OK)
- use the stroke-visible-paths script (normally with the "Use gradient" option) to stroke the paths
- this generates hollow letters, you can add top layer, and bucket-fill a selection obtained from the "top" path.
- flatten image if necessary

Scripts are here

Attachment:
Hollow.png
Hollow.png [ 44.16 KiB | Viewed 11215 times ]

Attachment:
Covered.png
Covered.png [ 34 KiB | Viewed 11215 times ]


Attachments:
Ofnuts-3D Text Tutorial.pdf [48.44 KiB]
Downloaded 688 times

_________________
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: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 3:03 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 12978
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
Nice! :jumpclap

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 4:41 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Cool ofnuts

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 6:03 pm  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Well now that was an adventure. How did you get your gradient to shade your letters like that? I used the color with gradient dynamic and I like the way yours came out better.

I had to stroke each path individually. The stroke visible paths didn't work for me, just made a blob of color.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 6:15 pm  (#5) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Ofnuts can you put it all together in 1 python plugin for 3d text

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 7:31 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4726
Oregonian wrote:
Well now that was an adventure. How did you get your gradient to shade your letters like that? I used the color with gradient dynamic and I like the way yours came out better.

I had to stroke each path individually. The stroke visible paths didn't work for me, just made a blob of color.

[ Image ]


I didn't use dynamics (I'm not even sure that they are emulated in the script-induced stroke). stroke-visible-path should work. What were your paintbrush settings? In particular, which brush did you use?

I didn't use anything special as the gradient. One green, and darker green obtained by reducing the Value from same in the Color selector.

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 8:28 pm  (#7) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Here are the settings I used and the results. As you can see, I have the brush set at 3px.
Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 9:09 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
'O' the brush settings have a bug in 2.8 that was fixed in 2.8.14, where the brush selected actually uses it's default size, so you should have used the '1. Pixel' brush

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 10:07 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12513
Still tired from my 360 mile round trip. Very cool stuff ofnuts. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sat Oct 25, 2014 10:43 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
That 3D look is excellent Ofnuts. :) Would be nice to see a python logo filter for it.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 4:56 am  (#11) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4726
Graechan wrote:
'O' the brush settings have a bug in 2.8 that was fixed in 2.8.14, where the brush selected actually uses it's default size, so you should have used the '1. Pixel' brush

Indeed. And you should have more intermediate paths (otherwise there will be gaps). You could also use a slightly bigger brush, but bigger brushes will round off sharp corners.

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 8:55 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 591
Please, someone could turn instructions ofnuts in a more accessible tutorial?

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 10:17 am  (#13) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Carlos Diniz wrote:
Please, someone could turn instructions ofnuts in a more accessible tutorial?
I'll give it a try, Carlos.
Finally!
Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 10:18 am  (#14) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
very nice O

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 10:20 am  (#15) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thank you, Molly. I could have probably used a little fatter brush ... I see some of the teal background showing through.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 10:30 am  (#16) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
Ofnuts, perhaps you'd consider adding an option in your 'stroke-visible-paths' procedure to fill the paths* rather than stroke them. This would eliminate the spacing problem Oregonian is experiencing and would overcome the brush size bug pre-2.8.14. If the spacing is too great, there would be banding in the result, but at least there'd be no transparency or oversized outlines.

* actually, select from the path and fill the selection; but of course you knew that.

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Last edited by saulgoode on Sun Oct 26, 2014 11:49 am, edited 1 time in total.

Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 10:32 am  (#17) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Oregonian wrote:
Thank you, Molly. I could have probably used a little fatter brush ... I see some of the teal background showing through.

That is the part I like about it. It looks like a transparent type of ribbon.

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 11:03 am  (#18) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Carlos Diniz wrote:
Please, someone could turn instructions ofnuts in a more accessible tutorial?
Carlos, I made a pdf document of the tutorial and put it in Ofnut's first post and also here.

One more try.
Image


Attachments:
Ofnuts-3D Text Tutorial.pdf [48.44 KiB]
Downloaded 271 times

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein
Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 12:03 pm  (#19) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4726
saulgoode wrote:
Ofnuts, perhaps you'd consider adding an option in your 'stroke-visible-paths' procedure to fill the paths* rather than stroke them. This would eliminate the spacing problem Oregonian is experiencing** and would overcome the brush size bug pre-2.8.14. If the spacing is too great, there would be banding in the result, but at least there'd be no transparency or oversized outlines.

* actually, select from the path and fill the selection; but of course you knew that.


Done. Also added an option to create a single layer. See version 0.3 at the usual place.

_________________
Image


Top
 Post subject: Re: 3D text using my paths scripts
PostPosted: Sun Oct 26, 2014 4:24 pm  (#20) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
OK, here's the new script in action:

Top left is the "lid" which will fit on either of the others. Top right is stroke, bottom is fill. All done with the same script v0.3.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
Post new topic Reply to topic  [ 144 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Find and fill paths if closed, convert closed paths to transparent

1

No new posts Attachment(s) Users' Paths

2

No new posts Attachment(s) plugin for paths

24

No new posts Paths Tool Help

1

No new posts Juxtapose exactly duplicate paths

2



* Login  



Powered by phpBB3 © phpBB Group