Archived

This topic is now archived and is closed to further replies.

Xero-X2

Problem with a texture on a quad

Recommended Posts

on a few quads in a program i''''m writing the texture will filp depending on its distance and rotaion to the camera. I flips on the X axis. an one know why. THE TEXTURE CORDS ARE AS FOLLOWS. if you want to know. glTexCoord2f(1.0f, 0.0f); glVertex3f... glTexCoord2f(1.0f, 1.0f); glVertex3f... glTexCoord2f(0.0f, 1.0f); glVertex3f... glTexCoord2f(0.0f, 0.0f); glVertex3f...

Share this post


Link to post
Share on other sites
You don''t happen to build mipmaps yourself, do you? Distance and rotation makes it sound like another mipmap level is kicking in, so maybe you''ve generated them wrong.

Share this post


Link to post
Share on other sites
You brought me half way to my answer, if fixed the mipmapping error and stoped the fliping I noticed then found a problem that was less apparent prevoiusly, my txtures were being sliced but I fixed that.

Thanks for the help.

Share this post


Link to post
Share on other sites