Hi
Using Opengl ES for Anroid we’re facing a problem when drawing a square with a texture. They look fine from a distance, but when getting close to the model the texture screws up. We believe this is caused by the fact that the model only consists of four vertices:
float[] coords = {
-1, 1, 0.0f,
1, 1, 0.0f,
-1, -1, 0.0f,
1, -1, 0.0f,
};
That is why we want to expand the model so it consists of 10x10 polygons, so the question is: In which order do we have to draw the vertices to create a plane similar to this:
http://cocktailgenerator.net/cis4/plan.png
Using GL_TRIANGLE_STRIP we are able to draw a rectangle of polygons like (1x10) and it works well, but how do we expand it to 10x10?