It is currently Fri Mar 29, 2024 2:23 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 160 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 2:28 pm  (#1) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
They work nicely together. I love the results. Be sure to remove .txt at the end of the file names, and Linux users enable them in Permissions. Text must be, right-click text layer > Alpha to Selection for the Selection bevel.

Selection bevel

Render texture

Image

Selection bevel is found in <image> Filters > Distorts > Bevel...

Render texture is found in <image> Filters > Render > Texture...

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


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: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 6:38 pm  (#2) 
Offline
GimpChat Member

Joined: Mar 07, 2011
Posts: 206
how did u do this?


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 7:16 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
Image :D

What OS do you have Miguel

_________________
Image
I'm back I think


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 9:22 pm  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
M1GU3L05 wrote:
how did u do this?
First you need to have Python. Do you?

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


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 9:39 pm  (#5) 
Offline
GimpChat Member

Joined: Mar 07, 2011
Posts: 206
os?


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 9:44 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4039
Operating System. Windows XP, Vista, 7, Linux...

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 10:00 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2010
Posts: 2253
Location: Retired Moderator Slowly Returning to the Living.
Love It!


Attachments:
New Sweet 2.jpg
New Sweet 2.jpg [ 45.89 KiB | Viewed 6481 times ]

_________________
Artists aren't crazy! We're eccentric! ~G.M. Ross

Image

My Sigs = My Photos
Check out my work at http://www.flickr.com/photos/photomastergreg.
Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 10:05 pm  (#8) 
Offline
GimpChat Member

Joined: Mar 07, 2011
Posts: 206
mahvin wrote:
Operating System. Windows XP, Vista, 7, Linux...

how do i get os?


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 10:14 pm  (#9) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4039
Well, if you are a Windows user. You have a start button bottom left of your screen:

Click on Start.
Select Run.
In the Open field, type winver and click OK.
This will bring up a dialog box with the Windows version and service pack information.

If you were a Linux user, you would know you were a Linux user.

If you are using a Mac, I have no idea how to help you.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sat Apr 09, 2011 10:27 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Apr 30, 2010
Posts: 1937
Location: Missouri
Got them, thanks. I don't like to admit it but Xara still goes 3d text the best. I look forward to when it's not the best tool for that job. This will still be fun to experiment with.

_________________
Image
The last time I kept an open mind,
my brain fell out and the dog grabbed it.
Now it's full of dirt, toothmarks, and dog slobber.
No more open minds or dogs for me.


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 6:28 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
mahvin wrote:
If you are using a Mac, I have no idea how to help you.

:rofl

And Miguel you need to have Python-Fu installed with your GIMP Package (another Fun expierence for me). Then you just open the code there in Notepad++ and save it as a Python File in GIMP>Lib>GIMP>2.0>Plug-ins

Hope that helps

_________________
Image
I'm back I think


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 11:01 am  (#12) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Hi, I'm glad you guys like my scripts.

Just to let you know, I just updated both scripts today, Bevel 1.3 and Texture 1.1 are now out with some additional features in both. The bevel script especially is worth updating, the new version produces much nicer results than the earlier ones.

Also, the texture script now creates the texture in the image size and alpha-masks it with the selection, this way you don't need to redo the whole texture if you change the object you've textured later.


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 11:08 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
Image

_________________
Image
I'm back I think


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 11:11 am  (#14) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
dd wrote:
Hi, I'm glad you guys like my scripts.

Also, the texture script now creates the texture in the image size and alpha-masks it with the selection, this way you don't need to redo the whole texture if you change the object you've textured later.
Thanks for the updates, dd. :welcome to Gimp Chat, too.

I have used the script several times already. :mrgreen: Now to try those new scripts. :gimp

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


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 11:51 am  (#15) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I like the updates. The selection mask is especially cool.

Image

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


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 12:55 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks dd! :)
Great additions to Gimp.

Image

_________________
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: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 1:00 pm  (#17) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Thanks everyone... It's nice to see people are finding these scripts useful, it certainly encourages me to publish any future scripts I come up with.

Oregonian wrote:
Thanks for the updates, dd. :welcome to Gimp Chat, too.


Thanks, it looks like a cool website. Only thing that bothers me is the font being so large (looks kinda weird on my 19")... but I guess I'll get used to it ;)

It seems I forgot to add an opacity setting to the texture script, so I might do another update soon-ish.

Also, there's a slight glitch in both scripts... I read in the PDB help that by setting the layer position as -1 in the add_layer procedure, the layer should be added above the current active layer, but instead it seems to go to the top of the stack. If anyone who knows more than me about the inner workings of GIMP could educate me why this is happening, I'd appreciate it.


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 1:08 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
I had the Same problem dd I found that if I messed around with Zoom it would look a little more Natural, not sure what my screen size is, but it looks better now.

And this is the best site to get help with the Inner Workings of GIMP besides probably a Dev site, even then I wouldn't be sure

_________________
Image
I'm back I think


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Sun Apr 10, 2011 8:13 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I just had to play with this some more after installing Sams circle grid script. :lol
I call it "The Cage"

Needs a little blur probably but oh well.
Image

_________________
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: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 1:49 am  (#20) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
^ That looks pretty cool.

Here's a little example I made, illustrating how you can use these scripts to variate the "hardness" of objects:

Image

The text texture here is made with the Additional noise setting high, and Pre-blur at 0. The texture on the background object has less noise, but higher pre-blur, so you can see the difference there... a crisper texture with no blur makes for harder looking objects, while more blurred and less detailed textures look softer.

As for bevels... I set the background object to have a high inner feather, so it makes the bevel very soft and rounded (this works pretty well with the spherical setting and high blurs), which makes the object look softer. The text bevel has no inner feather, and the shape setting at Steep, which gives a very crisp and well defined bevel, making the object look harder.

Some explanations on how the scripts work:

The texture script works by applying solid noise, then if additional noise >0 it adds hsv-noise, and if pre-blur>0 it adds a gaussian blur. Lastly it embossess it all with the lower settings (azimuth etc.) so basically, the first 3 settings control the main contours & detail level of the texture, additional noise adds very fine detailed rubble, and pre-blur smooths things out (so they kind of cancel each other, but not exactly... play around with them and you'll see how they interact).

The bevel basically works by using the blend tool, then applying some effects, then embossing. The pre- and post-blurs are blurs applied before and after embossing.


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Tile selection plug-in

1

No new posts use in python of plug-in lighting

4

No new posts Attachment(s) GIMP Python-Fu Plug-in template

4

No new posts GIMP 2.10 doesn't install my python plug-ins

1

No new posts Plug-in crashes after OS upgrade: python version mismatch? maybe?

4



* Login  



Powered by phpBB3 © phpBB Group