Skip to main content
GameDev.net gamedev.net
🔒 Locked

SetMatrixArray maximum?

Started by RobM Dec 29, 2012 at 12:33 PM 0 replies 1.1k views
Original Post
RobM
RobM

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

RobM
RobM

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.