GLSL/Shiva style Filter Preview

Boudewijn Rempt boud at valdyas.org
Tue Jul 22 19:23:40 CEST 2008


On Tuesday 22 July 2008, Thomas Burdick wrote:
> One of the things I never really liked about the way the glsl plugin
> worked, was the dialog, and especially the preview.
>
> I almost feel like the preview should be shown on the canvas itself.
>
> Is this a bad idea? Can it be done easily? How would I do it if so?
>
> I suppose Cyrille's Shiva  and this GLSL plugin should probably
> preview in a similar manner since they provide similar functionality.
>
> Your thoughts?

In a sense, yes, it's easy. For the other filters we already do a preview on 
canvas (except that, well, it's broken right now), so it should be possible 
with the glsl filter as well. The trick is to add a filter mask with the 
right filter. I'm not sure we won't need a separate mask type for glsl 
filters, but that's something that needs to be investigated.


-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list