rhmazza

11-03-2000, 11:47 AM

I'm trying to have OpenGL generate my s and t texture coordinates for me, but I'm having trouble getting it to look right on certain objects, mostly solid cylinders.

I can't figure out good s and t vectors to use so that the texture is just mapped evenly around the whole object. There always seems to be some streaking on a pair of sides or something.

My main problem is that I just haven't found a good reference for how the s and t coordinates actually work, but if anyone can help me out with the s and t vectors I'm looking for that would map evenly on all parts of an object, that would be great.

Thanks GLers,

Ray

I can't figure out good s and t vectors to use so that the texture is just mapped evenly around the whole object. There always seems to be some streaking on a pair of sides or something.

My main problem is that I just haven't found a good reference for how the s and t coordinates actually work, but if anyone can help me out with the s and t vectors I'm looking for that would map evenly on all parts of an object, that would be great.

Thanks GLers,

Ray