XNA Creators Club Online
Page 1 of 1 (4 items)
Sort Posts: Previous Next

Animating a .fbx file

Last post 6/26/2009 12:04 PM by Antoine. 3 replies.
  • 6/18/2009 4:05 AM

    Animating a .fbx file

    Hi, first of all forgive me if this is a common post, I searched and I couldn't find any post like it,
    but I am trying to figure out how to animate a .fbx file.  (I hope this is the right place to post)

    I can import it using 


    myModel = Content.Load<Model>("Models\\FIRSTHUMAN");

    And I get the solid rigid body model with texture working great!  The problem arises when I want to make the mesh move in a action I called "Wave" which is
    inside the file (I looked manually) 

    I was following this tutorial
    http://www.stromcode.com/2008/03/16/modeling-for-xna-with-blender-part-iv/101/

    And it said to do two things First it instructed to change the Content Processor from Model - XNA Framework to SkinnedModelProcessor
    However, I do not have an option for SkinnedModelProcessor.  I am trying to figure out what reference it is under or what I have to do to load it.

    Second of all the tutorial gives a cryptic instruction on animating the sequence like:
    AnimationClip clip = skinningData.AnimationClips["wiggle"];

    This completely blows me out of the water because I do not have a class named AnimationClip anywhere.  (I have AnimationController...and AnimationSet.
    Also I do not have skinningData although I am assuming that is a variable name not a class name.

    I am using C# 2008 Express (hopefully that is not the problem)
    Does anyone know or have code to animate a .fbx file  And where do I find the Content Processor SkinnedMOdelProcessor?

    Does anyone know where AnimateClip is located?
    Also is there an easier way... Like "myModel.doAction("action")" or something.

    Thanks a lot I appreciate it.
  • 6/24/2009 6:06 AM In reply to

    Re: Animating a .fbx file

    Hi, I think the the tutorial you are using must have a Custom content processor  built for it and also customer class for AnimationClip. Try to search for the relevant files at the same site, see if they have a Content Pipline project to go with the sample.

    I am also trying to animate the model, will post here if I make any break through.
  • 6/24/2009 6:29 AM In reply to

    Re: Animating a .fbx file

    My guess was right, you are missing the content pipline classes and AnimationClip etc. implemented by the tutorial. Download the full sample from the link below and make sure your solution has all the projects included in the build.

    http://creators.xna.com/en-US/sample/skinnedmodel
  • 6/26/2009 12:04 PM In reply to

    Re: Animating a .fbx file

    You speak English, Spanish or French ? You need tutorials in your language ? You can make tutorials in your language ? Check : this site
Page 1 of 1 (4 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG