GLSL/Shiva style Filter Preview

Boudewijn Rempt boud at valdyas.org
Wed Jul 23 09:50:47 CEST 2008


On Wed, 23 Jul 2008, Thomas Burdick wrote:

> yeah, I was curiously thinking the same thing myself. Because in reality,
> you could have a whole multitude of effects. The built in editor seems nice
> though too.
> 
> I guess I'll look more closely how other filters are written vs how the glsl
> filter is currently written.
> 

The way I looked orignally at glsl filters was that we would have two things:
a glsl-ide like filter plugin for people to experiment with (which is what we
have now), and when we had learned enough about how this kind of thing works,
an api for filter writers to write ordinary KisFilter based filters that
used glsl internally and that would show up in the filter dialog. I think the
same would hold for openshiva filters -- it would be nice to allow people to
experiment and script, as well as use other people's filters.

However, on thinking I think that the following would be even nicer:

* have an ide-like filter plugin for both types of "script" filters
* let this plugin save the code to a KoResource type file that contains
the code and perhaps a definition for parameters that need to be passed
to the code
* have a KisFilter that can execute the
* load these resources and create instances of this KisFilter for every
resource found.

But that is post 2.0 -- as a feature I doubt it'll be in the next release.
For the next release, I would already be very happy with a glsl ide-like plugin
like we've started now & some example glsl programs.

Boudewijn



More information about the kimageshop mailing list