Milkshape Animations

Last post 04-29-2008, 10:53 AM by Sucka234. 4 replies.
Sort Posts: Previous Next
  •  11-12-2007, 12:41 AM

    Milkshape Animations

    We use MilkShape to build the models for our game.

    Under MDX, we would export the models using the .X exporter and run a small utility that I wrote to split MilkShape's single animation track into multiple animation tracks (IE "Run", "Jump", etc)

    Using the SkinnedModelProcessor, MilkShape exported .X files are badly mangled and spooge out tons of build warnings.

    I am able to export the models using the FBX exporter and load them with the SkinnedModelProcessor with more success.

    In order to split the FBX file's single animation track, I am planning to modify the SkinnedModelProcessor to use information from a provided XML file to split the single animation track into multi named tracks. From looking at the sample source code, this should be a reasonable straightforward modification.

    OK, now to the question part of this thing.

    Before I go to all this trouble, does anyone see a simpler answer that I am just completely missing?


    PS I tried the http://www.codeplex.com/animationcomponents content processor, but it wouldn't even compile our models. I didn't spend much time debugging it as the project seems to have been abandoned.



    http://www.robotechmmo.com
  •  11-12-2007, 12:58 PM

    Re: Milkshape Animations

    My question was...

    ( ) Too hard.
    ( ) Too stupid.

    http://www.robotechmmo.com
  •  11-13-2007, 12:37 PM

    Re: Milkshape Animations

    Read through these threads and see if it helps you out:

    http://forums.xna.com/thread/829.aspx

    http://forums.xna.com/thread/3337.aspx

     

    - Matt D

     

    P.S.  I started doing animations in fragmotion because it supports multiple animation sets.

  •  11-13-2007, 1:21 PM

    Re: Milkshape Animations

    Well, I removed the Mesh from the Frame nesting and it fixed my problems.

    Oddly, my Mesh was nested 2 levels deep, so the first attempt just gave a new warning.

    I think I can modify my animation track splitting app to also remove the mesh nesting. If you want the code when its finished, let me know. I'd be happy to share it. If I am not mistaken, once I add your fix to it, you should be able to export directly from Milkshape to .X. Post process the model with my animation track splitter, and have a usable multi-track model for the SkinnedModelProcessor.

    http://www.robotechmmo.com
  •  04-29-2008, 10:53 AM

    Re: Milkshape Animations

    I would love to get the code :O

    pretty please?

View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback