3DS animation

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

3DS animation

Post by Guest »

Sorry, if I missed something, but I have a small question: how to run 3ds mesh animation. I mean I've created a very simple animation in 3D Max and exported it in 3ds format. Then I'm loading it in Irrlicht as following

Code: Select all

IAnimatedMesh* mesh = scene->getMesh("box.3ds");
IAnimatedMeshSceneNode* box = scene->addAnimatedMeshSceneNode(mesh);
It loads it successfully but doesn't animate it. Also pMesh->getFrameCount() returns 1, however I'm sure that there are more than one (actually 40) frames in it (when I import it into 3D Max back it shows me all those frames).

Can anyone help me with this?

Thanx in advance.
Guest

Post by Guest »

Guys, it's really important for me. If you don't understand my question or there is not enough info in it - tell me please. Cause as far as I've seen in code there are only MD2 and MS3D animated mesh interfaces.

Tell me that I'm wrong, cause I really don't want to create Skeletal animation in Milkshape 3D "point by point"... :(
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

Never worked in 3ds, but if there's an option to export animations, make sure its checked. If using milkshape, it cannot export animated 3ds, only static one.

P.S. It was only an hour after your first post, make sure to give people some time to answer
The Robomaniac
Project Head / Lead Programmer
Centaur Force
Guest

Post by Guest »

Yes, you right (about time) but I've seen some guru-guys here in that hour :)
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

yah, i was here-- but i havent played with anything other than MD2, so I couldnt answer. sorry :oops:
a screen cap is worth 0x100000 DWORDS
disanti
Posts: 367
Joined: Sat Jan 17, 2004 1:36 am
Location: California, US
Contact:

Post by disanti »

Don't use 3DS for animation, you will get nowhere in game dev with that. Use MD2 for all animations when using Irrlicht. MS3D is horrible. I hate Milkshape, but that is because I have 3ds Max :P
________
Medical marijuana
Last edited by disanti on Tue Feb 22, 2011 7:57 am, edited 1 time in total.
Guest
Posts: 35
Joined: Mon Feb 02, 2004 7:17 pm
Location: Russia, Saint-Petersburg

Post by Guest »

First of all - really thanx for your replies (seriously).

It really sounds good :)
Q: Can I use it?
A: Doesn't matter! It's suxx! Better use another stuff :)
I'm completely new with MD2 (I even played Q2 just a couple of times :)) so I have no idea how to create animation with this format... But it's not a problem to learn something new - the question is only: are MD2 animations good enough? I mean, I've noticed in Milkshape 1.7.0 that MD2 exporter has limitation in about 4096 polygons per model. Is this a Milkshape's threshold or a MD2 format specification?

Anyway, disanti, I'm appreiate for your advice and have some simple questions to you:
1. if you're working with 3D Max then you probably creating scenes (meshes) there, and animating them with MD2 later on, aren't you?
2. If so, could you tell me a little more specific what fomats do you use for transferring and what editor do you use to create MD2?

Thanx in advance and sorry for such a long post.
Still wainting for you answers :wink:

P.S.: BTW, 3D Max has a Charachter studio where you don't have to make your skeletal animation "point by point" as, for example, in Milkshape.
Guest

Post by Guest »

Apologies for hi-jacking a thread and sorry for the complete noob question; but am I right in assuming that Irrlicht ony supports MD2 files for animation then???
Guest
Posts: 35
Joined: Mon Feb 02, 2004 7:17 pm
Location: Russia, Saint-Petersburg

Post by Guest »

Hey! He is not me :)
rogerdv
Posts: 93
Joined: Wed Aug 27, 2003 4:20 pm

Post by rogerdv »

Irrlicht, AFAIK, only supports animations in md2 and ms3d files.
ru guo ni yao ai, ni jiang bu hui shi qu
Nick
Posts: 4
Joined: Fri Feb 06, 2004 3:55 am

Post by Nick »

rogerdv, Join me to your QQ:44004210
Pls sign about: irrlicht
rogerdv
Posts: 93
Joined: Wed Aug 27, 2003 4:20 pm

Post by rogerdv »

QQ? you mean ICQ?
ru guo ni yao ai, ni jiang bu hui shi qu
Post Reply