Texture on gluQuadrics

I try to use a texture (.jpg) in a gluQuadric (a sphere) but the texture is reversed. How can i fix that??

Reversed? Are you sure you are loading it properly? How are you applying your texture?

have you tryed to load any other texture types? if i rember right, jpgs need a special library. -PmanC

Is the texture upside-down? I think that the OpenGL (& GLU) standard is to treat the first pixel in an image as the lower left corner, while in JPEG the first pixel is the upper left corner (if I remember it correctly).

One solution is to “mirror” the loaded JPEG image yourself, before uploading it to texture memory. Another solution is to modify the texture matrix.