It is currently Fri Aug 07, 2026 11:09 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: GEGL PERPSECTIVE DROP SHADOW (THEORY - NOT A PLUGIN YET))
PostPosted: Sun Oct 15, 2023 4:13 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
This GEGL syntax makes a perspective drop shadow. It does NOT include the blue sky bevel.

Attachment:
syntax_perspective_shadow.png
syntax_perspective_shadow.png [ 157.23 KiB | Viewed 2877 times ]


Attachment:
pasted_image281.png
pasted_image281.png [ 97.22 KiB | Viewed 2877 times ]


id=1
dst-over aux=[ ref=1
median-blur radius=23 alpha-percentile=35
gaussian-blur std-dev-x=9 std-dev-y=9


opacity value=0.65
transform transform=matrix(0.92003078135894545,-0.038200287650397756,-4.8312409489881634e-05,-0.065568440826609717,0.17503055804991158,-0.0001353270199615508,1.5301303863525391,536.86383056640625,1) 


color-overlay value=#000000


lens-distortion zoom=-2
translate x=24  y=-300
]


In this thread I will brainstorm on how to make this a GEGL plugin with many perspective shadow options. This is difficult because GEGL cannot call Gimp's transform tools; recursive transform is a special exception that Gimp's team enabled for only that plugin. I plan on making a drop down list of different perspective shadows with an x and y move tool and a gaussian blur option.


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: GEGL PERPSECTIVE DROP SHADOW (THEORY - NOT A PLUGIN YET))
PostPosted: Sun Oct 15, 2023 4:19 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
If Gimp's team allowed Unified Transform and or Pesperctive Transform to also call "gegl:color-overlay" and "gegl:gaussian-blur" this plugin would not be needed. What I am doing is a sloppy excuse for not having those options in transform tools.


Top
 Post subject: Re: GEGL PERPSECTIVE DROP SHADOW (THEORY - NOT A PLUGIN YET))
PostPosted: Sun Oct 15, 2023 9:22 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 859
Location: SEA - South East Asia
contrast_ wrote:
If Gimp's team allowed Unified Transform and or Pesperctive Transform to also call "gegl:color-overlay" and "gegl:gaussian-blur" this plugin would not be needed. What I am doing is a sloppy excuse for not having those options in transform tools.

You mean, not having those options in "Drop Shadow"? :mrgreen:

If I may, and maybe it can help you to take in count this real life effect now, instead of re-writing your plugin later...
When I do those type of drop shadow, I do NOT use the Gaussian blur filter in the filters menu, but instead I use the Filters > Blur > Focus blur... to get a smooth transition of the increasing blur from start to end,
Because the shadow further away is, more blurred should it be, it's a real life physical property ;)
Attachment:
screenshot_20231016-102651.jpg
screenshot_20231016-102651.jpg [ 75.51 KiB | Viewed 2862 times ]


Attachment:
screenshot_20231016-104346.jpg
screenshot_20231016-104346.jpg [ 69.11 KiB | Viewed 2862 times ]

_________________
Patrice


Top
 Post subject: Re: GEGL PERPSECTIVE DROP SHADOW (THEORY - NOT A PLUGIN YET))
PostPosted: Mon Oct 16, 2023 2:06 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2019
Posts: 282
Location: Lake Havasu City, Arizona, USA
I love it when you guys share. I learn a so much new stuff.

_________________
Charles


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group