Since I could not find any libraries that can help me parse collada files in my c++/opengl project, I decided to write my own. (I did find assimp, but binaries for Visual Studio 2013 were't available, and I don't know enough to build it myself from the source; Can anyone build it and share it please? )
I read up a little about the structure of .dae files, figured I could do it, and exported Suzanne from Blender in a .dae file. Fine. Now I open up the .dae file in Notepad++ just to make sure I got the basic understanding right, and I found something weird.
So the tags [float_array id="Suzanne-mesh-positions-array" count="1521"] and [/float_array] contain the huge list of vertex positions right?
And the tags [p] and [/p] inside [polylist count = "968"] and [/polylist] should contain vertex indices in triangular order right? But that doesn't make sense, cause then the first triangle is going to be vertex, vertex and vertex.. But how is that possible? Any help please? If I've got it wrong, can someone direct me to some place where i can learn how to parse collada files. Thanks a lot.
EDIT: I finally managed to build Assimp for VS 2013 (YAAYYYY!!)after getting awesome instructions at http://www.learnopengl.com/#!Model-Loading/Assimp
But my confusion regarding the vertex indices remain.