PDA

View Full Version : Texture problem while using Quadrics



bahamut524
06-01-2002, 08:18 PM
Hello. I was wondering if it was possible to use features such as "GL_REPEAT" and "GL_CLAMP" when you use quadrics. I was able to bind my texture, but I have no clue how I would get my quadric objects to work with
glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_WRAP_S, GL_REPEAT);

I know that the texture coordinates have to be outside the [0,1] interval in order to see the effects of clamp or repeat mode, but with quadrics, I don't know of a way to set these coordinates since I think I read somewhere that they are automatically generated. If anyone can please help me out, I would greatly appreciate it. Thanks a lot.