hi, I am writing on my first 3D engine which is supposed to run on GL3/GLES2. Currently I am wondering which model format to choose. As I am only going to render static objects (only camera and lighting changes), I was thinking about throwing all vertices+attributes of an model in an VBO and then render it as a triangle-strip using offsets for texturing different parts. like:
since I would like to use existing models, I would rather use an existing format then inventing my own. Do you know any Model format which allows this kind of rendering without too much work?
I would suggest OBJ. It is widely supported and relatively easy to debug as they are text files. Though you will probably want to post process the raw data to be used for optimized rendering.
Under GL3 you can do it with one draw call, if you pack textures into one texture array. Then use third texcoord to select from which slice of this array to take texture. This can significantly reduce draw calls.