PDA

View Full Version : Texture Coordinates



Tokage
06-09-2003, 07:45 PM
I'm using texture coordinate generation to apply a wood texture to the interior of a quadric cylinder, but there's always a little band of the same color about an eighth of a unit wide at 0 and 180 degrees, and I don't know how to get rid of it. Any suggestions?

kehziah
06-10-2003, 04:25 AM
What texture wrapping mode are you using? GL_CLAMP?

Tokage
06-10-2003, 07:18 AM
No, I'm using GL_REPEAT...

[This message has been edited by Tokage (edited 06-11-2003).]

Tokage
06-11-2003, 08:07 AM
That's not the problem. There's a seam or something. I even know why it's there: I'm generating coordinates from the planes y=0 and z=0, and where y=0 intersects the cylinder, there's a seam. What I need to know is how to get rid of it.