Page 1 of 1

issues of ogre mesh loader

Posted: Wed May 14, 2014 2:10 am
by kevin_shanghai
Hi friends

I got some irrlicht issues about ogre mesh loader, a long time ago i posted for a bug about that, now i found more,

i dont't know what is the most used mesh loader, for me, to load mesh with skeleton animations which is made in blender,
the ogre mesh is the only one which works as i know.

so i list all issues i found as following, i have solved most of them in my local source code.

1, Material file,
currently, only Materail file with the same name of mesh file is loaded, material file indicated in submesh is not loaded.
also, diffuse color of material is used in composeMesh function before the material is loaded

2, in method loadSkeleton
unkown ChunkHeader, it is not handled, should skip the data as in readSubMesh.

3, only BoneAssignments in Meshes.SubMeshes is handled

BoneAssignments in Meshes is not handled

I hope some one could fix the issues and commit in the source reposity.
also hope it is useful for someone.

Thanks

Re: issues of ogre mesh loader

Posted: Wed May 14, 2014 10:49 am
by CuteAlien
You increase the chances that someone helps a lot if you provide test-models that reproduce the problems.

Re: issues of ogre mesh loader

Posted: Thu May 15, 2014 1:53 am
by kevin_shanghai
thanks for your reply
but It is upset you said that,
i already pointed where is the problem in the source code, if you read the source code, you can realize that,
the logic issue is very obvious there,
i have been studying the skinned mesh a long time in irrlicht, i wish i could commit my fix if possible.

Re: issues of ogre mesh loader

Posted: Thu May 15, 2014 1:56 am
by kevin_shanghai
also,
i didn't post for help, though i asked for help a lot this forum:),
all issues i found are solved by myself.
i just wanted to let irrlicht better and it is useful for someone who is doing the same things as me.

thansk

Re: issues of ogre mesh loader

Posted: Thu May 15, 2014 9:11 am
by hendu
How can CuteAlien or anybody else tell if their fix works, if they don't have a mesh to test?

Also, if you have a patch, please post it to the tracker.

Re: issues of ogre mesh loader

Posted: Fri May 16, 2014 11:15 am
by hybrid
Just fyi, the tracker is here: http://sourceforge.net/p/irrlicht/patches/