the point size

hi, all!

I want to draw a point in the window, however,the point is always too small to be seen on the screen.

I tried to set the point size:
glPointSize(5.0);

it does not take any effect. and if I retrieve the GL_POINT_SIZE_RANGE using
glGetFloatv(), the program will get debug error any way, what’s wrong with it?

is this the hardware problem?

thanks,

Hi !

A wild guess is that you have put the glPointSize() between glBegin() and glEnd()

Mikael

glClear(GL_COLOR_BUFFER_BIT);
glPointSize(5);
glBegin(GL_POINTS);
glVertex3f(2, 3, 0);
glVertex3f(1, 2, 0);
glEnd();

works fine for me.

Hi,

I used to have a problem with glPointSize
on my ATI Radeon but since i downloaded
the latest drivers it seems to be OK.

Try the latest drivers it may be those!

Cheers

Mark.

I fixed this problem after downloading the driver for rage 128. that the bug of the driver!

thanks you guys!

Originally posted by MButchers:
[b]Hi,

I used to have a problem with glPointSize
on my ATI Radeon but since i downloaded
the latest drivers it seems to be OK.

Try the latest drivers it may be those!

Cheers

Mark.[/b]