What i want todo is render the bones that make up the Tiny.x mesh, I have the amount of bones data and the bones names, in this skinned mesh example the code looks like this to get the localboneoffsets matrix's
Code:for(UINT i = 0; i < mNumBones; ++i) //35 { offsetTemp = *mSkinInfo->GetBoneOffsetMatrix(i); toRootTemp = *mToRootXFormPtrs[i]; mFinalXForms[i] = offsetTemp * toRootTemp; }