It is currently Sat Jul 06, 2024 8:31 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 160 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 8  Next
Author Message
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 1:58 am  (#21) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Oh, one more thing...

The texture script can also be used to add a sort of grunge to photos:

Image


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 2:15 am  (#22) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Heheh - Cool. :)

_________________
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 8:14 am  (#23) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
For those of you who don't have python, a reminder of my chisel script that does much the same as selection bevel.
http://registry.gimp.org/node/24217

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 8:57 am  (#24) 
Offline
GimpChat Member

Joined: Feb 06, 2011
Posts: 342
Ok Here is mine. :)

I beveled the text, butterfly, and bee. I texture rendered the text. :)

Liana :paint


Attachments:
spring.png
spring.png [ 191.88 KiB | Viewed 1695 times ]
Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 9:24 am  (#25) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Liana, that turned out really pretty. :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: Mon Apr 11, 2011 9:51 am  (#26) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Lianam wrote:
Ok Here is mine. :)

I beveled the text, butterfly, and bee. I texture rendered the text. :)


Very nice. Only, the text looks a bit pixelated... do you have the "antialiasing" option turned on when you use the text tool?


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 1:34 pm  (#27) 
Offline
GimpChat Member

Joined: Feb 06, 2011
Posts: 342
@dd As far as I know I have it on in my graphics card because of other things I do. I am not sure if it is an option in GIMP. I did try to look quick. I do have one question does the texture render always come out with no color in it's layer when it is done? Thanks for the plug-ins and I love the cat. :bigthup

@O Thanks :) I like yours and Photomaster's how did you get the colors to turn out that way?

liana :paint


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 1:46 pm  (#28) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Lianam wrote:
@O Thanks :) I like yours and Photomaster's how did you get the colors to turn out that way?

liana :paint


The texture layer is colorless. How it affects your image is governed by the layer modes and also possibly the opacity.

You can change those settings in the Layers window. At the top is Mode: and the Opacity slider is there too.

I suggest you experiment starting with a new image and filling the background layer with a color. Right-click the background layer and choose, Alpha to Selection then going to the Texture script and just use the default settings click OK. Ctrl + Shift + A to turn off the selection.

Be sure you have the texture layer on top and clicked on. Experiment with the Modes and the opacity. Note: you can use your mouse wheel to scroll through the modes.

_________________
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: Mon Apr 11, 2011 2:28 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Lianam your antialiasing option can be found in the text tool options dialog itself.
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 2:29 pm  (#30) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Lianam wrote:
@dd As far as I know I have it on in my graphics card because of other things I do. I am not sure if it is an option in GIMP. I did try to look quick. I do have one question does the texture render always come out with no color in it's layer when it is done? Thanks for the plug-ins and I love the cat. :bigthup


When you select the text tool, the toolbox shows you the tool options for the text tool... you know, where you select the font, size, etc. There you should see 3 check-boxes: Anti-aliasing, Hinting & Force Auto-hinter. I usually check all of these on. Anti-aliasing makes your text smoother and not pixelated. Hinting aligns the text so that it matches the pixel grid, which hugely improves the readability of text especially on small sizes.

The texture always comes out colourless. If you have the latest version, it should have an option to select a layer mode.


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 2:30 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
ninjad by dd :lol

_________________
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 2:33 pm  (#32) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
What, no... you fastposted me... :P


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 2:41 pm  (#33) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
dd wrote:
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.


So anyway... if anyone can offer some insight to this I'd really appreciate it.

The relevant code looks like this:

#create the bevel layer       
   newlayer = gimp.Layer(timg, "Bevel", timg.width, timg.height, ltype, opacity, lmode)       
   timg.add_layer(newlayer, -1)


The variables should be self-explanatory...


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 2:46 pm  (#34) 
Offline
GimpChat Member

Joined: Feb 06, 2011
Posts: 342
@ O I see what you mean. I went ahead and played with what I had already just adjusted the mode layer and opacity on the render layer. I made the text before i did the texture render. I also colored the text using gradiant.

I also worked on a new one and experimented a bit. :paint

@dd yea I found it again working on a new one. I have it on. I was thinking it may appear that way because on the original I put color the rendered texture layer. :lol


Liana


Attachments:
Liana.png
Liana.png [ 112.17 KiB | Viewed 1715 times ]
File comment: opacity and layer mode change on the render texture layer it sits over my colored text.
spring.png
spring.png [ 191.56 KiB | Viewed 1715 times ]
Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 6:20 am  (#35) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Ok, I'm not going to officially publish the next update before I figure out how to get the layers to appear to the right place, but if anyone wants to beta-test this "pre-release", here you go:

http://www.fileden.com/files/2010/2/7/2 ... evel1_4.py

Changes: I replaced the shape radio selection with a slider that adjusts the shape more accurately. A smaller shape setting is more like "dimpled" and larger is more like "spherical" or "steep".
Also, I added a "pre-noise" setting. It applies some noise before embossing (and before the pre-blur). It's set at 0 by default though.

Let me know what you think of the new functions.


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 8:09 am  (#36) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I do like the sliders better. Gives better control of the outcome. A preview window would be the ultimate coolness. :hehe

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: Tue Apr 12, 2011 8:11 am  (#37) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Ok, nevermind, I figured out what was wrong. Therefore I'm now publishing version 1.41 of selection bevel.

The latest bevel can be downloaded from the registry, here:

http://registry.gimp.org/node/25199

And here's a little sample of it:

Image

- yes, you can do outer bevels now, and the "down" function works properly.


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 8:14 am  (#38) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Oregonian wrote:
I do like the sliders better. Gives better control of the outcome. A preview window would be the ultimate coolness. :hehe


Thanks for trying it... now go and try 1.41! :mrgreen: (ain't I great with the rapid-fire updates...)

Yeah, a preview would be very cool. Thing is, I have absolutely no idea how to create one... :oops:


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 8:30 am  (#39) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
dd wrote:
Oregonian wrote:
I do like the sliders better. Gives better control of the outcome. A preview window would be the ultimate coolness. :hehe


Thanks for trying it... now go and try 1.41! :mrgreen: (ain't I great with the rapid-fire updates...)

Yeah, a preview would be very cool. Thing is, I have absolutely no idea how to create one... :oops:
This and I'm still half asleep. You sure know how to try and wake a person up, dd.

I'm having trouble with 1.41. Normal mode I can see the bevel but changing the layer mode makes it disappear on all other modes except dissolve.

_________________
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: Tue Apr 12, 2011 8:34 am  (#40) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Oregonian wrote:
I'm having trouble with 1.41. Normal mode I can see the bevel but changing the layer mode makes it disappear on all other modes except dissolve.


Hm. Is the bevel on transparent background? The other layer modes, except for normal & dissolve, are not visible against transparent.


On another note, here's one more example I made:

Image


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
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

No new posts Attachment(s) GEGL Edge Only Bevel (part of MISC BEVEL COLLECTION)

7



* Login  



Powered by phpBB3 © phpBB Group