I'm having issues getting skinning working with some animation I've imported. Do you know if PIX should show the blend indices and blend weights values in the 'PreVS' Details window when the Mesh tab is selected? I can see my figure being drawn as a mesh, but I think the animation isn't working because the blend weights and indices aren't making it to the shader (for some reason).
I'm using ID3DXMesh and the DrawSubset event shows:
All the items look good, the vertex declaration (in PIX) looks like this:
Stream Offset Type Method Usage UsageIndex 0 0 FLOAT3 DEFAULT POSITION 0 0 12 FLOAT2 DEFAULT TEXCOORD 0 0 20 FLOAT4 DEFAULT BLENDWEIGHT 0 0 36 FLOAT4 DEFAULT BLENDINDICES 0 0 52 FLOAT3 DEFAULT NORMAL 0
And my vertex and index buffers look good. Can't see the blend and weight values in the shader though, it's just:
VTX, IDX, Position, Normal, TexCoord0
My skinning has worked before, but this model and animation has been loaded from Mixamo. I can see all matrices being calculated correctly and my matrices are making it to the shader. For some reason, the blend and weight values aren't coming through.