Hello GeoTools!

For my research work I am drawing aliased lines of thickness 1 with the
requirement that coincident line segments should be drawn using the same
set of pixels in the common region. Sadly, this is not provided by the
standard JRE implementations which use the Bresenham's algorithm or one of
it's derivates. To remedy this, I wrote my own line renderer, based on the
diamond exit rasterization strategy used by 3D APIs as OpenGL and DirectX.
You can see the difference in this screenshot:

http://i.imgur.com/bvKwUG9.png

Perhaps it's a good idea to use this line renderer in GeoTools whenever
possible (lines of width 1, solid color, aliased), because of the stability
of the "diamond exit" rule. I can provide the code upon request.

Regards,
Mihail
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to