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 jay...@gimp.org wrote:  result = floor(input * opacity + g_random_double()); If you pregenerate a lookup table (say 256 entries), keep a counter which cycles

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 ---BeginMessage--- -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: Though having a far

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 to me like this is the

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 jay...@gimp.org 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):  

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

[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

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 out