Texturing GL primitives

How do I texture basic GL spheres?

Depends on how build it:
You can with gluSphere or any glu primitives, but not with glutSolidSphere or other glut primitives execpt the teapot.

Originally posted by Gobbo:
How do I texture basic GL spheres?

if you are going to use quadric then it is
just like any other 3d object but use these lines to initiate the quadric first

quadric =gluNewQuadric();

//here you set the texture drawing style
gluQuadricNormals(quadric, GLU_SMOOTH);

gluQuadricTexture(quadric, GL_TRUE);