VansFannel
(VansFannel)
December 3, 2010, 3:08am
1
Hello.
I’m very very new on Blender and 3D rendering.
I’m developing an Android application that uses OpenGL ES 2.0.
I’m exporting my models with WaveFront .OBJ format. I only see vertex positions, normals and textures, but not indices.
How can I export vertex positions, normals and textures and indices?
And, by the way. What are indices?
Thanks.
Monster
(Monster)
December 3, 2010, 3:57am
2
good question. What do you mean with indices?
usually that are just helpers for faster access to data. They are not necessary to form the data model and can be generated from the data model. As far as I know this does not belong to 3D Modells.
Anyway. This does not belong to the BGE forum.
Moved
arexma
(arexma)
December 3, 2010, 4:42am
3
I assume you already have an .obj importer that create indices to use drawArrays, drawElements?
else, write or use one =)
However, an android dev forum usually helps
http://www.anddev.org/android-2d-3d-graphics-opengl-problems-f55/obj-import-to-opengl-trouble-t48883.html
exactly your problem.
VansFannel
(VansFannel)
December 3, 2010, 5:38am
4
Indices are called faces on Wavefront OBJ format.
I’m trying to use glDrawElements, and I don’t know what may I use on last parameter, indices.