Using 3ds files

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

Post by Albert »

I use the Meshviewer (tut #09) compiled program. The dwarf (an md2 file?) is OK. But when I load an animated .3DS model it stays still at the 1st frame (there're 5 frames total). Then I have another test, a .3DS mesh w/ about 200 frames. It's the same as the first one. Can Irrlicht play 3DS anime?
Soulil
Posts: 6
Joined: Tue Mar 08, 2005 7:52 pm

Post by Soulil »

I have the same Problem when i try to load a 3DS with animations. It seems like Irrlicht can't load or play animation data of 3ds files but i can be wrong as i am very new to Irrlicht.
What i' m sure about is that 3DS keeps the aniamtion of objects (though it doesn't support skin).

So same as Albert:
Is it possible to load 3DS anims ?? or do we have to use other formats like md2 for animated objetcs ?
Guest

Post by Guest »

One thing you could try is setting the model's animation speed. Perhaps it's set at 0 FPS by default.

In the tutorial's loadModel function, add the following at the bottom:

Model->setAnimationSpeed( 10 );

And see if you get movement.
Guest

Post by Guest »

Anonymous wrote:One thing you could try is setting the model's animation speed. Perhaps it's set at 0 FPS by default.

In the tutorial's loadModel function, add the following at the bottom:

Model->setAnimationSpeed( 10 );

And see if you get movement.
First: I use the tutorial program called Meshviewer to load the 3ds file. It can play the default model (the dwarf) smoothly. I do not change the code, just click the Open button to load the model... Nothing's changed but the file format (so AnimSpeed's not the cause).

Second: I did the same as you said (for my own program & for Meshviewer). But it still not work with .3ds files (md2 file, such as sydney.md2 is OK!!!).

Sad.......
Post Reply