Hi,
Am using Collada dom 1.4.I want to know will dom 1.4 supports collada animation.
void Collada_Parser::ReadAnimationLibrary(domLibrary_animationsRef lib)
{
for ( unsigned int i = 0; i < lib->getAnimation_array().getCount(); i++)
{
ReadAnimation( lib->getAnimation_array()[i] );
}
}
domSource_Array &source_array = animation->getSource_array();
for (unsigned int i=0; i<source_array.getCount(); i++)
{
ReadAnimationSource(source_array[i]);
}
In the above source i could get the animation array count but am not able to retrive any information like channel,sampler,source even though am having some data in channel… so is am doing any thing wrong.Can any one guide me regarding this.
Thanks