Android: OpenGL texture and glDrawTexfOES problems?

If you google most OpenGL functions you get documentation for the function, followed by examples. For that function, the results are dominated by people having trouble That function might be slightly faster than using textures the usual way (I haven't used it so I don't know), but simply applying a texture to a quad needs no extensions and is extremely portable Why don't you try that and get back to us... it could be that the function is working perfectly, but something went wrong initializing the texture. Using the uncomplicated texture-a-quad method will help you find that out as well.

If you google most OpenGL functions you get documentation for the function, followed by examples. For that function, the results are dominated by people having trouble. That function might be slightly faster than using textures the usual way (I haven't used it so I don't know), but simply applying a texture to a quad needs no extensions and is extremely portable.

Why don't you try that and get back to us... it could be that the function is working perfectly, but something went wrong initializing the texture. Using the uncomplicated texture-a-quad method will help you find that out as well.

Thanks Ben. While Android's OpenGL doesn't seem to support quads, I was able to get the texture working with triangles at least. – user502656 Nov 10 '10 at 4:27.

You need to define the mapping of the image to the rectangle You are probably just getting the top left pixel of the image. Intcrop={0,0,text_dimx,text_dimy}; ((GL11) gl). GlTexParameteriv(GL10.

GL_TEXTURE_2D, GL11Ext. GL_TEXTURE_CROP_RECT_OES, crop,0).

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions