On Sun, Sep 05, 2010 at 03:34:09PM +0000, [email protected] wrote: > OK, so here it is working your way + changed handling of erasing in > draw_dab() as a blend mode: > > http://github.com/guciek/mypaint/commits/blend_modes/
Nice! I found some very ugly bug, though: when I select a brush, sometimes it is not completely restored, eg. I select the round "bulk" brush, and the brush stroke does change in some way but it stays elliptical. I hope it's only in your branch; I did not find it at a quick glance through your changes. > > Why should it not be sensible to mix them together? When the mix can be > > saved into a brush preset, the painter can use it for its effect, without > > knowing how it works. > > Because it is not possible to treat blend modes equally when three or > more are activated at the same time. But still, now I think this can > work good enough, even if mathematically impure. Yes I overlooked this problem. Your current solution doesn't look bad, and I'm sure we can think of some mixing math when blending modes appear. > > What about a radio-button-like interface: > > > > (o) Brush Default > > ( ) Eraser Mode > > ( ) Lock Alpha > > ( ) Multiply > > ( ) Dodge > > ( ) Soft Light > > It actually couples with my initial approach, but with all values > being fuzzy in nature does this still make sense? I think so, assuming that we still allow presets to work. If a good combination turns up we can add it, or add a "custom" mode later with sliders. Sliders alone would be a bit too much GUI for use while painting. But the GUI will have to save its state to somewhere else than directly into the brushsettings. We don't want "Lock Alpha" and the like stay activated after trying a brush preset that uses it. -- Martin Renold _______________________________________________ Mypaint-discuss mailing list [email protected] https://mail.gna.org/listinfo/mypaint-discuss
