.X-file issue when exporting with 3dmax using keyframes

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.
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

.X-file issue when exporting with 3dmax using keyframes

Post by badday »

Hi,

can anyone recommend me an exporter for 3dmax 8 and .X-files for exporting keyframes "correctly" (so that irrlicht reads it the "right" way). At the moment I must set animation speed to 7000fps or so and I´ve got thousands of frames where should only be a hundred.

At the moment we´re using Xporter_119.

Thanks a lot.


Greetings,

badday
xirtamatrix
Posts: 219
Joined: Fri Feb 19, 2010 4:03 pm
Location: Estonia

Re: .X-file issue when exporting with 3dmax using keyframes

Post by xirtamatrix »

badday wrote:Hi,

can anyone recommend me an exporter for 3dmax 8 and .X-files for exporting keyframes "correctly"
Have you tried the Panda .X exporter?
http://www.andytather.co.uk/Panda/directxmax.aspx

AFAIK, its the most updated and best performing .X exporter out there.
to live, is natural; to die, is not!
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

Post by badday »

Yes, I did.

It´s the same problem. The thing is: Other viewers than irrlicht work correctly, so it´s a irrlicht specific problem. This problem occurs with animations without keyframes as well (I manually set the speed very high), but with keyframes, where I need the correct frame-numbers, the problem matters.

Does anyone have any experience or idea?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Are you using an old version of Irrlicht?
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

Post by badday »

Yes, we´re using version 1.6 with some modification. Might this be the problem?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

I think we have solved several problems with the keyframe support in .x loader. But I'm not sure if all those issues were resolved.
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

Post by badday »

I found out that 1 frame exported is about 140 irrlicht-frames. Maybe this can help someone who knows more what exact bug-issue this is.

Or can maybe anyone post some correct Panda-exporter properites?

I just realised that even the ModelViewer of the 1.7.2 version has got the same problem.

I get the following debug message:
Unknown data object in animation of .x file: AnimTicksPerSecond
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

The warning is ok. Can you upload the file somewhere?
Bear_130278
Posts: 237
Joined: Mon Jan 16, 2006 1:18 pm
Location: Odessa,Russian Federation

Post by Bear_130278 »

Are you sure you are exporting the KFs not the Max ticks????

Image
Do you like VODKA???
Image
Image
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

Post by badday »

Can you upload the file somewhere?
Surely, here it is: http://dl.dropbox.com/u/4711902/xfile.X

@Bear_130278: I´ll check this and tell you whether it works.


Thanks you two anyway.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Ok, now seeing that the value of AnimTicksPerSecond is at 4800 it might be correct to assume that this value is the FPS value. Right now we cannot use it, though, because the FPS value is not passed from the loader on to the mesh. But this is on our agenda, so we might have this in Irrlicht quite soon. thanks for the test mesh. And please report back if changing the exporter option helped you.
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

Post by badday »

@Bear_130278: Great thanks, it works with your properites.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Could you please upload the new mesh as well?
badday
Posts: 102
Joined: Mon Aug 16, 2010 1:14 pm

Post by badday »

Here it is: http://dl.dropbox.com/u/4711902/panda.X

Greetings,

badday
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: .X-file issue when exporting with 3dmax using keyframes

Post by CuteAlien »

Very old report. But fixed now in svn trunk r5097. (I got another report about it, just found this old message while fixing it).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply