I built a simple 3D modeler to build model files that I can use in my OpenGL apps. To test it out, I made a simple 4 Point Square using
glBegin(GL_QUADS)
Vertexes, texXoords, etc..
glEnd
When I add a texturemap to it, it works just fine. But when I add a sphere or disk to the scene and texturemap it, the square's texture gets distorted. It only happens with spheres and Disks, and only when I texture map them.
I am texturemapping the Spheres/Disks with
glBindTexture( My_Texture )
gluQuadricTexture(MyQuad, True)
Changing the draw order of the two shapes has no effect, can anybody help me?
An image of the correct-looking texture is here:
http://www.angelfire.com/md/torasque/ogl1.JPG
an image of the screwed up texture is here:
http://www.angelfire.com/md/torasque/ogl2.JPG
[This message has been edited by Noah (edited 08-29-2000).]