Hi,
(this is the same person as 'savageorange' on the forums)

After seeing the new floodfill tool I am looking at implementing cutbrush
for MyPaint, and have some questions about how this could best fit in
conceptually.

Please bear with me a little while I give some background:

--
Cutbrush is a simple drawing method that doesn't involve dabs or pressure.
It involves simply rendering a polygon from the position information, using
the 'nonzero' fill rule.

That is, when the polygon intersects itself, it doesn't cut holes. A
explanation is at the end of this page
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes-Fill-Stroke.html.

In many cases where you might use fill tool, this is more appropriate --
condenses the 'draw outline, fill' process into one step: draw volumes.

Krita implements a brush type like this (called the 'experiment brush') but
it is generally more fiddly because it uses odd-even fill rule, meaning
that self-intersections *will* cut holes. GraFX2 has a more straightforward
implementation using nonzero fill rule. So does TVPaint.
--

So far, I am looking at implementing cutbrush as a brush parameter, rather
than a tool per se.

This is because it should be effected by a number of brush parameters
(opacity, erase/lockalpha/colorize, all tracking settings, jitter, snap to
pixel) and it would be great if we could save these in a brush.

However this is where 'how does it fit in?' comes in.. It must ignore all
variation in opacity, mode, color, and all settings in sections [Dabs,
Smudge, Stroke, Color], so it doesn't seem very 'brush-y'

I also don't really understand yet whether it is possible to implement a
non-dab brush via the brush-engine. Andrew, do you have any comment on that?
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to