Jump to content
  • Advertisement
Sign in to follow this  
Gjmorama

OpenGL Texture seams problems

This topic is 852 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

Hello folks, I'm working in an application coded in C++ that is importing OBJ files with texture coming from a 3D camera. Right now I can import the 3D image however I have texture seams issues. In the first file you can see how the 3D image looks like once imported. The texture coordinates are not 100% matching, so this is causing the problem. In the second file you can see the image zoomed, so the texture coordinates problem is more visible. We are using OpenGL library in C++ to import the image.

Any idea/suggestion will be highly appreciated.

Share this post


Link to post
Share on other sites
Advertisement

AFAIR it was part of the deprecation model of GL3.0 (or possibly 3.3), but does your texture have a border? I don't know how drivers react to a non-zero border these day (the docs say specifying a border should result in an invalid value - if you check for it, that is), but even if it is legal, in this case you most certainly want set it to 0.

 

I have to concede that due to the shape of the edge this doesn't look like a texture border issue, though.

Share this post


Link to post
Share on other sites

If what Gjmorama said doesn't solve the problem I would then suggest you try to resize your textures to a power of 2 if not already at such a size.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!