PDA

View Full Version : quadric problem



05-24-2004, 10:11 PM
When i want to draw a quadric cylinder whit both top and base radius the same. I have no problems, but when i try this with different sizes. I got an ugly mapped texture where u can clearly see where one quad ends and the other begins do to the texture.

(PS I am using Display Lists)

ZbuffeR
05-25-2004, 09:23 AM
Texture coordinates problems ?
Try messing with glTexGen and GL_TEXTURE_GEN_S, GL_TEXTURE_GEN_T.

05-25-2004, 09:44 AM
thx I will try that

05-25-2004, 10:53 AM
I found out what i dit wrong i created a cylinder with only one stack. this provided a ugly mapped texture but when i increased that number it increases the quality.