PDA

View Full Version : PointSprites, again.



Leif
11-19-2004, 12:10 AM
Iíve read in another thread here that the pointsprites should be working again in the drivers (4.11) from ATI. Still my pointsprites, which stopped working after a driver update about 7-8 months ago, doesnít seem to work.

So I must be missing something I should be doing. Below is roughly (from memory) what Iím doing. But all I get is un-textured rectangles, (the texture in itself is ok when tested with quads), blending disabled.

Any suggestions on what Iím missing?

glPointSize(8.0);
glEnable(GL_POINT_SPRITE_ARB);
glEnable(GL_TEXTURE_2D);
glBindTexture(GL_TEXTURE_2Dł mytexture);
glTexEnvf(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE);
glColor4f(1.0, 1.0, 1.0, 1.0);
glBegin(GL_POINTS);

LeifÖ