Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games

GL_POINT_SPRITES on Mobile Intel(R) 945 Express Chipset Family Texturing problem

Cezary_Z_
Beginner
398 Views

Hi there, i am trying to make my GL_POINT_SPRITES textured when i add a texture to them they all look like a first pixel of a texture in the image below its yellow:


 


 

but i alos tried it on a different computer with geforce and it lloks like it should:

http://www.youtube.com/watch?v=dGiO5XlMVTE


 

since i see that my card can support point sprites i wonder why i cant make this texture be drawn right.


 

heres the code:

	glEnable(GL_TEXTURE_2D);

		glBindTexture(GL_TEXTURE_2D, m_texStar);
			 glTexEnvi(GL_POINT_SPRITE, GL_COORD_REPLACE, GL_TRUE);
	  glEnable(GL_POINT_SPRITE);

  glPointParameterf(GL_POINT_SIZE_MAX, 35.0f);
  glPointParameterf(GL_POINT_SIZE_MIN, 1.0f);

  glPointSize(maxSize); 
  glBegin(GL_POINTS);

		   glVertex3f(pos.x,pos.y,0);

  glEnd();

	 glDisable(GL_POINT_SPRITE);
  glDisable(GL_TEXTURE_2D);


 


 

any idea what i should add to make it work, or this old graphics can't render it, how couldi check such thing then?


 

Cheers

0 Kudos
1 Reply
Michael_C_Intel2
Employee
399 Views

Hi Cezary,

 

I am afraid there is not much we can do to help. Point Sprites are supported on the Mobile Intel(R) 945 Express Chipset Family. However there is a bug in the driver and no fix is available as the product and driver are EOL.

0 Kudos
Reply