SetMatrixArray maximum?

Started by
0 comments, last by RobM 11 years, 3 months ago

Hi all, happy holidays


I downloaded a free animation from the Mixamo website to test my animation system. It looks like my COLLADA converter is working correctly and my animation matrices are calculated correctly but it's just taken me hours to find a 'bug' which was down to an error setting the matrix array.

The animation I downloaded has 113 bones and so I attempt to set 113 matrices in my shader (I appreciate this isn't ultra efficient yet) and I get an error 8076086C which I think is 'invalid call'. It works for far less bones (matrices). Is there a limit? And if so, what's the way around this? I would have thought 113 bones a fairly standard amount for a skeleton (this one is fairly detailed with facial animation too). Should this be broken up into multiple skeletons?

Thanks

Advertisement

Please ignore - I had a maxMatrices value set in my shader! :)

This topic is closed to new replies.

Advertisement