I’m developing and Android application.
I have a model on Blender and I want to export it to use it with OpenGL ES 1.1. on Android.
How can I export my model as a set of points and vertex?
Is there any other suitable format to use with OpenGL ES 1.1? I’m not using a rendering engine.
Thanks.
You can use Wavefront (.obj) for your export, and put it into the assets directory of your project. There are a few different .obj importers with sample code available on the web. One of them is from Earth Live Wallpaper here.
From studying the code, it looks to me like the index buffer is unnecessary, and the Earth Wallpaper could just be using draw arrays instead of draw buffers, because none of the vertices are reused.
I suppose you could expand on this code to identify identical vertices and merge them, but it might slow down the load time a lot.