当我在DirectX多重动画演示中用另一个替换tiny_anim.x
动画文件时,我收到以下错误:
Assertion failure! (s:\gfx_sdknovember08\windows\directx\dxg\d3d11\d3dx9\anim\loadxh.cpp 1392): D3DXFrameNumNamedMatrices(pframeRoot) == plc->cNamedMatrices
D3DX: ID3DXAnimationController::RegisterAnimationOutput: Number of matrices registered is equal to the max number set at creation time.
这仅适用于某些导出的模型,而不适用于所有模型。
什么可能导致这个问题?
您使用的是2008年11月的SDK吗?尝试使用2009年3月的SDK(如果在您阅读本文时将其删除,则使用2009年8月的SDK)。