It is currently Sat Jul 06, 2024 8:18 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, 6 ... 8  Next
Author Message
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 8:39 am  (#41) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
dd wrote:

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

Before, I could change the layer mode to see what the colored text on the layer below it looked like. Now if I change the bevel's layer mode, it disappears.

_________________
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:42 am  (#42) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Oh, never mind. I was doing the outer bevel. The inner bevel works fine. Back to the drawing board.

_________________
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:50 am  (#43) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
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:55 am  (#44) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
So the outer bevel has to just be Normal mode? Other modes make it disappear.

_________________
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 9:14 am  (#45) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Oregonian wrote:
So the outer bevel has to just be Normal mode? Other modes make it disappear.


If there's nothing under the bevel, ie. the background is transparent below the bevel, then only normal mode will show.

And with outer bevel, since it goes outside the text, there's no text under it... so you need to have another layer below the text layer to see the outer bevel on other layer modes. (also, some layer modes show poorly on white, so it's better to make the background grey or coloured.)

This is actually a feature of GIMP, it's not something that is dependent of the script... no matter what is on a layer, if you set it on other than normal/dissolve and put it against transparent, it won't show.

It is probably because the other layer modes require a colour to "mix" the layer colour with. Although, it would be a nice feature if you could specify a "default" colour for the image, so that if a layer is on transparent, the blend mode would act as if it was against the default colour. Someone should whisper about this to the GIMP developers ;)


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

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Ah! Now I understand. I was playing with PhotoComix's pattern so went ahead and used it. I set the outer bevel mode to difference and came up with pink. It does demonstrate the outer bevel.

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 9:38 am  (#47) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
That brings up a point I've been thinking about...

Would there be interest in an option to select the colours for the bevel? So that you could set the colour for the light & shadow, so instead of it being black & white it could be for example blue & red.

You can easily do this by applying a gradient map or using the curves tool after the bevel, but I'm wondering if it would be nice to have an automatic colour function.


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

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I like the idea :bigthup

It would certainly do away with the disappearing bevel. If you want to change the color later, apply the layer mask and lock the transparency to change it in Colorize.

_________________
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 10:09 am  (#49) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Yeah... my only concern is, that the options dialog of the bevel script is getting kinda large already... perhaps I should make it into a separate script.


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

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Oops. Had wrong dialog the first time. What would you make separate?

Also, it might be better to create your own menu in Filters to keep your scripts together.

The part I outlined, is that necessary to have in the dialog? It could be used for the colors. Also, perhaps the other options could be a little closer together?

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 10:44 am  (#51) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Oregonian wrote:
Also, it might be better to create your own menu in Filters to keep your scripts together.


Following up on this, actually I moved them to File > Create > dd instead of into Filters. My filters dialog is very long.

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 11:27 am  (#52) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Yeah... I've just always thought that scripts / plugins should be grouped according to what they do.

Oregonian wrote:
The part I outlined, is that necessary to have in the dialog? It could be used for the colors. Also, perhaps the other options could be a little closer together?


I don't know if it can be removed... it may be something that's hard-coded to the python interface.


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

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
dd wrote:
Yeah... I've just always thought that scripts / plugins should be grouped according to what they do.


I agree with you. Your scripts work together though and a few weeks down the line ... may forget that.

_________________
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 3:11 pm  (#54) 
Offline
GimpChat Member
User avatar

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
http://registry.gimp.org/node/24621#comments
That was from RobA replying to someone who asked how to make a preview in Python.
And I think the script is available for download,
I hope this helps

And sorry if that isn't right, and thanks for sharing this great script :D

_________________
Image
I'm back I think


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 4:02 pm  (#55) 
Offline
Script Coder

Joined: Apr 10, 2011
Posts: 532
Willy wrote:
http://registry.gimp.org/node/24621#comments
That was from RobA replying to someone who asked how to make a preview in Python.
And I think the script is available for download,
I hope this helps

And sorry if that isn't right, and thanks for sharing this great script :D


Thanks & you're welcome.

Yeah, I already took a look at the layerfx code (which gave me a headache...) The main thing I gathered from it and this is that to implement a preview (and lots of other cool interface stuff) I'd need to use the GTK libraries, it can't be done with the standard Python-fu interface... I don't really know all that much about coding, it's just a sort of side hobby to me, and I've only just started learning how to do things with Python... so tackling this GTK thing seems a little bit overwhelming right now.

Perhaps I'll manage it some day...


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

Joined: Mar 02, 2011
Posts: 1850
Location: Michigan
I would speak to Ofnuts or Rob A, they seem to be very smart in these sort of things, and I am sure they could help you out :D

And I am sure you will mange dd

_________________
Image
I'm back I think


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 6:34 pm  (#57) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I wanted to show off some more results with dd's filter.
Here is an image of a wood pattern - looks like new wood, and not to much character.
Image

Now add some effects from the filter with a color selection and -

Image

Instant old piece of driftwood. :)

The values will differ of course for selection size , but here is a image from the filter dialog settings.
Image

dd i have one request.
Is there a way to add a size down button to the filter window so i can make it smaller (the dialog)?
I wish all the dialogs had that option actually.Too many times i go to use a nice filter and it opens so big i can not see the okay button. :\

_________________
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: Tue Apr 12, 2011 6:53 pm  (#58) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Handy tip! Thanks, Rod.

_________________
"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: Tue Apr 12, 2011 7:07 pm  (#59) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Oregonian wrote:
Oregonian wrote:
Also, it might be better to create your own menu in Filters to keep your scripts together.


Following up on this, actually I moved them to File > Create > dd instead of into Filters. My filters dialog is very long.


Please, please, please don't do that. Scripts and plugins should register themselves in the appropriate location...

In this case, I think that the original location of Filter->Decor is where it should be located. Just my own opinion. I can't stand having dozens of extra menus created.. one of the reasons I never use the FX Foundary scripts... I never know where to look for stuff.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: Selection bevel and Render texture Python plug-ins
PostPosted: Tue Apr 12, 2011 7:25 pm  (#60) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Wanted to add also the python high end sharpen script url is changed it is now at
http://www.gimphelp.org/scripts/script_ ... sharpen.py

It will open as a txt file save it like this with the quotes.
"high-end-sharpen.py"

_________________
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 new topic Reply to topic  [ 160 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 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