[Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-10-20 Thread Christopher Howard
Hi. To try to learn GIMP development, I have been looking into old bug #588681 (Airbrush tool produces banding with with soft brush). From the initial problem summary: "The Airbrush produces bandings when its used with a soft brush and low pressure. The sharp edges in the bands is [sic] very visi

Re: [Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-10-20 Thread Sven Neumann
Hi, On Tue, 2009-10-20 at 12:22 -0800, Christopher Howard wrote: > Though having a far from sufficient understanding of how the GIMP brush > painting process works, it seems to me like this is the fundamental > problem: In making black-and-white brushes semi-transparent, GIMP > somehow "levels ou

Re: [Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-10-21 Thread Jay Cox
On Oct 20, 2009, at 1:39 PM, Sven Neumann wrote: > Hi, > > On Tue, 2009-10-20 at 12:22 -0800, Christopher Howard wrote: > >> Though having a far from sufficient understanding of how the GIMP >> brush >> painting process works, it seems to me like this is the fundamental >> problem: In making bl

Re: [Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-11-18 Thread Christopher Howard
-- Christopher Howard http://indicium.us http://theologia.indicium.us --- Begin Message --- -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jay Cox wrote: > > On Oct 20, 2009, at 1:39 PM, Sven Neumann wrote: > >> Hi, >> >> On Tue, 2009-10-20 at 12:22 -0800, Christopher Howard wrote: >> >>> Thoug

Re: [Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-11-18 Thread James Cox
> Christopher Howard wrote: >> Jay Cox wrote: >> >> On Oct 20, 2009, at 1:39 PM, Sven Neumann wrote: >> >>> Hi, >>> >>> On Tue, 2009-10-20 at 12:22 -0800, Christopher Howard wrote: >>> Though having a far from sufficient understanding of how the GIMP brush painting process works, it seems

Re: [Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-11-18 Thread David Gowers
On Thu, Nov 19, 2009 at 11:17 AM, James Cox wrote: >> Christopher Howard wrote: > Thinking about this some more, the error diffusion is probably not even > necessary.  You should be able to get by with some random dithering like > the following (if it wasn't slower than molasses): > >  result = fl

Re: [Gimp-developer] Airbrush/Brush Banding Effect At Low Pressure/Opacity

2009-11-21 Thread Martin Renold
On Thu, Nov 19, 2009 at 02:01:13PM +1030, David Gowers wrote: > On Thu, Nov 19, 2009 at 11:17 AM, James Cox wrote: > >  result = floor(input * opacity + g_random_double()); > > If you pregenerate a lookup table (say 256 entries), keep a counter > which cycles 0,1,2,255,0,1,2,255, and only