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

Re: Make people metal with GEGL

Mon Aug 29, 2022 1:32 am

Rod wrote:1) Count me in! :)


2) Me as well :bigthup

Re: Make people metal with GEGL

Mon Aug 29, 2022 8:19 am

I'll get to it and I have an idea to make it four steps to justify making a filter.

Re: Make people metal with GEGL

Mon Aug 29, 2022 9:41 am

NOTE TO FORUM READERS -- THIS FILTER IS GEGL:CHROME! A FILTER THAT BRANCHED FROM GEGL METALLIC! GEGL:METALLIC IS NOT A TEXT STYLING FILTER ON ITS OWN WHERE AS GEGL CHROME IS.

Requires third party GEGL:Bevel, GEGL:Metallic and GEGL:innerglow
Image

Image

Image

Image

Image

So much hype for the filter but it is

Image


It's too complicated to turn into a filter. The only way I can turn this into a filter is if I downgrade it and the text will have rough jagged edges worse then Glossy Balloon.

Here's the graph and it will come with multiple variations. REMEMBER, Bevel, Metallic and stand alone InnerGlow third party operations are needed for this to work

Code:
median-blur radius=04 alpha-percentile=65

bevel th=0.096 azimuth=14  radius1=5  bevel1=65  th=0.1


metallic solar1=22 solar2=53 solar3=24 light=3


id=1
gimp:layer-mode opacity=100  layer-mode=split blend-space=auto composite-mode=auto composite-space=auto  aux=[  ref=1  innerglow grow-radius=3  radius=11 value2=#000000    ]


dst-over aux=[ ref=1 box-blur radius=1 median-blur radius=1   ] 

bloom strength=10
unsharp-mask scale=0.2
softglow glow-radius=6
dropshadow x=6 y=4 opacity=0.75 radius=6  grow-radius=1


Code:
median-blur radius=04 alpha-percentile=30

bevel th=0.096 azimuth=14  radius1=5  bevel1=65  th=0.1


metallic solar1=22 solar2=53 solar3=24 light=3


id=1
gimp:layer-mode opacity=100  layer-mode=split blend-space=auto composite-mode=auto composite-space=auto  aux=[  ref=1  innerglow grow-radius=3  radius=11 value2=#000000    ]


dst-over aux=[ ref=1 box-blur radius=1 median-blur radius=1   ] 

bloom strength=10
unsharp-mask scale=0.2
softglow glow-radius=6
dropshadow x=6 y=4 opacity=0.75 radius=6  grow-radius=1


Code:
median-blur radius=04 alpha-percentile=9

bevel th=0.096 azimuth=61  radius1=5  bevel1=65  th=0.1


metallic solar1=72 solar2=13 solar3=74 light=3


id=1
gimp:layer-mode opacity=100  layer-mode=split blend-space=auto composite-mode=auto composite-space=auto  aux=[  ref=1  innerglow grow-radius=3  radius=11 value2=#000000    ]


dst-over aux=[ ref=1 box-blur radius=1 median-blur radius=1   ] 

bloom strength=2
unsharp-mask scale=0.2
softglow glow-radius=2
dropshadow x=6 y=4 opacity=0.75 radius=6  grow-radius=1

Re: Make people metal with GEGL

Mon Aug 29, 2022 12:49 pm

where would I find "bevel" ?

Re: Make people metal with GEGL

Mon Aug 29, 2022 12:51 pm

Bevel is part of GEGL Effects. It comes with it.

The InnerGlow that comes with GEGL Effects is not the same stand alone innerglow as the one I have on github

Re: Make people metal with GEGL

Mon Aug 29, 2022 3:15 pm

These require a
Code:
color-overlay value=#ffb386
in front of them for best results

Code:
color-overlay value=#ffb386
crop
bevel th=0.096 azimuth=10  radius1=9 bevel1=65  th=0.1


metallic solar1=22 solar2=53 solar3=24 light=6 smooth=2


id=1
gimp:layer-mode opacity=100  layer-mode=split blend-space=auto composite-mode=auto composite-space=auto  aux=[  ref=1  innerglow grow-radius=3  radius=11 value2=#000000    ]


dst-over aux=[ ref=1 box-blur radius=1 median-blur radius=1   ] 


bloom strength=1
unsharp-mask scale=0.2
softglow glow-radius=4
noise-reduction iterations=3
dropshadow x=6 y=4 opacity=0.95 radius=4  grow-radius=1

Re: Make people metal with GEGL

Tue Aug 30, 2022 3:26 am

This is my result.
I'm still on GIMP 2.10.28 ...
The filters produce a lot of errors, maybe because of that. The results look fine though.
I'll update GIMP only when the colour picker bug is really gone.
Maybe in 2.10.34...
Image

Re: Make people metal with GEGL

Tue Aug 30, 2022 3:49 am

One more:
Image

Re: Make people metal with GEGL

Tue Aug 30, 2022 7:00 am

Nice results contrast. :bigthup

Silver-Text_RD.png
Silver-Text_RD.png (559.71 KiB) Viewed 2354 times

Re: Make people metal with GEGL

Tue Aug 30, 2022 5:21 pm

Good news! I reworked the graph and I know this new graph is possible to be turned into a filter. It doesn't even need innerglow. However, it will take a lot of work as it is still confusing. The final line is the hardest thing to put in the graph.

REQUIRES GEGL BEVEL AND GEGL METALLIC


Image


Code:
color-overlay value=#ffb386
bevel th=0.096 azimuth=60  radius1=3  bevel1=65  th=0.1
metallic solar1=22 solar2=53 solar3=24 light=6 smooth=2
bloom strength=18
unsharp-mask scale=0.2
softglow glow-radius=2
noise-reduction iterations=3
id=1  gegl:over aux=[ ref=1  xor aux=[  ref=1  median-blur radius=2 alpha-percentile=1    ] median-blur radius=2 alpha-percentile=55 percentile=9 gaussian-blur std-dev-x=1 std-dev-y=1  opacity value=2
median-blur radius=3 ]



Said final line in question is
id=1 gegl:over aux=[ ref=1 xor aux=[ ref=1 median-blur radius=2 alpha-percentile=1 ] median-blur radius=2 alpha-percentile=55 percentile=9 gaussian-blur std-dev-x=1 std-dev-y=1 opacity value=2
median-blur radius=3 ]


it is possible to put in a graph the convention way but just really tedious to get the node connections right.

Re: Make people metal with GEGL

Tue Aug 30, 2022 5:35 pm

This one is even better.

Code:
color-overlay value=#ffb386
bevel th=0.096 azimuth=60  radius1=3  bevel1=65  th=0.1
metallic solar1=22 solar2=53 solar3=24 light=6 smooth=2
bloom strength=18
unsharp-mask scale=0.2
softglow glow-radius=2
noise-reduction iterations=3
id=1  gegl:over aux=[ ref=1  xor aux=[  ref=1  median-blur radius=2.4 alpha-percentile=1    ] median-blur radius=2 alpha-percentile=54 percentile=9 gaussian-blur std-dev-x=1 std-dev-y=1  opacity value=3
median-blur radius=2 ]

Re: Make people metal with GEGL

Wed Aug 31, 2022 12:58 am

contrast_ wrote:This one is even better.

Code:
color-overlay value=#ffb386
bevel th=0.096 azimuth=60  radius1=3  bevel1=65  th=0.1
metallic solar1=22 solar2=53 solar3=24 light=6 smooth=2
bloom strength=18
unsharp-mask scale=0.2
softglow glow-radius=2
noise-reduction iterations=3
id=1  gegl:over aux=[ ref=1  xor aux=[  ref=1  median-blur radius=2.4 alpha-percentile=1    ] median-blur radius=2 alpha-percentile=54 percentile=9 gaussian-blur std-dev-x=1 std-dev-y=1  opacity value=3
median-blur radius=2 ]


CHROME-NEW_RD.png
CHROME-NEW_RD.png (1.34 MiB) Viewed 887 times


I agree! :bigthup

Re: Make people metal with GEGL

Wed Aug 31, 2022 3:53 pm

Do not confuse GEGL Metallic with GEGL Chrome. This thread is about GEGL Metallic. It is not a text styling filter on its own.
Image


Too learn more about the filter that branched from GEGL Metallic (GEGL Chrome) see here.
viewtopic.php?f=9&t=20100&p=276282

Re: Make people metal with GEGL

Thu Sep 01, 2022 11:48 pm

GEGL Metallic now has the ability to invert the original image with a slider that only has on and off settings.

Image

Re: Make people metal with GEGL

Wed Sep 13, 2023 12:30 pm

download here.
https://github.com/LinuxBeaver/gimp-met ... L/releases

This plugin got a huge update.

1. It now has a color overlay mode.

2. It has a liquidify slider that makes the metal liquid-ish or smoother.

3. It now has alt graphs that make even better gold, though they have limited editable properties.


Previews

Image

Image

pasted_image018.png
pasted_image018.png (1.74 MiB) Viewed 715 times


DIRECTORY TO PUT BINARIES


**Windows**

C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

**Linux**

/home/(USERNAME)/.local/share/gegl-0.4/plug-ins

**Linux (Flatpak includes Chromebook)**

/home/(USERNAME)/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins


Remember, this filter is intended to make people and objects gold, not text. But it will work if applied to a bevel; but not plain text.

Re: Make people metal with GEGL

Wed Sep 13, 2023 9:41 pm

Little late to the party, Contrast_; impressive stuff. :)

Re: Make people metal with GEGL

Sun Oct 01, 2023 11:18 am

Metallic when fused with the LCH Lightness, Luminance or HSV Value blend mode (in Gimp) with a few other things can make a glass person.

glass_study.png
glass_study.png (906.6 KiB) Viewed 652 times



I cannot turn all of this into a filter because certain steps; such as talking to Gimp layers below cannot be automated in GEGL. The theory of making a person glass is NOT the same as making text glass and vice versa.

Re: Make people metal with GEGL

Sat Oct 07, 2023 1:17 pm

*download in link

Huge breakthrough in GEGL plugin development. (PRESETS SHOULD RARELY BREAK)

I figured out how GEGL Plugins can update without breaking presets by putting the updated code in the drop down list and optionally making the updated code run at start up. That way the legacy code is still in the filter; thus presets don't break and plugins that need this filter will work with either version (old or new).

If you don't update, all filters that use this plugin will be fine.
If you do update, all filters that use this plugin will be fine.

A WIN WIN!

Metallic is the only filter of mine that does this; because none others have have potential breakable updates yet. Notice how the drop down list says "Oct 2023"? That is the updated version, and you can always switch back to the classic version.

Now let me explain, one last thing about metallic. In this case it is set to use legacy mode in default but you can switch to the new Oct 2023 mode and if I wanted I could choose to hide and remove the legacy mode or label it legacy. I didn't do that though, but I know how. So it is possible in the future my plugins will update without a drop down list to go back to an older version.



Metal Oct2023 no color

update_metallic.png
update_metallic.png (638.51 KiB) Viewed 619 times


Metal Oct2023 with color

sl.png
sl.png (774.83 KiB) Viewed 619 times


Download here because it is not yet on Github
win_and_linux_metallic_update_oct_2023.zip
(56.86 KiB) Downloaded 17 times


.dll is for Windows

.so is for Linux

Location to put binaries.

**Windows**


C:\Users\(USERNAME)\AppData\Local\gegl-0.4\plug-ins

**Linux**

/home/(USERNAME)/.local/share/gegl-0.4/plug-ins

**Linux (Flatpak includes Chromebook)**


/home/(USERNAME)/.var/app/org.gimp.GIMP/data/gegl-0.4/plug-ins


Enjoy
Post a reply