I`m developing an OPENGL-ES application.
When I create a simple texturized 3D cube, it looks perfect, but when I create a complex texturized scene (a car over a scenary), the emulator shows painting problems.
Some polygons are painted like if normals were wrong, but HTC G1 shows the scene perfect without any problem. You can see this problem at attached images.
I´ve seen that painting order affects directly to this problem. I meen that if I call DRAWELEMENTS to paint car and then I call DRAWELEMENTS again to paint scenery, the emulator shows scenery OVER the car, and if I change DRAWELEMENTS order, then the car is shown over the scenery, but this only happends it the emulator, HTC works perfect in both cases. Shocked
I think this is the same problem that causes that the car is painted wrong itself, painting some black triangles.
¿Does anybody know if there is a problem with OPENGLES ZBUFFER and android emulator?