PDA

View Full Version : Antialiased curves problem.



Voytec
11-10-2000, 01:16 AM
Is there any way to draw an antialiased curve (or generaly, any line build up of connected line segments) without seeing nasty 'dots' at the jonts of line segments?

mcraighead
11-10-2000, 10:08 AM
What kind of dots?

Depending on the blend modes you are using, there may be segments where the lines overlap that you get double coverage and thus double brightness.

This is just the way OpenGL AA lines work.

The solution is to use blend modes that don't give you double brightness...

- Matt

Voytec
11-11-2000, 01:54 AM
The problem is, that blending occurs also
at both ends of line segment. When drawing a
linestrip or Bezier curve I would expect OpenGL not to do any blending at the ends of line segments. But it isn't so. So doesn't matter what blending function I use, I always see the joints in some way.