From kde-kimageshop Tue Jun 18 07:55:34 2013 From: Dmitry Kazakov Date: Tue, 18 Jun 2013 07:55:34 +0000 To: kde-kimageshop Subject: Re: Proof of concept patch for Wash Mode artifacts Message-Id: X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=137154214718014 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1614333280211554110==" --===============1614333280211554110== Content-Type: multipart/alternative; boundary=047d7b3a85a0b3ac0e04df690915 --047d7b3a85a0b3ac0e04df690915 Content-Type: text/plain; charset=UTF-8 Hi, Lukas! Just checked: it doesn't fix that bug :( Looks like this is some other problem. On Mon, Jun 17, 2013 at 11:12 PM, Lukast dev wrote: > Hi Dmitry, > > can you check if this fixes also this bug? > https://bugs.kde.org/show_bug.cgi?id=300665 > > Lukas > > 2013/6/16 Dmitry Kazakov : > > Hi! > > > > One of the bugs I'm working on currently is Wash Mode bug, described by > Paul > > in the first part of the bug [0]. > > > > Technical part: > > > > Actually, this is not a bug, but a flaw of the composition formula we > use in > > ALPHA_DARKEN composite op. So to fix this bug, we need to change the > formula > > (with all the obvious consequences). The problem is this formula is not > > commutative, that is the order of application of dabs changes the result > > dramatically. > > > > The patch: > > > > In the attachment you can find a patch which (should) fix this bug. It > would > > be nice if someone tested it and looked for some non-obvious regressions > in > > painting it introduces. > > > > This patch implements: > > 1) Fixes the artifacts on the tail of the Wash Mode stroke > > > > This patch breaks (known issues): > > 1) Flow option doesn't work (it is simply disabled) > > 2) It fixes the bug for a Pixel Brush only > > 3) It disables vector optimizations > > > > > > [0] - https://bugs.kde.org/show_bug.cgi?id=320651 > > > > -- > > Dmitry Kazakov > > _______________________________________________ > > Krita mailing list > > kimageshop@kde.org > > https://mail.kde.org/mailman/listinfo/kimageshop > > > _______________________________________________ > Krita mailing list > kimageshop@kde.org > https://mail.kde.org/mailman/listinfo/kimageshop > -- Dmitry Kazakov --047d7b3a85a0b3ac0e04df690915 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, Lukas!

Just checked: it doesn't fix that bug :( Looks like t= his is some other problem.

On Mon, Jun 17= , 2013 at 11:12 PM, Lukast dev <lukast.dev@gmail.com> wro= te:
Hi Dmitry,

can you check if this fixes also this bug?
https://bugs.kde.org/show_bug.cgi?id=3D300665

Lukas

2013/6/16 Dmitry Kazakov <dimula73= @gmail.com>:
> Hi!
>
> One of the bugs I'm working on currently is Wash Mode bug, describ= ed by Paul
> in the first part of the bug [0].
>
> Technical part:
>
> Actually, this is not a bug, but a flaw of the composition formula we = use in
> ALPHA_DARKEN composite op. So to fix this bug, we need to change the f= ormula
> (with all the obvious consequences). The problem is this formula is no= t
> commutative, that is the order of application of dabs changes the resu= lt
> dramatically.
>
> The patch:
>
> In the attachment you can find a patch which (should) fix this bug. It= would
> be nice if someone tested it and looked for some non-obvious regressio= ns in
> painting it introduces.
>
> This patch implements:
> 1) Fixes the artifacts on the tail of the Wash Mode stroke
>
> This patch breaks (known issues):
> 1) Flow option doesn't work (it is simply disabled)
> 2) It fixes the bug for a Pixel Brush only
> 3) It disables vector optimizations
>
>
> [0] - https://bugs.kde.org/show_bug.cgi?id=3D320651
>
> --
> Dmitry Kazakov
> _______________________________________________
> Krita mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop



--
Dmitry Kazakov --047d7b3a85a0b3ac0e04df690915-- --===============1614333280211554110== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Krita mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============1614333280211554110==--