PDA

View Full Version : Faster points



03-15-2003, 09:18 AM
Hello!

I wrote a program which draws about 50 000 points size of 5 (set with glPointSize), well it seems that using sizes bigger than 1 slows the rendering to slugspeed.

How could i speed it up? I'm already using display lists.

yaro_dup1
03-15-2003, 11:17 AM
Hi,

Try drawing the point as a raster. Make a bitmap with dot (size is that what You want) and then draw it using glBitmap and glRasterPos.

cheers,
yaro

Orzech
03-16-2003, 08:02 AM
Originally posted by glYaro:
Hi,

Try drawing the point as a raster. Make a bitmap with dot (size is that what You want) and then draw it using glBitmap and glRasterPos.

cheers,
yaro

... or try using display lists but I'm not sure if it can help you much.

Orzech

03-18-2003, 05:29 AM
I'm already using display lists.

How to use thoese raster points?

03-18-2003, 08:59 AM
Come on! I needhelp!

JustHanging
03-18-2003, 09:14 AM
Well maybe textured triangles could beat the points? 3d cards are weird sometimes. And have you tried the point sprite extension? And since there are so many of them, maybe VAR or VAO could help. What are you trying to draw? Perhaps the points aren't the best alternative at all.

-Ilkka

03-18-2003, 09:49 AM
Ilkka? Finnish too?

I've tried triangles but they are just slower.

JustHanging
03-18-2003, 10:27 PM
As finnish as it gets. Sorry I couldn't help you.

-Ilkka