Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

GEGL Stained Glass Tile theory (concept not a plugin yet)

Thu Jan 11, 2024 10:16 pm

I don't know if I am going to turn this GEGL syntax into a Gimp plugin because it doesn't look "that good" IMO but I'll show off my stained glass tile effect GEGL graph anyway. Take a good look at it and look for "black damage marks" I don't know how to remove them and keep the effect. If you guys want I will turn it into a filter regardless of its flaws.

glass_tile_soon.png
glass_tile_soon.png (673.3 KiB) Viewed 782 times


glass_tile_study.png
glass_tile_study.png (444.75 KiB) Viewed 782 times


Here is the code to make a glass tile effect in GEGL Graph it requires the Nov 2023 update of my bevel plugin that ships with GEGL Effects.
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases

Code:
#content inside Grain Extract blend mode.
id=1
gimp:layer-mode layer-mode=grain-extract blend-space=rgb-perceptual aux=[ ref=1
high-pass  contrast=1 std-dev=1
gimp:desaturate mode=luminance
mean-curvature-blur iterations=1
]

#The Blur and noise spread "virtual layer" below the glass
gaussian-blur std-dev-x=1 std-dev-y=1
noise-spread amount-x=2 amount-y=2

# The glass tile effect
id=2 gimp:layer-mode layer-mode=hardlight opacity=0.35 aux=[ ref=2 pixelize norm=square
size-x=160 size-y=160 ratio-x=0.250 ratio-y=0.950 norm=square  ratio-x=0.950 ratio-y=0.950
emboss depth=1 elevation=12  ]
median-blur radius=0

# My Bevel plugins recently added mode "Stacked emboss" being called to make the glass shine.
id=3 gimp:layer-mode layer-mode=divide opacity=0.006 aux=[ ref=3
lb:bevel type=stackedembossbevel]



# emboss by the multiply blend mode
id=4
gimp:layer-mode layer-mode=multiply opacity=0.25 aux=[ ref=4 emboss depth=20 ]



glass_tile_hero.png
glass_tile_hero.png (1.01 MiB) Viewed 782 times
Post a reply