It is currently Fri Jun 21, 2024 1:03 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: GEGL Outline Glow Types - potential plugin idea
PostPosted: Fri Apr 26, 2024 8:33 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1440
I am thinking of making a plugin that does outer glow to inner glow transitions depending on rather a invert checkbox is pressed. The GEGL syntax used to create it is here

id=1
component-extract component=alpha invert=true
color-to-alpha color=white
dropshadow radius=10 color=white x=0 y=0 opacity=2
color-to-alpha color=black
color-overlay value=#34ff00
crop aux=[ ref=1 ]




Invert set to false (inner glow)

Attachment:
invert_false.png
invert_false.png [ 131.18 KiB | Viewed 4088 times ]


Invert set to true (outline, shadow glow)

Attachment:
2024-04-26_09-20.png
2024-04-26_09-20.png [ 132.28 KiB | Viewed 4088 times ]


Plugin is expected to be used with GIMP blend modes (Blending Options). Try pasting the syntax in GEGL graph and changing the invert checkbox and dropshadow values to see how it functions.


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 Outline Glow Types - potential plugin idea
PostPosted: Sun Apr 28, 2024 12:33 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1440
I just found an alternative method to make an inner glow and inverted inner glow

Here is what is going on

id=1 is the bookmark of the original text that will be used as a mask for a blend mode later

Gaussian Blur is the blur radius of the inner glow

Translate is the movability X and Y of inner glow. The same thing as the X and Y that moves drop shadow.

Color Overlay is the color of the Inner Glow

Opacity is the hyper opacity of the inner glow that goes above 100%

src-out/src-in are GEGL exclusive blend modes that erase content outside a input mask which in this case is the text. So imagine a text mask knocking out the red gaussian blur puff outside. Src-out does exactly that, and src-in does that but with inverted transparency. ref=1 is the bookmark of the original text being called

Inner Glow
Attachment:
2024-04-28_13-24.png
2024-04-28_13-24.png [ 132.49 KiB | Viewed 3989 times ]



id=1
gaussian-blur std-dev-x=10 std-dev-y=10 abyss-policy=none clip-extent=false
translate x=0 y=0
src-out aux=[ ref=1   ]
color-overlay value=#ff032f
opacity value=1.3


Inverted Inner Glow

Attachment:
2024-04-28_13-24_1.png
2024-04-28_13-24_1.png [ 129.69 KiB | Viewed 3989 times ]


id=1
gaussian-blur std-dev-x=10 std-dev-y=10  abyss-policy=none clip-extent=false
translate x=0 y=0
src-in aux=[ ref=1   ]
color-overlay value=#ff032f
opacity value=1.3




I am discussing technical ways to revamp and perfect my existing plugins and others have yet to begin making a GEGL plugin


Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts GEGL Aura (Outer Glow and Inner Glow with flame seed) applied together

1

No new posts Attachment(s) GEGL Inner Glow (Filter of itself but now ships with GEGL Effects)

37

No new posts Attachment(s) GEGL Custom Bevel - Change internal blend modes, blur types & more

39

No new posts Attachment(s) Baby's first GEGL plugin - a very basic GEGL plugin anyone can make.

9

No new posts Attachment(s) GEGL Double Glow Duel Lighting -- An Advance Filter

5



* Login  



Powered by phpBB3 © phpBB Group