How do antialiased polygons and circles in Max2D?

BlitzMax Forums/BlitzMax Programming/How do antialiased polygons and circles in Max2D?

Najdorf(Posted 2005) [#1]
I can get antialiased lines with
SetGraphicsDriver GLMax2DDriver()
Graphics 640, 480, 0
SetColor 100,100,100
glEnable(GL_POLYGON_SMOOTH)
glEnable(GL_LINE_SMOOTH)
SetBlend ALPHABLEND
DrawLine 0, 0, 639, 479
Flip
WaitKey()
End


But I cant get antialiased polygons or ovals.

If somebody knows how to get antialiased polygons or ovals in Max2D please help me :/


Will(Posted 2005) [#2]
Try drawing antialiased lines along your polygon edges.


ImaginaryHuman(Posted 2005) [#3]
Do you need to enable shading rather than flat?