The D3DX animation API for .x mesh files leaves a lot to be desired.