Results 1 to 4 of 4

Thread: Sample: SkinnedMesh (Animated)

  1. #1

    Thread Starter
    Addicted Member Nigh™a®e's Avatar
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    175

    Sample: SkinnedMesh (Animated)

    Hi,

    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 making custom animations for the mesh see http://msdn.microsoft.com/library/de...st/directx.asp. I did not try this out yet

    The sample is made using Visual Basic.NET 2003 and DirectX9 SDK 1.0.1901.0. The sample will not work when using VS.NET 2002 or DX9 SDK 1.0.900.0

    Greets Nightmare
    Attached Files Attached Files
    Last edited by Nigh™a®e; Feb 28th, 2004 at 03:21 PM.

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    Didn't see that it was made in VB.Net 2003. So I can't test it. But I know nothing about D3D in VB anyway. Switched to C++ when I started with 3D.


    So sorry, can't test it.

  3. #3

    Thread Starter
    Addicted Member Nigh™a®e's Avatar
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    175
    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++

    Greets Nightmare

  4. #4
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190
    What IDE are you using for C++. Have you set up the linker to link to the lib files too. No just set the include paths?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width