I would like to render an animated 3d model that would be stored in a file.
I know two ways of doing it: with bones and with frames.
I would like to be able to render a lot of times the animated model (but not at the same frame) and I don't need a very accurate render so I think the best thing is to use frames.
To make the animated model I use Blender with bones and then I would like to export the frames of the animation to a file.
I searched the right file format and I think MD2 could do, then I searched a way of loading a MD2 file and I found this topic where TheKrokodil posted a MD2 loader:
The problem I encounter is that each triangle not only contains vertex indices but also texcoord indices.
I also looked at the .obj file format, and I saw that each face could even have normal indices.
But the only ways I know of rendering 3D models are those explained here:
And as far as I know, we can use GL.DrawElements to precise the vertex indices, but there is no way method that uses texcoord indices, or even normal indices.
So once I have loaded my model from a md2 or obj file, how do I render it (except using immediate mode) ?
And if we can do it with vertex arrays and VBO, what would be the faster ? (knowing that the vertex positions would always change).