Many people are looking for a way to load skinned meshes and animated them. After long search i found some C# code on the japanese MSDN (http://www.microsoft.com/japan/msdn/...n/dx9/mxd9.asp)
It would be great if anyone can translate this to english
I rewrote the application in visual basic, so heres the result
The is 1 line (449 of D3DBlank.vb file) i was'nt able to convert
Code:
if (infl > caps.MaxVertexBlendMatrices) break;
What is C# "break" in VB?
The SkinnedMesh.zip file contains the VB source code of the sample. The bin file has been remove, so u have to copy tiny.x with texture from DX9 SDK to the bin folder of the sample or change the path in the source.
For c++ u got SkinnedMesh and Multianimation samples in DX9 SDK,
both have same result as this sample, playing an animated tiny.x
Only when skinning meshes c++ has more options for it (different types of skinning)
I also want to make my engine in c++ later but for some wierd reasson i cant compile c++ application referencing DX9
when opening a sample and compile i get error 'Cannot open include file: D3DX9.h'
When adding the include path to additional include dirs i got message
Fatel error LNK1104: cannot open file 'd3dx9dt'
Im not so good at c++ but it would be good for performance i the code would be made in c++