Hey Andrea;

I am still trying to figure out what your optimization did ...
> Years ago, way before my involvement in GeoServer, I
> introduced a rendering optimization for lines. The
> observation was that if the line width was less than
> 1.5 pixels, setting it to 0 flat would make the rendering
> quite a bit faster (30%+ if my memory serves me right)
> and the visual result would have been the same.
>   
This magic number of 1.5 only makes sense if anti-alias is turned off 
right. To keep in the spirit of the optimization
it should be set to 1.25 (if we assume 4x subsampling); or turned off 
completly if anti-aliasing is turned on?
> For the trunk series, I'd say that we should turn the
> optimization off by default, but leave the toggle around for
> one more release cycle, after which, we remove it completely.
>
> How does this sound?
>   
That sounds fine; I am still looking at the pictures and trying to 
decide what has changed. The "thin line" pictures are very thin indeed.
> Cheers
> Andrea
>
>   


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to