Fuzzy brushes (was "Ready for 4.8.0-rc1?")

Paul Spencer pspencer at DMSOLUTIONS.CA
Tue Jan 3 10:23:37 EST 2006


Cool.  Lemme know if you've updated anything in cvs and I'll get  
Assefa to build me a new binary so I can test it against our map  
files :)

Cheers

Paul

On 2-Jan-06, at 11:16 PM, Steve Lime wrote:

> Paul (et al.): I've played around with these a ton recently. I did  
> change the brush creation algorithm to more closely approximate  
> Photoshop or Gimp and the brushes look quite nice. The stair steps  
> still persist at some angles. I'm convinced it is a problem in GD.  
> Brushes w/alpha transparency seem to suffer from aggregation  
> effects of repeated alpha blending. For example, you can create a   
> circular brush with alpha=64 (50% transparent) and if you draw with  
> it the resulting line is *much* darker than you would expect. This  
> has an unfuzzing effect. As as result the "jaggies" you see in  
> unantialiased lines persist. Off to poke around in GD now.
>
> A work in progress...
>
> Steve
>
>>>> Paul Spencer <pspencer at DMSOLUTIONS.CA> 12/22/05 6:54 AM >>>
> Steve,
>
> I have a question about fuzzy brushes.  Your test case looks really
> good.  We tried this on our tiger map file in ka-Map and the results
> are less impressive.  It seems to work well for lines that are close
> to 45 degrees, but for lines that are closer to the vertical or
> horizontal, there is still a noticeable stairstep effect.  Did you
> try other angles on the line?  From what you said, my understanding
> is that this could be affected by the default hardness that you have
> chosen?
>
> Cheers
>
> Paul
>
> On 22-Dec-05, at 12:08 AM, Daniel Morissette wrote:
>
>> Our planned date for 4.8.0rc1 is today (Thursday Dec 22nd). Are we
>> good to go? Did you still have work to do on the fuzzy brushes Steve?
>>
>> Daniel
>> -- 
>> ------------------------------------------------------------
>>  Daniel Morissette               dmorissette at dmsolutions.ca
>>  DM Solutions Group              http://www.dmsolutions.ca/
>> ------------------------------------------------------------
>>
>
> +-----------------------------------------------------------------+
> |Paul Spencer                           pspencer at dmsolutions.ca   |
> +-----------------------------------------------------------------+
> |Applications & Software Development                              |
> |DM Solutions Group Inc                 http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
>

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+



More information about the mapserver-dev mailing list