PDA

View Full Version : the point size



huangzl99
09-17-2001, 06:38 PM
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,

mikael_aronsson
09-17-2001, 09:42 PM
Hi !

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

Mikael

Gavin
09-18-2001, 02:28 AM
glClear(GL_COLOR_BUFFER_BIT);
glPointSize(5);
glBegin(GL_POINTS);
glVertex3f(2, 3, 0);
glVertex3f(1, 2, 0);
glEnd();

works fine for me.

MButchers
09-18-2001, 03:18 AM
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.

huangzl99
09-19-2001, 07:23 AM
I fixed this problem after downloading the driver for rage 128. that the bug of the driver!

thanks you guys!



Originally posted by MButchers:
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.