PDA

View Full Version : Textured sphere problem...



03-05-2002, 09:14 PM
I am attempting to draw a sphere (using gluQuadric) and then texture the inside of it. As far as I can tell I am loading the texture correctly, but when I run the program the sphere is drawn completely black. When I was drawing the sphere without the texture it worked fine (I could change the color and everything looked good), but now that I am adding the texture is goes black. Any help would be great. Thanks.

MrShoe
03-05-2002, 11:50 PM
Code please...

chxfryer
03-06-2002, 08:04 AM
sounds goofy (but I have done it), make sure you have glEnable(GL_TEXTURE_2D);
It makes all the differance http://www.opengl.org/discussion_boards/ubb/wink.gif