Skip to main content
GameDev.net gamedev.net
🔒 Locked

Texture seams problems

Started by Gjmorama Mar 16, 2016 at 9:29 PM 2 replies 2.2k views
Original Post
Gjmorama
Gjmorama

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.

irreversible
irreversible

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.

Gjmorama
Gjmorama

Thanks let me check it out.

Hexmind
Hexmind

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.