It is currently Wed Apr 24, 2024 12:32 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 46 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Perspective Shadow Advanced Script Rel3 [360 degree shadow]
PostPosted: Fri Nov 15, 2013 9:38 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
This script simply ads fading and 360 degree shadows to gimps default perspective shadow

Image

ImageImage
Menu Location Filters/Light and Shadow/Perspective Advanced

; Rel 0.02 - changed the SELECTION-MASK to a WHITE-MASK and fixed error with respecting selections

; Rel 0.03↓ - added 360 degree shadow ability

Attachment:
Perspective Advanced.scm [6.21 KiB]
Downloaded 360 times

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Wed Aug 06, 2014 2:37 am, edited 4 times 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: Perspective Shadow Advanced Rel2
PostPosted: Sat Nov 16, 2013 5:33 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Excellent Graechan. :)

_________________
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: Perspective Shadow Advanced Rel2
PostPosted: Sat Nov 16, 2013 8:33 am  (#3) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 491
Thank You


Top
 Post subject: Re: Perspective Shadow Advanced Rel2
PostPosted: Sat Nov 16, 2013 6:30 pm  (#4) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Thank you to everyone who tried my simple changes to perspective as a project initiated by Rod with Input by all it turned out well

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Sat Nov 16, 2013 7:16 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Graechan, you have so many super duper scripts now I am going to have to start a new folder called Graechan's Scripts next to the other script folder.

_________________
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Sat Nov 16, 2013 7:49 pm  (#6) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Molly my scripts I use the most are
Export to directory
Billboard
Font display

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Mon Aug 04, 2014 4:50 pm  (#7) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
I'm having much difficulty trying to get this script to create the kind of perspective shadow I'm after.
Is there a way that you can give a detailed description of what the settings are for and give us a few examples of different kinds of shadows and there possible settings?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Mon Aug 04, 2014 8:09 pm  (#8) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I hope this helps to explain the settings

Image

Angle
The angle determines the direction of the shadow or the imaginary source of light, respectively. Values range from 0° to 180°, where 90° represents a light source just in front of the selection or layer. For angles less than 90°, the shadow is at the right side, so the light source is on the left. For angles greater than 90°, it's the other way round. Tip: think of the slider's handle as source of light.

Relative distance of horizon
This option determines how far away the imaginary horizon is. The relative distance is the distance from the ground-line of the selection or layer, the “unit” of measurement is the height of the selection or layer.
Value range is from 0.1 to 24.1, where 24.1 means (nearly) “infinite”. Note that the relative length of shadow must not exceed the distance of horizon.

Relative length of shadow
With this option you can set the length of shadow with respect to the height of the selection or layer.
Value range is from 0.1 to 24.1, although the length of shadow must not exceed the relative distance of horizon - you can't go beyond the horizon.

Blur radius
After creating the shadow, a Gaussian blur with the specified radius is applied to the shadow layer, resulting in the realistic appearance of the shadow.

Color
Of course, the default color of the shadow is black. But a click on the button opens the color selector, where you may select any other color.

Opacity
The shadow's opacity is the opacity of the new layer containing the shadow

Interpolation
This drop-down list lets you choose the method of interpolation used when the shadow layer is transformed, for example rotated by the specified angle. Using None will usually result in aliasing, using any interpolation method may change the color of the shadow in some areas. Linear is a good choice.

Fade%
amount of graduated fade along the length of the shadow

Allow resizing
If enabled, the filter will resize the image if that is needed to make place for the shadow

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Mon Aug 04, 2014 8:55 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Conbagui, not as yet but I guess it's not impossible (head scratch)

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 4:35 am  (#10) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
I may not be the sharpest tool in the shed, but even with your explanation I'm not getting the kind of shadow I want.
The shadow in the image below took me a few minutes doing it manually. I can't figure out the settings of this script to produce this simple shadow. If I'm having issues with it, then there must be others experiencing the same thing with this script.
Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 5:22 am  (#11) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Looks good to me Wallace.

_________________
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 5:50 am  (#12) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
molly wrote:
Looks good to me Wallace.

Thanks Molly, but have you tried to work with this script to produce a perspective shadow?
If not, give it a try and let us know how it goes. ;)

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 12:21 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
thank you Graechan

Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 12:49 pm  (#14) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Wallace wrote:
molly wrote:
Looks good to me Wallace.

Thanks Molly, but have you tried to work with this script to produce a perspective shadow?
If not, give it a try and let us know how it goes. ;)

ok, I will give it a try

_________________
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 1:05 pm  (#15) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
molly wrote:
ok, I will give it a try

I feel that this script could benefit from the addition of a preview window, showing it's results as the setting are entered; and or changed.
Good luck Molly. ;)

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 1:08 pm  (#16) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
2 different fonts
One layer
same default settings using perspective shadow
Image

same font, same settings in perspective
Image

_________________
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 1:31 pm  (#17) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
molly wrote:
2 different fonts
One layer
same default settings using perspective shadow
[ Image ]

same font, same settings in perspective
[ Image ]

Looks a bit off kilter to me. :?

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 1:50 pm  (#18) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I think what Wallace suggested would work very well. That is to have a preview window so we can see a live preview of what our settings will do.
Hint hint

_________________
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 3:19 pm  (#19) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13016
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
conbagui wrote:
Wallace: That front shawdow is what I been looking for. I can do it manually, but there it should be a script that will create the effect.
[ Image ]

Yes I understand what you're looking for. The Perspective Advanced.scm available in this thread could work; but I find it difficult to work with.
Why don't you give it a try to see how it works for you? Then post whatever results you come up with.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Perspective Shadow Advanced Script Rel2
PostPosted: Tue Aug 05, 2014 3:48 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
here are some tables, I hope somebody will find interesting
Image
Angle variation
Image


Top
Post new topic Reply to topic  [ 46 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Drop Shadow help

6

No new posts Attachment(s) [solved] drop shadow around a selection

17

No new posts Attachment(s) Multiple Layer Shadow plugin

0

No new posts Attachment(s) Shadow and Refletion text effect plugin

2

No new posts Attachment(s) Gimp Filter Light and Shadow Lighting Effects

42



* Login  



Powered by phpBB3 © phpBB Group