   glusphere texture problem
  Hi everyoneI render many balls in the scene using "glusphere". I just use one texture to all the balls so they look the same.The problem is when I move the camara, the balls are rotating to face the center of the window which is not I want. I want them stay static when I move camara across the scene. This happens even when I am not using "glrotate" anywhere before "glusphere". So I am confused... I appreciate any reply.  Thanks...the init function pseudo-code is:glGenTextures(1, &m_texture);m_pSphereObj = gluNewQuadric();gluQuadricTexture(m_pSphereObj, GL_TRUE);The render function pseudo-code is:glpushmatrix();glulookat();glBindTexture(GL_TEXTURE_2D, m_texture);glEnable(GL_TEXTURE_2D);   for(i<ballnum)   { glpushmatrix(); gltranslate(ball.position); glusphere(m_pSphereObj,.. ); glpopmatrix();   }glDisable(GL_TEXTURE_2D);glpopmatrix();[Edited by - JAIHANUMAN on May 16, 2010 7:44:15 AM]
  Depends on your code so maybe you should post that along with your question.   ;  ya, thanks for the advise, and I upload a pic to show the problem. hope it will be clear. thanks   ;  ya, thanks for the advise, and I upload a pic to show the problem. hope it will be clear. thanks   