Jump to content
  • Advertisement

Archived

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

Xero-X2

Problem with a texture on a quad

This topic is 6270 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!