It is currently Thu Jun 27, 2024 1:27 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 14 posts ] 
Author Message
 Post subject: Get use to using GEGL Graph syntax.I can't make a filter of everything
PostPosted: Sun Jun 12, 2022 1:25 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
Not everything cool GEGL does can easily be made into a filter. We need to get into a habit of sharing GEGL syntax with each other to do cool things. today I will be sharing a 3d text styling effect. You must replace my home path with a path of your own. GEGL cannot link images from the internet (we tried)

Image


transform transform=matrix(1.0156650757686598,0.075701741929592628,0.000365746118200971,0.013317261513591921,1.2296272065975005,9.0806881192612718e-05,0,0,1)  first-iteration=1 iterations=0 fade-opacity=1 paste-below=no sampler-type=nohalo

gegl:color-overlay value=#dbdbdb

(GRAYSCALE PATTERN OVERLAY)
svg:src-atop aux=[gegl:layer src=/home/contrast/Pictures/Magic/Gradient_overlays/green.png]

gaussian-blur
emboss  type=bumpmap azimuth=30 elevation=45 depth=12

gegl:dropshadow x=0.00  y=0 radius=0.00 grow-shape=circle grow-radius=1 opacity=2 color=#ffffff

gegl:dropshadow x=0.00  y=0 radius=0.00 grow-shape=circle grow-radius=6 opacity=1 color=#ffffff

gegl:dropshadow x=0.00  y=0.00 radius=0.00 grow-shape=circle grow-radius=6 opacity=1 color=#000000

gegl:dropshadow opacity=0.4 radius=0.1 x=-1.8 y=2.8

gegl:long-shadow style=finite angle=152.94 length=18 midpoint=100 midpoint-rel=0.5 color=#000000 composition=shadow-plus-image



Alternative Graph

recursive-transform time=0 transform=matrix(0.85676532983779907,-0.083190269768238068,-1.0763975295356106e-19,0.15398488938808441,1.0494217872619629,-2.1621131194246602e-19,35.636863708496094,106.15763092041016,1)  first-iteration=1 iterations=0 fade-opacity=1 paste-below=no sampler-type=nohalo

gegl:color-overlay value=#dbdbdb



(GRAYSCALE PATTERN OVERLAY)
svg:src-atop aux=[gegl:layer src=IMAGE FILE OVERLAY HERE]



(bevel)
gaussian-blur
emboss  type=bumpmap azimuth=30 elevation=45 depth=12

gegl:dropshadow x=0.00  y=0 radius=0.00 grow-shape=circle grow-radius=1 opacity=2 color=#ffffff

gegl:dropshadow x=0.00  y=0 radius=0.00 grow-shape=circle grow-radius=6 opacity=1 color=#ffffff

gegl:dropshadow x=0.00  y=0.00 radius=0.00 grow-shape=circle grow-radius=6 opacity=1 color=#000000


gegl:dropshadow opacity=0.4 radius=0.1 x=-1.8 y=2.8

gegl:long-shadow style=finite angle=152.94 length=11 midpoint=100 midpoint-rel=0.5 color=#000000 composition=shadow-plus-image


Image used.

Image

Have fun.


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: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Sun Jun 12, 2022 3:22 pm  (#2) 
Offline
GimpChat Member

Joined: Sep 26, 2015
Posts: 51
"I can't make a filter of everything"

Not so fast! You are doing a hell of a job so far!

:mrgreen:


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Sun Jun 12, 2022 10:10 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
AdmFubar wrote:
"I can't make a filter of everything"

Not so fast! You are doing a hell of a job so far!

:mrgreen:


Hell yes! I cannot agree more.

@contrast_ You are doing an absolute great job, thank you so much :tyspin

_________________
Patrice


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Sun Jun 12, 2022 10:32 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
Thank you all. But seriously this filter won't happen because GEGL cannot call Gimp's 3d transform unless Gimp is rebuilt from source.


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Mon Jun 13, 2022 8:03 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
Did you tried with the other transform tool like the unified transform tool?
Or the Filters/Map/Recursive transform... (with "First iteration" set at 1 and "Iterations" set at 0), because it's a filter, maybe it can work?

Image

_________________
Patrice


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Mon Jun 13, 2022 9:47 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
No it will not work and I tried exactly that with recursive transform. I forked recursive transform and it had a dialog with numbers and the words "transform" with no on canvas abilities. I was wondering where the on canvas transform was. A gimp dev then explained that transform and gradients on canvas are controlled by Gimp (not GEGL). GEGL does the image processing while Gimp does on canvas tools. Only certain filters are white listed to use on canvas tools.

I'm upset because of that. This also prevented me from making a border filter by forking vignette. We can't work around this unless there is a way to patch Gimp or we have the guts to rebuild it with white list permissions on new filters.


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Mon Jun 13, 2022 9:49 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
Recursive Transform is a white listed transform filter and Vignette and Supernova is a white listed on canvas gradient. The gradient is heavily modified though by other operations.


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Sun Jul 10, 2022 12:13 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
id=2
xor aux=[ ref=2 id=1
gegl:svg-luminancetoalpha aux=[ ref=1  ] invert-transparency  ]

color-to-alpha color=#000000


Extract the brighthest colors from a layer. (This requires my custom Invert Transparency filter)

gimp:desaturate
invert-gamma
id=1
gimp:layer-mode layer-mode=hsl-color aux=[ ref=1 color-overlay value=#ffa2f8 ]
softglow brightness=0.1
bloom radius=3

exposure black-level=6 exposure=-0.4
noise-reduction
id=2
multiply aux=[ ref=2  ]

Glow Stick Effect. You can change the color by changing `color-overlay value=`


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Mon Jul 11, 2022 10:26 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
This operation blurs rough edges. It is similar to convulve stroke (set to blur). It requires my custom inner glow filter.

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=6  radius=5 value2=#000000    ]


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




I want to make this into a filter but I don't know how to link
Gimp:layer-mode.
Inner glow radius adjust the blur.


Image


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Wed Aug 24, 2022 9:13 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
1280x720 YOUTUBE THUMBNAIL SIZE - PREFERERED TO MAKE ONLY ONE LINE AND SELECT THE TEXT SO THE LINEAR GRADIENT WILL WORK.
Image


Image

Image

Image

Image

Image


This does not use any of my custom filters.

id=1 [ color-overlay value=#ffd44f gegl:dropshadow x=0.00  y=0.00 radius=1.00 grow-shape=circle grow-radius=1 opacity=1   color=#3b3b3b gaussian-blur std-dev-x=4 std-dev-y=3 emboss type=bumpmap depth=41 elevation=55 azimuth=12 unsharp-mask scale=1 gimp:threshold-alpha ]

bloom strength=25
id=noise2  divide    aux=[ ref=noise2 simplex-noise scale=12 invert box-blur radius=1  ]




id=1 multiply aux=[ linear-gradient start-color=#ffffff end-color=#000000 start-x=256 start-y=346 end-x=256 end-y=-54 ]

id=noise  multiply aux=[ ref=noise color-overlay value=#ffffff  noise-cie-lch chroma-distance=0 holdness=2 crop gaussian-blur std-dev-x=1 std-dev-y=1   ]


id=sg soft-light  aux=[  ref=sg softglow opacity value=0.7 crop dropshadow x=5 y=0 opacity=0.45 ]

crop
id=gold

opacity value=2

hue-chroma lightness=16  chroma=7



gimp:layer-mode layer-mode=behind aux=[ ref=gold  lens-blur radius=2 crop   ]

exposure exposure=-0.1




Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Wed Aug 31, 2022 9:46 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
Requires my custom hidden operation MCOL which comes with GEGL Effects and several other of my third party filters. This graph puts the rgb channels next to each other as layers, slightly moves themn and then adds glitch and scanline effects.

hue-chroma chroma=5
#virtual layer 1
id=2    ref=2  mcol value=#ff0900 translate x=27 y=-0 shift shift=1 shift shift=1 direction=vertical opacity value=0.85  ] 

#virtual latyer 2
screen aux=[    gegl:over aux=[ ref=2 mcol value=#00ff00 translate x=-1  ] 

#virtual layer 3
id=3   screen aux=[ ref=2   mcol value=#0000ff  translate  x=4 shift shift=0 shift direction=vertical shift=1  ]


#compostize alll (layer 4)


#layer 5
id=scanlines
soft-light aux=[ ref=scanlines  video-degradation  pattern=wide-striped opacity value=0.2]
soft-light aux=[ ref=scanlines  video-degradation  pattern=wide-striped opacity value=0.4]

#layer6 (adjustment layer of multiplication)
id=mul

unsharp-mask scale=0.5




#layer 7 noise
id=darknoise

gimp:layer-mode layer-mode=darken-only  aux=[ ref=darknoise noise-spread amount-x=133 amount-y=130 opacity value=0.28 ]

#layer8 adjustment hue chroma



brightness-contrast contrast=1.10

bloom strength=35

id=orton
gimp:layer-mode layer-mode=hardlight aux=[ ref=orton  gaussian-blur std-dev-x=20 std-dev-y=20 opacity value=0.74 ]






Image

Image

Image

Image


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Fri Sep 02, 2022 10:38 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
This glitch effect works amazing on small images. Play around with it.

Requires my custom hidden operation filter MCOL which comes with GEGL Effects.
gaussian-blur std-dev-x=1 std-dev-y=1
hue-chroma chroma=5
#virtual layer 1
id=2    ref=2  mcol value=#ff0900 translate x=15 y=-0 shift shift=1 shift shift=1 direction=vertical opacity value=0.85  ] 

#virtual latyer 2
screen aux=[    gegl:over aux=[ ref=2 mcol value=#00ff00 translate x=-1  ] 

#virtual layer 3
id=3   screen aux=[ ref=2   mcol value=#0000ff  translate  x=2 shift shift=0 shift direction=vertical shift=1  ]


#compostize alll (layer 4)


#layer 5
id=scanlines
soft-light aux=[ ref=scanlines  video-degradation  pattern=wide-striped opacity value=0.2]
soft-light aux=[ ref=scanlines  video-degradation  pattern=wide-striped opacity value=0.4]

#layer6 (adjustment layer of multiplication)
id=mul

unsharp-mask scale=0.8

#layer 7 noise
id=darknoise

gimp:layer-mode layer-mode=darken-only  aux=[ ref=darknoise noise-spread amount-x=133 amount-y=130 opacity value=0.28 ]

#layer8 adjustment hue chroma

brightness-contrast contrast=1.10

bloom strength=25

id=orton
gimp:layer-mode layer-mode=hardlight aux=[ ref=orton  gaussian-blur std-dev-x=20 std-dev-y=20 opacity value=0.30 ]

id=vapor gegl:over aux=[ ref=vapor ripple amplitude=29 period=0.8 angle=90
opacity value=0.4 ]


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Tue Nov 29, 2022 2:47 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
Image

Image

Here is the graph to do this. It requires a top and bottom layer import to GEGL Graph.

Top Layer
lens-distortion main=60
layereffects optioncolor=#00d9ff  opacitystroke=1 grow-radiusstroke=7  radiusstroke=20 xstroke=0 ystroke=0 colorstroke=#ffffff  depth=44 bevel1=99 radius1=4 blendmodebevel2=GrainMerge lightness=-43

hue-chroma hue=33 chroma=5 lightness=-3



Bottom Layer

lens-distortion main=80 zoom=6
color-overlay value=#007dff
id=1  ref=1 motion-blur-zoom center-y=0.5 center-x=0.5 factor=-7.0
gegl:opacity value=1
id=2 overlay aux=[ ref=2  emboss depth=4  ]
opacity value=9
opacity value=10
id=bevel
gimp:layer-mode layer-mode=multiply composite-mode=clip-to-backdrop opacity=0.10  blend-space=rgb-perceptual aux=[ ref=bevel bevel1=33 ]


Top
 Post subject: Re: Get use to using GEGL Graph syntax.I can't make a filter of everyt
PostPosted: Thu Dec 29, 2022 9:10 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1446
https://twitter.com/LinuxBeaver/status/ ... 9912060929
Image
Image
Image
Image
Image


Image
Requires my Custom Bevel and Edge Extract. Many Graphs exist. This is way too complex to turn into a filter. Enjoy anyway.

id=1 gimp:layer-mode layer-mode=multiply opacity=0.54 aux=[ ref=1 color-overlay value=#8ff2ff   ]
noise-reduction iterations=2
id=2
gimp:layer-mode layer-mode=overlay opacity=0.6 blend-space=rgb-perceptual aux=[ ref=2 wind direction=bottom style=blast threshold=4 seed=13 strength=32 oilify mask-radius=2  softglow brightness=10 ]
shift direction=vertical shift=1
id=3
gimp:layer-mode layer-mode=softlight blend-space=rgb-perceptual opacity=0.90  aux=[ ref=1 bevel radius1=1 ]
noise-reduction iterations=3


id=1 gimp:layer-mode layer-mode=overlay opacity=0.3 blend-space=rgb-linear aux=[ ref=1 edge-extract
wind direction=bottom style=blast threshold=4 seed=13 strength=21 oilify mask-radius=2  softglow brightness=10
custom-bevel  box=1 gaus=1 depth=3 blendmode=Overlay coloroverlay=#a3e9ff ]




id=1 gimp:layer-mode layer-mode=multiply opacity=0.54 aux=[ ref=1 color-overlay value=#8ff2ff   ]
noise-reduction iterations=2
id=2
gimp:layer-mode layer-mode=overlay opacity=0.6 blend-space=rgb-perceptual aux=[ ref=2 wind direction=bottom style=blast threshold=4 seed=13 strength=32 oilify mask-radius=2  softglow brightness=10 ]
shift direction=vertical shift=1
id=3
gimp:layer-mode layer-mode=softlight blend-space=rgb-perceptual opacity=0.90  aux=[ ref=1 bevel radius1=1 ]
noise-reduction iterations=3


id=1 gimp:layer-mode layer-mode=overlay opacity=0.3 blend-space=rgb-linear aux=[ ref=1 edge-extract
wind direction=bottom style=blast threshold=4 seed=13 strength=21 oilify mask-radius=2  softglow brightness=10
custom-bevel  box=1 gaus=1 depth=3 blendmode=Overlay coloroverlay=#a3e9ff ]



id=1 gimp:layer-mode layer-mode=multiply opacity=0.54 aux=[ ref=1 color-overlay value=#8ff2ff   ]
noise-reduction iterations=2
id=2
gimp:layer-mode layer-mode=overlay opacity=0.6 blend-space=rgb-perceptual aux=[ ref=2 wind direction=bottom style=blast threshold=4 seed=13 strength=32 oilify mask-radius=2  softglow brightness=10 ]
shift direction=vertical shift=1
id=3
gimp:layer-mode layer-mode=softlight blend-space=rgb-perceptual opacity=0.90  aux=[ ref=1 bevel radius1=1 ]
noise-reduction iterations=3


id=4 gimp:layer-mode layer-mode=overlay opacity=0.2 blend-space=rgb-linear aux=[ ref=4 edge-extract
wind direction=bottom style=blast threshold=4 seed=13 strength=31 oilify mask-radius=2  softglow brightness=10
custom-bevel  box=1 gaus=1 depth=3 blendmode=Overlay coloroverlay=#a3e9ff ]



id=1 gimp:layer-mode layer-mode=hsl-color opacity=0.91 aux=[ ref=1 color-overlay value=#8ff2ff   ]

noise-reduction iterations=3
id=2
gimp:layer-mode layer-mode=overlay opacity=0.6 blend-space=rgb-perceptual aux=[ ref=2 wind direction=bottom style=blast threshold=1 seed=13 strength=1 oilify mask-radius=3   ]

id=3
gimp:layer-mode layer-mode=softlight blend-space=rgb-perceptual opacity=0.90  aux=[ ref=1 bevel radius1=1 ]
noise-reduction iterations=4


id=4 gimp:layer-mode layer-mode=overlay opacity=0.2 blend-space=rgb-linear aux=[ ref=4 edge-extract
wind direction=bottom style=blast threshold=4 seed=13 strength=21 oilify mask-radius=2  softglow brightness=10
custom-bevel  box=1 gaus=1 depth=3 blendmode=Overlay coloroverlay=#a3e9ff ]

opacity value=2.5

softglow glow-radius=2



ICE TEXT

id=n1
gaussian-blur std-dev-x=3 std-dev-y=3
color-overlay value=#52ebff
id=0 gimp:layer-mode layer-mode=hardlight aux=[ ref=0
emboss depth=5  ]
id=1 gimp:layer-mode layer-mode=hsl-color opacity=0.91 aux=[ ref=1 color-overlay value=#52ebff   ]
noise-reduction iterations=3
id=2
gimp:layer-mode layer-mode=overlay opacity=0.6 blend-space=rgb-perceptual aux=[ ref=2 wind direction=bottom style=blast threshold=1 seed=23 strength=1 oilify mask-radius=3   ]
id=3
gimp:layer-mode layer-mode=softlight blend-space=rgb-perceptual opacity=0.90  aux=[ ref=1 bevel radius1=1 ]
noise-reduction iterations=4
id=4 gimp:layer-mode layer-mode=overlay opacity=0.2 blend-space=rgb-linear aux=[ ref=4 edge-extract
wind direction=bottom style=blast threshold=4 seed=13 strength=21 oilify mask-radius=2  softglow brightness=10
custom-bevel  box=1 gaus=1 depth=3 blendmode=Overlay coloroverlay=#a3e9ff ]
opacity value=1.2
softglow glow-radius=1
hue-chroma chroma=10

id=5
gimp:layer-mode layer-mode=overlay aux=[ ref=5 edge ]
saturation scale=0.5
mean-curvature-blur iterations=7
hue-chroma lightness=-3
gimp:layer-mode layer-mode=split opacity=0.20 aux=[ ref=n1 gaussian-blur   ]




gaussian-blur std-dev-x=3 std-dev-y=3
color-overlay value=#8ff2ff
id=0 gimp:layer-mode layer-mode=hardlight aux=[ ref=0
emboss depth=5  ]
id=1 gimp:layer-mode layer-mode=hsl-color opacity=0.91 aux=[ ref=1 color-overlay value=#8ff2ff   ]
noise-reduction iterations=3
id=2
gimp:layer-mode layer-mode=overlay opacity=0.6 blend-space=rgb-perceptual aux=[ ref=2 wind direction=bottom style=blast threshold=1 seed=23 strength=1 oilify mask-radius=3   ]
id=3
gimp:layer-mode layer-mode=softlight blend-space=rgb-perceptual opacity=0.90  aux=[ ref=1 bevel radius1=1 ]
noise-reduction iterations=4
id=4 gimp:layer-mode layer-mode=overlay opacity=0.2 blend-space=rgb-linear aux=[ ref=4 edge-extract
wind direction=bottom style=blast threshold=4 seed=13 strength=21 oilify mask-radius=2  softglow brightness=10
custom-bevel  box=1 gaus=1 depth=3 blendmode=Overlay coloroverlay=#a3e9ff ]
opacity value=1.2
softglow glow-radius=1
hue-chroma chroma=10

id=5
gimp:layer-mode layer-mode=overlay aux=[ ref=5 edge ]
saturation scale=0.8
mean-curvature-blur iterations=7


Top
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts What does GEGL graph do ?

65

No new posts Attachment(s) Learn GEGL graph

65

No new posts I'll make a filter based on other people's GEGL chain operations

1

No new posts Attachment(s) New GEGL Filter to make Action Lines. It does away with Lina Nova

5

No new posts Attachment(s) Long time GEGL Graph Glitch solved. Need Help testing bevel update

2



* Login  



Powered by phpBB3 © phpBB Group