We (3 guys) trying to build a java game in 3d using xith3d.
That's a pleasure to see that more and more people use Java & Xith3D.
We are nearly at our expected goal but we weren't able to load animated 3dsmax models into the game.
We tried:
We read about the loaders (md2 and 3ds, from kevglass and an enhanced version of "kinowelt" or something).
We tried every kind of tool or software which might could help us.
We converted the model in different formats.
BUT: No luck so far. The only thing we got were 1 frame (which is not enough for an animation, I guess.)
We need:
- a tutorial with code (how to load and how to start the animation)
- a hint on the "perfect" loader
- a hint on a good tool
I'm afraid I have no tutorial, but I have indeed some hints to give.
First,
I don't think the current model loaders include any animations.
That's wrong : MD2 and COLLADA loaders support animation. Sheesh, c_lilian you could have used them in fact it's not your fault I am currently improving the doc so the people actually know we support animation.
So I won't talk about COLLADA since I didn't tried it myself. What I tried is MD2. And it works well.
So I'll advice you to :
- use the MD2 format
- to know how to import it into Xith, study that file :
http://xith.org/showsrc.php?src=src/org/xith3d/test/MD2Test.java that's pretty much all you need
- go Blender for modelisation/animation. Here's the official site :
http://www.blender3d.orgI think the MD2 export/importer is included with the 2.41 release. However if it's not, here's the python script :
http://www.blender3d.org/cms/Import___Export.5.0.htmlHope I helped you.
Good luck with your game, and please PM me about your project : I'm doing a database of the game projects using Xith.