PDA

View Full Version : Solid broken line with antialiasing



-=MadMan=-
05-22-2005, 11:30 PM
Hi.
I'm porting some 2D engine under OpenGL and want to use antialiased lines. But in joint points there is a "halo" and the broken line looks like its damaged. Turning of antialiasing kill this halo, but the line looks terrible.
Where does this side effect comes from? Did I wrong blending flags?
Thanks.
Daniel.

ZbuffeR
05-22-2005, 11:57 PM
Did you follow these recommandations :
http://www.opengl.org/resources/tutorials/sig99/advanced99/notes/node120.html

Apparently, it can depend a lot from the hardware :
http://homepage.mac.com/arekkusu/bugs/invariance/HWAA.html

-=MadMan=-
05-23-2005, 12:08 AM
Thanks for the hint.
It seems that I need to disable depth buffer update. I'll try it as soon as I get home from the job ;]
10x again.
Daniel.