Live Filter Previews
Gone are the dialog-bound preview widgets of yesteryear! Yesterday I managed to have a live filter preview in Krita for the first time:
As you can see, it's not perfect. There are some artefacts that suggest that I have an off-by-something error somewhere...
The idea is to have user-definable, draggable area that's filtered by the filter and settings currently selected in the non-modal dialog box you see top-right, automatically updated some time after you made your last change to the settings. Then, when you're satisfied you can selected to either create a live filter mask (which can have any shape, of course), or destructively filter the current layer, which takes into account the selection (of course).
The draggable and resizable part will probably only be done for 2.1; right now I'm already quite deliriously happy that we've gotten this far.
It's been a long slog getting this far: I had hoped to be done in May, but real life (like buying and renovating an old house and getting a new job) interfered. Not to mention bugs, design errors resulting in two redesigns and the occasional priority shift because we needed to refactor selections, redisplay code, the filter api and other stuff just to get here.
But what we've achieved now is pretty cool, even with all the bugs:
We've got a layer stack that can contain paint layers (with a fixed, i.e., dried, and a changeable, i.e, wet, part), group layers, adjustment layers (that act as a filter foil on top of a stack of layers), copy layers (that copy the result of another layer to a new place in the layer tree) or Flake object layers.
All these layers can contain a stack of masks: selections (containing both vector shapes and per-pixel selectedness) that you can paint on and that can control transparency, apply transformations (like rotation or moving), apply any filter or simply indentify selectedness of pixels for a particular layer.
/hacking/krita | permanent link | 7 comments |
Re: Live Filter Previews
Heller wrote on Thu, 08 Nov 2007 16:03
I like this feature very much ! I really hate those dialogbox which stand on the picture and the more they are small, the best it is :)
I'd love to have all dialogboxs (filters...) dockable instead of floating.
Re: Live Filter Previews
Francesco wrote on Thu, 08 Nov 2007 18:42
GREAT!!! Thank you so much, this is such a leap forward for Krita...
Re: Live Filter Previews
Matt wrote on Thu, 22 Nov 2007 23:57
HOLY this would be a good feature. What a fantastic idea, especially having filters as layers, that would make a lot of difference.
Valerio wrote on Sun, 25 Nov 2007 16:14
KRita is going to be *so much* poweful that even Photoshop's layer system will shy away when confronted with KRita's. Keep up the invaluable work, you're creating a new must-have jewel in graphics design.
Re: Live Filter Previews
saser wrote on Sat, 31 May 2008 20:18
Selections (containing both vector shapes and per-pixel selectedness) that you can paint on and that can control transparency.
--- http://fl2av.iespana.es/
Re: Live Filter Previews
saser wrote on Sat, 31 May 2008 20:19
It's been a long slog getting this far: I had hoped to be done in May, but real life (like buying and renovating an old house and getting a new job) norma stitz interfered.
Re: Re: Live Filter Previews
Boudewijn wrote on Thu, 08 Nov 2007 19:19
There is one problem with having the filters dialog as a docker -- we did consider it, and are still not quite decided -- and that's the interaction. When do you first start previewing the filter on the current layer? If you've got good ideas about this and would like to discuss it, feel free to join us on freenode, #koffice or the kimageshop@kde mailing list.
Reply