It is currently Sun Jul 07, 2024 1:15 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Multiple Shadows Script for GIMP
PostPosted: Fri Nov 04, 2016 4:43 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Let's say you have multiple layers, and you want to drop shadow for all of them.
Here's a script that'll help with that.
Each layer will drop shadow on all layers below while making the appropriate cuts so that you're left with a single shadow layer that makes it look like all layers are casting shadows on each other at different depths.
Image
same sample as above but this time i outlined the text.
Image
To download, click here --> Multiple Shadows Script for GIMP

_________________
TinT


Last edited by trandoductin on Wed Nov 28, 2018 12:17 pm, edited 1 time in total.

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: Multiple Shadows Script for GIMP
PostPosted: Fri Nov 04, 2016 9:43 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
It's a py plug in, darn it. I use mainly script-fu scripts as most py scripts don't play nice with my macgimp.


Top
 Post subject: Re: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 2:09 am  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Script-fu version is here.
Image

To download, click here --> Multiple Shadows (scm) Script for GIMP

_________________
TinT


Last edited by trandoductin on Wed Nov 28, 2018 12:14 pm, edited 1 time in total.

Top
 Post subject: Re: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 3:12 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Can you add the ability to work with layer groups also?

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: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 11:26 am  (#5) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Where's the word art script?
I want to use it to see what it generates before i attempt to play with groups since i have never done that before

_________________
TinT


Top
 Post subject: Re: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 2:00 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
trandoductin wrote:
Where's the word art script?
I want to use it to see what it generates before i attempt to play with groups since i have never done that before

Bytes and Pixels website is here. Lots of goodies waiting for you there. :)
http://www.bytes-and-pixels.com/

You want version 1.2 of the python filter
http://www.bytes-and-pixels.com/downloads/?did=13

_________________
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: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 2:04 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I could just do a new from visible in the filter but i want to be able to adjust text and their shadows separately after running the shadow filter.

_________________
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: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 5:05 pm  (#8) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
You can't move shadows around after the fact because my script creates shadow on top of shadows
like top layers would cast shadow to each layer below it creating illusion of different depths.
And it needs to make appropriate cuts using layers above the one that is being dropped shadow on and cuts out what isn't on the layer that is being casted on...
then very end it merges everything because it uses opacity at 100% then set opacity afterwards to users settings.
because I didn't want shadows to over lap each other and and with higher opacity at overlaps because it looks bad.
So you can't play with shadows once they're created.
Check out the examples it casts a different shadow that has different offset on each layer below it. if this final shadow layer is shifted/moved at all it would break.

_________________
TinT


Top
 Post subject: Re: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 9:33 pm  (#9) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
I am having problems trying to work with layergroups.
layergroups is returned as layer and a drawable....
and the children are returned as ids which i don't know how add to my list of layers.
it's all very confusing to me right now.

_________________
TinT


Top
 Post subject: Re: Multiple Shadows Script for GIMP
PostPosted: Sat Nov 05, 2016 9:54 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
trandoductin wrote:
You can't move shadows around after the fact because my script creates shadow on top of shadows
like top layers would cast shadow to each layer below it creating illusion of different depths.
And it needs to make appropriate cuts using layers above the one that is being dropped shadow on and cuts out what isn't on the layer that is being casted on...
then very end it merges everything because it uses opacity at 100% then set opacity afterwards to users settings.
because I didn't want shadows to over lap each other and and with higher opacity at overlaps because it looks bad.
So you can't play with shadows once they're created.
Check out the examples it casts a different shadow that has different offset on each layer below it. if this final shadow layer is shifted/moved at all it would break.

I gotcha. ;)

_________________
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: Multiple Shadows Script for GIMP
PostPosted: Sun Nov 06, 2016 11:11 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7316
Location: Göteborg at last!
Just logged in to let you know how fantastic you are tin!!! :hi5 I have thought something like this would be very useful for a long time but the thought kept dissolving in the stew that is my brain. Thank you! :tyspin :coolthup


Top
 Post subject: Re: Multiple Shadows Script for GIMP
PostPosted: Sun Nov 06, 2016 1:30 pm  (#12) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4003
Location: Canada
Great! ;)

Next time you think of something like it and think it's great, you HAVE GOT to share it with the world although explaining it might be a challenge...but share anyways so anyone who understands can try to script it and turn it into reality.

_________________
TinT


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Enhance Shadows Plug-in

2

No new posts are highlights, midtones and shadows relatively defined

2

No new posts Attachment(s) add multiple guides

5

No new posts MULTIPLE GIDES

3

No new posts Multiple Continuous Droste GIF

1



* Login  



Powered by phpBB3 © phpBB Group