Hi guys,
I'm having a problem with my AR application, its based on ImageTargets and instead of a teapot i have a plane with a png transparent texture on it... it works fine with a galaxy S II, but in the galaxy tab p1000 it shows the plane with a black texture.
I'm kind of lost here as i know that:
i HAVE GLBlend enabled and working (as it works in GSII)
i HAVE glActiveTexture(GL_TEXTURE0);
its not a memory issue because if it was it would crash.
Any Ideas on what may be causing this?
Thanks in advance,
Bruno
Hello,
We use glDrawElements in the samples which takes an array of indices. This allows us to randomly index into the other model arrays when building the triangles that make up our model.
You may have a model without indices. This means that the model arrays are meant to be read linearly, that is, the triangles are listed in consecutive order. In that case, you would use the glDrawArrays method instead:
Let me know if this fixes your problem,
-Peter