I'm having a little problem with getting my vertex data from a document exported from Blender using the 1.4 schema.
I'm using the Collada DOM 2.0 to load the document. When I want to extract the vertex info from a set of triangles, I store the domSource element associated with the input (positions, normals, texture etc.).
The problem I'm having is that my position input references a vertex element, which in turn references the actual elements containing the vertex floats.
So my domSource* instance represents the following in the xml;
Code :- <vertices id="glass10_body-Geometry-Vertex"> <input semantic="POSITION" source="#glass10_body-Geometry-Position" /> </vertices>
So given the domSource element that represents this in the database, how can I get the source element that contains the actual float data?