Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: XNA Animation - Per Frame Sequence Export?  (Read 10154 times)

Frozenwounds

  • Newbie
  • *
  • Posts: 3
    • View Profile
XNA Animation - Per Frame Sequence Export?
« on: February 17, 2009, 10:58:32 am »

Hey, I'm making games with XNA Game Studio.
I've found that skinning is a pain when making games and that all the programs that are compatible with Xna are outdated or just plain useless. I'd love to be able to use Anim8or to make models for Xna but there's no support.

I know you can make plug-ins for Anim8or but I have no idea about the structure of model files etc.
I wonder if there is, or if somebody could make an exporter to export one .x file for every frame in a sequence. Then I could use Anim8or for Xna and I would be very happy!

Any wisdom?
Any beings of inconceivable kindness and intelligence willing to make that exporter?

Thanks.
Frozenwounds.
Logged

texel

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
Re: XNA Animation - Per Frame Sequence Export?
« Reply #1 on: February 17, 2009, 03:53:14 pm »

There is a script to export .x files but it does not export animations because Anim8or can't export animations in a script for the time beeing. (see the script section of the forum).

i have made an .an8 files to Milkshape 3D (ASCII) files converter:
http://texel3d.free.fr/projets/ani2pov/index.html
It support bone animation but not skinning. (you can only affect one mesh to each bone). It support animations such as:
http://www.anim8or.com/tutorials/simplewalk/index.html

Milkshape 3D is a shareware. But its file format is well known. Maybe you could find a loader for XNA or make your own.

Maybe this link could help you
http://creators.xna.com/fr-FR/sample/custommodelimporter
Logged

Claude

  • Sr. Member
  • ****
  • Posts: 285
    • View Profile
Re: XNA Animation - Per Frame Sequence Export?
« Reply #2 on: February 17, 2009, 04:05:16 pm »

It's impossible to write such a script at the moment,
but Anim8or allows you to export an animation as
a suite of 3DS files.Then,you would have to convert
them to X files.

You could search the net for such a converter or give a try
to the one referenced on the resource page(Conv3DS) or load them in Anim8or and use the X export script.

Don't know if it would work well,but might be worth a try?
Logged

Frozenwounds

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: XNA Animation - Per Frame Sequence Export?
« Reply #3 on: February 17, 2009, 05:33:41 pm »

I don't think I explained myself properly.
I don't actually want animation.
What I want is a seperate .X file for each frame.
Like how sprites have subimages, I want seperate models which I can display in sequence so it's much easier for me to code.
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: XNA Animation - Per Frame Sequence Export?
« Reply #4 on: February 17, 2009, 06:37:54 pm »

That's what Claude just explained. Export each frame as a 3ds file, then convert each 3ds file into .x using a file converter.

Though this method is entirely inefficient in game development...
Logged