Android OpenGL .OBJ file loader [closed]

You asked this a while back but I have a good solution if you are still looking.

Instead of loading an obj file, you can easily convert it into arrays for the vertices, normals and texture coordinates. There’s a tool which converts obj files to c header files. You can convert the output to work with java afterwards. It shouldn’t be hard.

http://www.heikobehrens.net/2009/08/27/obj2opengl/

This solution is easy, the header files wont add much space in source code than the obj files and the data will be more compact when compiled, it’s very fast since you have the data there ready to render straight away, it can convert texture coordinates and you don’t need to worry about using it for your commercial products.

Leave a Comment