PDA

View Full Version : circular glPoints



hoshi55
04-14-2004, 04:15 AM
hi

is there an instruction in openGL to draw round, circular points with GL_POINTS and glPointSize() or are they always rectangular?

thx
hoshi55

PanzerSchreck
04-14-2004, 04:23 AM
glEnable(GL_POINT_SMOOTH)

Honk
04-14-2004, 05:39 AM
And dont forget to enable blending as well...

arekkusu
04-14-2004, 11:07 AM
It may or may not work, depending on your (customer's) GPU. Antialiased points/lines aren't required for GL conformance, so not everybody implements them.

As a workaround you can draw a quad with a texture of an AA point on it.