It is currently Sat May 18, 2013 9:32 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 155 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 16  Next
Author Message
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 3:30 pm  (#31) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8914
Location: "Looking for my eraser" =P
ninjad by dd :lol

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 

 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 3:33 pm  (#32) 
Offline
GimpChat Member

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


Top
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 3:41 pm  (#33) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 435
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:

Code:
#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
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Mon Apr 11, 2011 3:46 pm  (#34) 
Offline
GimpChat Member

Joined: Feb 06, 2011
Posts: 337
@ 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 400 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 400 times ]
Top
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 7:20 am  (#35) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 435
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
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 9:09 am  (#36) 
Offline
Administrator
User avatar

Joined: May 22, 2008
Posts: 5456
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
Law of Gravity - Any tool, nut, bolt, screw, when dropped, will roll to the least accessible place.
Image


Top
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 9:11 am  (#37) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 435
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
 Profile  
 

 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 9:14 am  (#38) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 435
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
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 9:30 am  (#39) 
Offline
Administrator
User avatar

Joined: May 22, 2008
Posts: 5456
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
Law of Gravity - Any tool, nut, bolt, screw, when dropped, will roll to the least accessible place.
Image


Top
 Profile  
 
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 9:34 am  (#40) 
Offline
GimpChat Member

Joined: Apr 10, 2011
Posts: 435
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
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 155 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 16  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