Animated OGRE Mesh one poly doesn't animate propperly

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
zeroZshadow
Posts: 43
Joined: Mon Dec 01, 2008 6:35 pm

Animated OGRE Mesh one poly doesn't animate propperly

Post by zeroZshadow »

When loading an bone animated mesh that was exported using OgreMax from maya.
One of the polygons doesn't animate with the rest of the mesh.

http://img225.imageshack.us/img225/1014 ... 210296.png

As shown here.
This happens with ALL our meshes.

And doesn;t only happen when an animation is played.

For example we have 2 large eye's that follow the player, but bones of the eyes are rotated to make the eyes rotate, but here too there is 1 broken poly per eye.

Is this an OgreMax thing ? or is Irrlicht importing something wrong ?

Thanks,

zeroZshadow
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

as far as i know irrlicht doesnt fully support ogre animated mesh format (correct me if i'm wrong) unanimated one works fine.
zeroZshadow
Posts: 43
Joined: Mon Dec 01, 2008 6:35 pm

Post by zeroZshadow »

I'm not sure about the amount of support
But seeing as we use maya, .mesh was our ONLY free option of exporting models for use with irrlicht.

Unanimated works fine offcourse.
But when animating a part stays on its start position.
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

i used .x when i export from maya. maybe you can try that too.
zeroZshadow
Posts: 43
Joined: Mon Dec 01, 2008 6:35 pm

Post by zeroZshadow »

There is no propper X Exporter for Maya that supports bone animation
Virion
Competition winner
Posts: 2148
Joined: Mon Dec 18, 2006 5:04 am

Post by Virion »

which version of maya are you running? i tried http://www.chadvernon.com/blog/resources/cvxporter/ on maya2009 before and it worked
zeroZshadow
Posts: 43
Joined: Mon Dec 01, 2008 6:35 pm

Post by zeroZshadow »

we have maya 2010
does cvexporter also support bone animations ? any restrictions you know from that exporter ?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Ogre animations are supported since Irrlicht 1.7. Since the format is not well documented, there might be a bug in the loader. Maybe you can send me one mesh for testing?
zeroZshadow
Posts: 43
Joined: Mon Dec 01, 2008 6:35 pm

Post by zeroZshadow »

Offcourse where do you want me to send the mesh too ?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Please send a downloadlink via PM or mail the mesh directly to hybrid#users.sourceforge.net
zeroZshadow
Posts: 43
Joined: Mon Dec 01, 2008 6:35 pm

Post by zeroZshadow »

E-mail send
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Ok, took a while until I found time to debug this. The mesh is definitely broken, because the sizes of the submesh elements are not correct. I did not dig all the way through, but assume that you have some problem with the exporter. Please try to fix that first, or repair the mesh some other way.
Hint: The problem is the size of the submesh, which is 54 bytes too short. This leads to the 'Skipped: 26640' output on the Irrlicht console
tmyke
Competition winner
Posts: 22
Joined: Thu Apr 03, 2008 4:43 pm
Location: France

Post by tmyke »

Apparently, it is also to change the format version. 'mesh' Ogre.
For example with the file Jaiqua of version 1.6 of Ogre package, no apparent problem. (the animation run very fine).

Image

By cons with the file Jaiqua version 1.7 of Ogre package was a lot of trouble rendering.

Image
Strength and wisdom.
Admin of the http://www.irrlicht.fr and dad of N3xtD.
Sorry for my poor English.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That's indeed a reproducible problem. I'll check this, maybe there's a format change which I did not recognize in the format descriptions.
Post Reply