processing-imageprocessing icon indicating copy to clipboard operation
processing-imageprocessing copied to clipboard

Possibility of using GLSL?

Open msurguy opened this issue 6 years ago • 4 comments

Hello!

Thanks for the wonderful and well-made Processing library! It's very useful for static images and perhaps will be enough for most use cases.

I work with running Processing on Raspberry Pi and was wondering if the same functions could be implemented by using video card accelerated language such as GLSL. The main advantage of using GLSL filters would be that all of these effects could be ran at 50-60 fps on almost any hardware that has a GPU.

Let me know if you would be interested in hearing more or if you want to have a discussion about that. Thanks!

msurguy avatar May 14 '18 19:05 msurguy

Thank you very much. Until now I haven't work with GLSL. But it looks very interesting. I will try the GLSL for some operations. And maybe in the next release the raspberry pi will love this library too :smiley:

Milchreis avatar May 16 '18 05:05 Milchreis

@msurguy I just stumbled over your comment, and yes I have developed a library for processing which uses GLSL for image manipulation: https://github.com/cansik/processing-postfx

cansik avatar Jun 01 '19 11:06 cansik

@cansik thanks for the link! That looks to be along the lines of what I was thinking!

msurguy avatar Jun 02 '19 04:06 msurguy

Hi all,

I have ported the Sabbatier example from #38 to GLSL. Pretty simple, and should get you started. Find it at

https://github.com/uheinema/BoxDrop-Example/blob/master/README.md

Section GLSL in the Readme...

Have fun

uheinema avatar Jun 09 '20 20:06 uheinema