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

GEGL Ocean Caustics (plugin download)

Tue Oct 17, 2023 12:38 pm

Download plugin here.
https://github.com/LinuxBeaver/Ocean-Su ... /releases/

steps.png
steps.png (420.09 KiB) Viewed 1589 times


I don't even know what I am going to name this filter yet, but I do know I am going to turn it into a plugin soon and the entire development of the plugin will be documented on Gimp Chat so future GEGL devs can learn how to make a GEGL Plugin.

Pasting this syntax inside Gimp's GEGL Graph will recreate this effect. It does not depend on any other plugin of mine. So even a vanilla Gimp install will work with this.

Code:
id=1 
gimp:layer-mode layer-mode=normal   aux=[ ref=1 color value=white  ]

gimp:layer-mode layer-mode=difference composite-space=rgb-perceptual opacity=0.8 blend-space=auto aux=[ ref=1 noise-solid turbulent=true  x-size=4 y-size=4 detail=1.9  seed=3304
 
   ]
gimp:layer-mode layer-mode=linear-burn blend-space=rgb-perceptual  opacity=9 aux=[ color value=#89e5ff  ]
median-blur radius=0
bloom strength=30




Alt preview, if anyone wants to help me think of a name then please do so. I thought of names "ocean caustics" but also other stuff like " abstract liquid, power liquid" ect... it sounds like a sports drink.

Image

magomagao on Gimp's Discord Server is responsible for creating this effect in Gimp manually but I was the one who turned it into a GEGL graph. Within the next few days to weeks at the most this will be a complete plugin. I hope everyone will enjoy it.

Re: GEGL Ocean Caustics (plugin in development)

Tue Oct 17, 2023 1:03 pm

contrast_ wrote:
The attachment steps.png is no longer available

I don't even know what I am going to name this filter yet.....
.... if anyone wants to help me think of a name then please do so....


Um why not calling it "Solid Noise" like it's already called in Filters > Render > Noise > Solid Noise...

Yes, this filter exist already, "Details = 0" and check the "Turbulent" ;)
But don't give up!
I would suggest to update the official in GIMP to add colors in it, that would be very nice as we could create directly colored texture from 1 filter and add few more options from your tests above which look different :bigthup
screenshot_20231018-022423.jpg
screenshot_20231018-022423.jpg (132.94 KiB) Viewed 1580 times

Or we can do it also this way, on a new layer with a different mode
screenshot_20231018-015821.jpg
screenshot_20231018-015821.jpg (104.4 KiB) Viewed 1580 times

Re: GEGL Ocean Caustics (plugin in development)

Tue Oct 17, 2023 3:49 pm

Its already done it was that easy. Download binaries and code here. .dll is windows .so is Linux



Image

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

Then Restart Gimp and go to GEGL operations and look for "ocean surface"
2.99.16+ users will see it in filters>render>fun

Re: GEGL Ocean Caustics (plugin in development)

Tue Oct 17, 2023 3:51 pm

PixLab wrote:
contrast_ wrote:
steps.png

I don't even know what I am going to name this filter yet.....
.... if anyone wants to help me think of a name then please do so....


Um why not calling it "Solid Noise" like it's already called in Filters > Render > Noise > Solid Noise...

Yes, this filter exist already, "Details = 0" and check the "Turbulent" ;)
But don't give up!
I would suggest to update the official in GIMP to add colors in it, that would be very nice as we could create directly colored texture from 1 filter and add few more options from your tests above which look different :bigthup
screenshot_20231018-022423.jpg

Or we can do it also this way, on a new layer with a different mode
screenshot_20231018-015821.jpg


Solid Noise is the main node this filter uses but it is not exactly the same thing. In the plugin Solid noise is limited to certain parameters, then it is being blended with the the difference blend mode over a white background and then a linear burn color overlay is applied over it. Then the "Bloom" filter is applied on top of everything.


I can't update official filters in Gimp, only make spinoffs of them.

Re: GEGL Ocean Caustics (plugin download)

Tue Oct 17, 2023 4:38 pm

Its on Github now.
https://github.com/LinuxBeaver/Ocean-Su ... /releases/

Re: GEGL Ocean Caustics (plugin in development)

Tue Oct 17, 2023 9:35 pm

contrast_ wrote:I can't update official filters in Gimp, only make spinoffs of them.


Why? the GIMP team don't want?

Re: GEGL Ocean Caustics (plugin in development)

Wed Oct 18, 2023 7:49 am

PixLab wrote:
contrast_ wrote:I can't update official filters in Gimp, only make spinoffs of them.


Why? the GIMP team don't want?


no, filters in Gimp officially cannot be edited without recompiling Gimp or making a fork of them. I have already made several forks of Gimp default filters.
Post a reply