.X files and animations

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
genesys
Posts: 75
Joined: Tue Nov 02, 2004 6:49 pm
Contact:

.X files and animations

Post by genesys »

Hi folks!

I'm using the .X format for my models and i'm quite happy with it...

Now i've got a problem with animations.

Animations do only work, when i plot the SRT animations. but actually i want to use SRT Keyframes and let irrlicht interpolate the animations.

Why does this not work? Is this a limitation of irrlicht? Or of the .x format? Or am I doing anything wrong?


Thx!
vermeer
Posts: 2017
Joined: Wed Jan 21, 2004 3:22 pm
Contact:

Post by vermeer »

srt...

scale, rotation traslation...

I think in max plugin was oposed to Max matrix export, or something...

Dunno. Is a code matter.

Unless if when u uncheck srt, it's actually exporting no animation at all. If then what u want is interpolate between vertexes, then nope, I think there's no vertex animation in irrlicht other than md2...

Dunno, I guess u can load the x file with its bones, and access and rotate em by code, as I think saw some thread titles related to that lately...

Some coder may help.
Finally making games again!
http://www.konekogames.com
ThommyE
Posts: 48
Joined: Sun Sep 18, 2005 3:02 pm
Location: germany/badnerlaendle

Post by ThommyE »

in milkshape you can set a "time-scale" faktor, this way you can multiply the frame numbers in the file. this way the file will have the same size but lets say 10 times more frames- no real interpolation but it works pretty well. you have to mutliply the fps of the animation as well.. this way you will have 150 fps in your animations instad of 15- noone will notice that those 150 are not interpolated =)
maybe there is a way to do this in max,too. but i dunno.
accessing bones should work, but 4 interpolating only its a little too much effort in my eyes.
athlon2400xp+,geforce4200ti, 0.2Tb hd+64mb extern, 512mb ram, linux FC5 2.6.16-1.2096, 100%gates-free system
Guest

Post by Guest »

People who use Blender and the .x export plugin from mindfloaters.de do not have problems exporting their armature based animations to irrlicht
Post Reply