I have taken some teapot data and I am trying to render it using OpenGL ES using vertex array. I can see that the teapot is looking trasparent, though I have disabled blending and alpha tests.
Can some one tell me if there is any other reason to see a transparent image. Could the order of the vertices have anything to with this ?
I had not enabled the depth test . When I enable it with GL_LEQUAL or GL_GEQUAL as the depth func only part of the teapot is visible. But when I enable GL_NOTEQUAL, most of the teapot is visible with the same trasparency problem.
The same data is working fine in KLimt, the only difference being the commands used in KLimt are Vertex3fv and Normal3fv where as I am using VertexPointer and NormalPointer.
Thanks a lot It solved the problem. I wasnt clearing the depth buffer each time, that was probably responsible for the partial images in the later frames.
Enabling depth test & clearing properly solved the problem.