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

...means everything to get this task done.

If someone could help us, we would be sooo happy

If you need additional information just answer this thread, i'll check it every hour ... nearly.

animation loop : hand written (deltaTime / deltaMove to smoothly move the model, and a Switch to select the appropriate model variation (keyframe pose) when the time is elapsed. The main problem is that you have to reproduce the animation of the model by hand (it's not extracted from the 3ds file).

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,

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.html

Hope 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.

MD2 worked well for me but I didn't tried to export from Blender then import to Xith. What I know is you can import correctly MD2 with animations into Xith.And about COLLADA-Blender yes the problem is there is only a COLLADA 1.3.1 version, and anyway it doesn't exports anims from Blender.And for the Morph node yes it seems really useful. And c_lilian, do you think we could modify a bit the Blender OBJ export script so that it exports an OBJ file each n frames ? That'd be cool so we can load it in Xith and use the Morph node to anim it.

The morph node is GREAT ! I've just finished testing it and I'm going to use it : my animations are now perfect !!

blender - obj : would be a good idea, but for now I don't have time to investigate it (python is easy to learn : I've created some small programs the first day I looked at it, but blender API is harder : the armatures used for animation have changed a lot recently)

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org