Hi!
I've got a problem with my animated models...
The animations only work, if i plot the animation! (menas that, if my animation is set to 50 frames for example, it plots the SRT values for 50 frames... Irrlicht then plays the animation fine)
But i don't want to plot it! i wan't to export the Keyframes i set and then irrlicht shall interpolate between them! (i think it's normal that a 3d engine interpolates between keyframes!)
Can someone help me with that?
oh - i'm using the official directX exporter for softimage XSI...
Animated .X files
I do not 100% unterstand what you mean by "plot" (no native english-speaker sorry). BUT, its not normal that keyframes get interpolated. you can more easily interpolate sceleton-models (interpolate the bones only) but interpolating keyframe animation would take to much time I guess (you could interpolate between the different animations, so when you are running to could interpolate to stand, but this is not included in irrlicht as far as I know)
yup, when I read "plot" I knew you were using xsi though I hadn't read it..I use xsi and that exporter. It works without plotting, but right now I don't remember the trick withe settings I guessed by trial and error...
It does work just interpolating, and plotting would be such a load of keyframes, yet though some engines do plot the stuff...
Imho is better to export interpolation and not plotted keyframes per frame...
there must be some setting you put wrong.
write here your settings in the exporter, if I remember to come back here, I'll tell u.
It does work just interpolating, and plotting would be such a load of keyframes, yet though some engines do plot the stuff...
Imho is better to export interpolation and not plotted keyframes per frame...
there must be some setting you put wrong.
write here your settings in the exporter, if I remember to come back here, I'll tell u.
Finally making games again!
http://www.konekogames.com
http://www.konekogames.com
hey!
I'm using the following settings:
File Type: Text (other possible settings: Binary, Compressed Binary)
Animations: enabled
Animation Type: SRT (other possible settings: Matrix keys)
Chains: Plot IK to FK (other possible settings: preserve FK)
Plot FCurves: enabled (if i disalbe it i get verry strange results!)
Triangulate: disabled
Export hidden objects: disabled
Compress mesh: enabled (if i disable it, the object won't show up in irrlicht)
Textures: enabled
if i disable plot FCurves, then it's not the case that the model isn't animated in irrlicht at all... it hasgot some animations... but only a few parts move, not all.... and the ones that move don't do it as they are supposed to do!
I'm using the following settings:
File Type: Text (other possible settings: Binary, Compressed Binary)
Animations: enabled
Animation Type: SRT (other possible settings: Matrix keys)
Chains: Plot IK to FK (other possible settings: preserve FK)
Plot FCurves: enabled (if i disalbe it i get verry strange results!)
Triangulate: disabled
Export hidden objects: disabled
Compress mesh: enabled (if i disable it, the object won't show up in irrlicht)
Textures: enabled
if i disable plot FCurves, then it's not the case that the model isn't animated in irrlicht at all... it hasgot some animations... but only a few parts move, not all.... and the ones that move don't do it as they are supposed to do!
one question...
have you tried to not polt fcurves, triangulate ENABLED, compress mesh DISABLED, and exporting....and then loading in MS mview utility (I think I have available in my signature link, tools depot, click there) and saving there again as X file...It is a well known method to make irrlicht like better the x files...
Also...Be sure all character is a single mesh, not built of attached elements....better if is one material, and one only texture, I think...(I get my mind messed as I worked for several engines)
if that fails (with all the other setting you already had (they were good)) try using matrix instead of srt, and if that fails, compress mesh enabled, but with the mview step.
All combinations you can play with if all fails, but try in the order I said, as is were my suspects go first...
there was kindda trick...I discovered, but I never write down these things and never remember when I face again the exporter...only with exporting again, I remember the trick...weird...
I do export towards Ultimate Unwrap...there i do some fixes or conversion to another format (irrlicht likes Unwrap x exports...)
have you tried to not polt fcurves, triangulate ENABLED, compress mesh DISABLED, and exporting....and then loading in MS mview utility (I think I have available in my signature link, tools depot, click there) and saving there again as X file...It is a well known method to make irrlicht like better the x files...
Also...Be sure all character is a single mesh, not built of attached elements....better if is one material, and one only texture, I think...(I get my mind messed as I worked for several engines)
if that fails (with all the other setting you already had (they were good)) try using matrix instead of srt, and if that fails, compress mesh enabled, but with the mview step.
All combinations you can play with if all fails, but try in the order I said, as is were my suspects go first...
there was kindda trick...I discovered, but I never write down these things and never remember when I face again the exporter...only with exporting again, I remember the trick...weird...
I do export towards Ultimate Unwrap...there i do some fixes or conversion to another format (irrlicht likes Unwrap x exports...)
Finally making games again!
http://www.konekogames.com
http://www.konekogames.com
just a guess, since I'm not an artist nd don't have xsi, but have you tried matrix keys instead of SRT? I don't know what SRT is, so I don't know what difference that would make, but I do know that .x's with matrix keys generally owkr in irrlicht (this is the way blender exports .x)
You do a lot of programming? Really? I try to get some in, but the debugging keeps me pretty busy.
Crucible of Stars
Crucible of Stars
SRT scale, rotation ,translation keyframes. You have the option in most x exporters, like in max, cfx, etc...
Cool to know irrlicht likes more matrix.
Cool to know irrlicht likes more matrix.
Finally making games again!
http://www.konekogames.com
http://www.konekogames.com