Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
As the title says. Digged arround all weekend and didn't find a solution.

Code:
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
    glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
Tried setting GL_TEXTURE_WRAP_* to GL_CLAMP but nothing.

Hope someone has a clue. I'm new to opengl es.

Btw. the texture dimension is 800x400.
Attached Images
 
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#2
are you sure the texture is rotated correctly? (like, not 90 degrees away)
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#3
It maps corectly on windows and linux desktop. And yes the visible half gets mapped correctly and the rest... well as in the screenshot..
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#4
Hm, if it does show only one half, have you tried redimensioning the texture so it is half as wide?
 
Guest | Posts: n/a | Thanked: 0 times | Joined on
#5
Exactly the ame result when resizing it to 400x400...
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#6
a wasteful workaround would be to double the image, two copies side to side
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:49.