I am trying to import a .OBJ model from Blender into my android project. I was trying using the open source of earth live wallpaper for my OBJ reader. I am trying to import vectors, normals, textures, and faces. The OBJ imports, but it seems the faces are either incomplete or at least out of order. Even using a basic cube mesh, certain faces just don't display correctly. All of the vertices appear to be there, textures and normals show up, however with the faces being out of place I cannot see if they are correct. Using Blender 2.4.9b, I have tried making faces into triangles, and about every combination of button on the export options to get it right.
You can see the import code I am using here -
http://code.google.com/p/earth-live-wal ... phere.java
It is under the private void loadObj()
I am not sure if there is an issue with the code, or with my OBJ file. Perhaps if someone could help me make sure I am exporting it correctly I could determine if my problem lies in the export of the OBJ, or importing into OpenGL.
Any help would be greatly appreciated, and if you need any further information just let me know.
Thanks in advance!







