GIMP Chat
http://gimpchat.com/

GEGL Ocean Caustics (plugin download)
http://gimpchat.com/viewtopic.php?f=9&t=20589
Page 1 of 1

Author:  contrast_ [ Tue Oct 17, 2023 12:38 pm ]
Post subject:  GEGL Ocean Caustics (plugin download)

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

Attachment:
steps.png
steps.png [ 420.09 KiB | Viewed 1584 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.

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.

Author:  PixLab [ Tue Oct 17, 2023 1:03 pm ]
Post subject:  Re: GEGL Ocean Caustics (plugin in development)

contrast_ wrote:
Attachment:
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
Attachment:
screenshot_20231018-022423.jpg
screenshot_20231018-022423.jpg [ 132.94 KiB | Viewed 1575 times ]

Or we can do it also this way, on a new layer with a different mode
Attachment:
screenshot_20231018-015821.jpg
screenshot_20231018-015821.jpg [ 104.4 KiB | Viewed 1575 times ]

Author:  contrast_ [ Tue Oct 17, 2023 3:49 pm ]
Post subject:  Re: GEGL Ocean Caustics (plugin in development)

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

Author:  contrast_ [ Tue Oct 17, 2023 3:51 pm ]
Post subject:  Re: GEGL Ocean Caustics (plugin in development)

PixLab wrote:
contrast_ wrote:
Attachment:
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
Attachment:
screenshot_20231018-022423.jpg

Or we can do it also this way, on a new layer with a different mode
Attachment:
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.

Author:  contrast_ [ Tue Oct 17, 2023 4:38 pm ]
Post subject:  Re: GEGL Ocean Caustics (plugin download)

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

Author:  PixLab [ Tue Oct 17, 2023 9:35 pm ]
Post subject:  Re: GEGL Ocean Caustics (plugin in development)

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


Why? the GIMP team don't want?

Author:  contrast_ [ Wed Oct 18, 2023 7:49 am ]
Post subject:  Re: GEGL Ocean Caustics (plugin in development)

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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/