Color source for paintops

Boudewijn Rempt boud at valdyas.org
Tue Nov 24 10:49:12 CET 2009


On Tuesday 24 November 2009, Cyrille Berger wrote:
> On Monday 23 November 2009, Boudewijn Rempt wrote:
> > Looks like a good plan. I've got just one concern, and that is about the
> > actual application of the color. Will this be done before or during the
> > dab generation? I.e, will the color be applied to a mask (which can be
> > easily cached), or will it add complexity to the mask generation?
> 
> When the color is uniform, the application on the dab is the same as it is
> currently done, so there should not be any overhead with KisColorSource.
> 
> Obviously, when the color is different on each point of the dab, there will
>  be an overhead.
> 

Sure, but what I meant was: there are two ways to handle the coloring, namely 
by creating a colored dab from scratch every time, or by coloring a dab mask. 
The former would make caching the masks very hard.

-- 
Boudewijn Rempt | http://www.valdyas.org


More information about the kimageshop mailing list