It is currently Tue Sep 02, 2014 7:29 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 104 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next
Author Message
 Post subject: Logo Workshop - Release Candidate V.04
PostPosted: Tue Oct 18, 2011 7:36 am  (#1) 
Offline
GC Founder/Coder
User avatar

Joined: May 22, 2008
Posts: 4437
Location: Gimpville
This script has been replaced with Logo Toolbox

I haven't released a new script in several years so I decided write a modular logo script I call "Logo Workshop".

The goal is to create a versatile logo script that's easily expandable to include new functions and effects.

With all the talent we have here on Gimp Chat, I'm hoping other members and script writers will get involved with suggestions and assist in developing new features and effects. As it stands now, the script is fairly basic but the framework is in place to allow easy integration of new modules and effects.



Image

You can run the script from File/Create/Logos (gimpchat.com) or from Filters/Alpha To Logo, depending on whether you are starting from scratch (File/Create) or you will be starting with an image and related alpha channel (Alpha to logo).

Currently, the script produces several layers including, a logo layer, a fill layer, a stroke layer, a shadow layer and optional effects layers.

The stroke and shadow layers are configurable from the input dialog, with the fill layer currently supporting 3 types of fills: color fill, pattern fill and gradient fill. The colors for "color fill" and stroke color are also specified in the initial script dialog.

The script will use GIMP's currently selected patten and gradient for the "Pattern fill" and "Gradient fill" operations.

There is also a bevel option. Setting the bevel depth to a value greater than zero will bevel the logo layer by that amount. Set bevel to zero for no beveling.

Setting the stroke width to zero will direct Logo Workshop not to generate a stroke layer.

Setting the shadow opacity to zero will direct Logo Workshop not to generate a shadow layer.

Currently, eight effects have been included in the "Added Effect" section.

1) Pattern bump map layer: The bump pattern is selected on the input screen and is separate from the fill pattern. When "Bump with Pattern" is selected and the bump depth is greater than zero, the script will add an additional logo layer that is bump mapped with the Bump Pattern.

2) Gloss layer: Adds a gloss layer per Rods suggestion. The width of the gloss layer is controlled by "Added Effect depth"

3) Translucent/Glass Layer: This code was lifted directly from the Glass Effect Text Script (obsoleting that script). To create a standard glass layer, set bevel to 0, stroke to 0 and use a color or gradient fill. Glass depth is controlled by "Added Effect Depth" with a depth of 1-2 being about right. Of course, you can get some interesting and unexpected effects by experimenting with these values. ;)

4) Double Stroke - The color and size of the inner stroke is controlled using stroke color and stroke width in the initial dialog. The outer stroke is an offset using the background of the logo layer as the stroke. The offset/outer stroke width is controlled via "effect depth"

5) Double bevel performs a 2nd bevel inside the 1st bevel to achieve the effect of more depth. Both operations use the same bevel depth specified in the initial dialog.

6) Cubism effect is applied to the fill layer. Adjust effect depth setting to control the cubism effect.

7) Oilify effect is applied to the fill layer. Adjust effect depth setting to control the oilify effect.

8) Plasma effect is applied to the fill layer. Adjust effect depth setting to control the plasma effect.

Here are a just a few basic examples of what can be done with the Logo Workshop. More detailed examples are are displayed throughout this thread.

Standard Color Fill With Bevel
Image

Color Fill with Stone Pattern Bump Map
Image

Pattern Fill
Image

Gradient Fill
Image

Another Gradient Fill
Image

Bump Mapped Brick Pattern
Image

Alpha To Logo Example
Image

Double Stroke
Image

Offset Stroke (via double stroke)
Image

Double Bevel (more depth)
Image

Double Bevel Shiny
Image

Plasma Fill
Image

I'm hoping others will contribute some code or ideas for more "Added Effects". Just post any bugs, suggestions or script updates/additions to this thread and I'll get Logo Workshop updated and re-attached.

Thanks and I hope everyone finds it useful.

; ---------------
;| Change Log |
; ---------------
; RC 0.01 - Initial Release Candidate
; RC 0.02 - Code clean-up, keep user selection, more descriptive variable names, eliminate tabs from source
; Add gloss layer and glass layer
; RC 0.03 - All elements on separate layers, Stroke to path implemented, allow shadow to be toggled off
; RC 0.04 - Dumped stroke to path, code optimization, dialog tweak, double stroke, double bevel, added
; three new effects (cubism, olify & plasma) to fill layer, proper layer arrangement
;
;

_________________
Image
"The trouble with coders is that you can never tell what they're doing until it's too late." - Seymour Cray


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 7:45 am  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 11474
Wow, that is great. I grabbed it and it is already installed, thanks Tux.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 7:57 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1782
Location: Dallas, TX
Fan-freakin-tastic! Great job 'Tux. I like the way you added the versatility to it based on our conversations from the water effects script thread. I'm guessing the "undo" is built-in as well. I'll get a lot of use out of this one. Thanks!

_________________
Image


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:06 am  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 11474
I wanted to test out my new font and new script at the same time. I will do some more experimenting with the filter later, love it so far.
Image
Image

_________________
Image


Last edited by molly on Tue Oct 18, 2011 8:27 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:09 am  (#5) 
Offline
GC Founder/Coder
User avatar

Joined: May 22, 2008
Posts: 4437
Location: Gimpville
Thanks Molly. That's looking good.

I did keep in mind our discussion on the water effect script, Drac. There's not a lot of undo functions because everything is on a separate layer but you can easily undo the Alpha to Logo operation in one undo so experimenting will be easy.

Also, if you need more control over the Bump Map, I've made it easy to modify the script.

You'll find this starting at line 124..

;
; Call bump map plug-in
;
   (plug-in-bump-map
                     1              ; Interactive (0), non-interactive (1)
                     img            ; Input image
                     effect-layer   ; Input drawable
                     bump-pat       ; Bumpmap drawable
                     130            ; Azimuth (float)
                     55             ; Elevation (float)
                     bdep           ; Depth
                     0              ; X offset
                     0              ; Y offset
                     0              ; Level that full transparency should represent
                     0              ; Ambient lighting factor
                     TRUE           ; Compensate for darkening
                     FALSE          ; Invert bumpmap
                     LINEAR)        ; Type of map (0=linear, 1=spherical, 2=sinusoidal)
      )
    ) ; Endif Pattern Bump
;


Just make the changes you need, save the script and go to Filters/Script-Fu/Refresh.

_________________
Image
"The trouble with coders is that you can never tell what they're doing until it's too late." - Seymour Cray


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:23 am  (#6) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 476
This has limitless potential.

Image

Wish I knew more about coding.

I'd like to see the results with an inner shadow option and an offset option.


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:29 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 11474
One thing I noticed. I picked a pattern to use and it keeps using the pine wood grain, no matter which one I select. I had a canvas pattern selected for the cat above.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:36 am  (#8) 
Offline
GC Founder/Coder
User avatar

Joined: May 22, 2008
Posts: 4437
Location: Gimpville
Molly, select the patten you want for the logo "pattern fill" in GIMP. The patten you select in the pop-up dialog is only used for the bump map effect layer. That way, you can have one pattern for the fill and another for the bump map.

Mike wrote:
I'd like to see the results with an inner shadow option and an offset option.

Thanks for the good suggestions, Mike! An inner shadow sounds like nice enhancement. I'm running out of space on the Text Input Screen but there's more space available on the Alpha to Logo Screen. It depends on screen resolution as to how much space one has. I have had to increase my screen resolution to run some scripts, where their pop-up dialog is off the screen. I wish script-fu allowed for multiple columns or a multi-page entry screen.

_________________
Image
"The trouble with coders is that you can never tell what they're doing until it's too late." - Seymour Cray


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:53 am  (#9) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 476
One more ... wish I had more time to play with this.

Image


Top
 Profile  
 
 Post subject: Re: Logo Workshop - Release Candidate V.01
PostPosted: Tue Oct 18, 2011 8:54 am  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 11474
I have the canvas fill selected and here is what I get.
Image
My settings:
Image

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 104 posts ]  Go to page 1, 2, 3, 4, 5 ... 11  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 4 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 Gimp Chat's RSS Feed    * Subscribe to Gimp Chat's Tutorial Feed    * Subscribe to Gimp Chat's G'MIC Feed


Powered by phpBB3 © phpBB Group