I use autogenerated classed from COLLADA schema 1.4.1 for loading and parsing collada files feom C#.
But I have an issue trying to parse <source id="skin-joints"> inside <controller> tag.
I don`t know why, but exactly that array with bone names loaded nothing except joints count and source id.
All other sources loading correctly. I tested on few different files and always the same error.
Loading file code:
public static COLLADA Load(string fileName)
FileStream stream = new FileStream(fileName, FileMode.Open);
result = Load(stream);
public static COLLADA Load(Stream stream)
StreamReader str = new StreamReader(stream);
XmlSerializer xSerializer = new XmlSerializer(typeof(COLLADA));
Does anyone faced with it or does anyone know how to fix that issue?
As alternative I can parse that part of file by standart XML parser, but I wish to solve this issue using COLLADA classes.
Edited by BlackJoker, 06 June 2014 - 02:48 AM.