issues of ogre mesh loader

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
kevin_shanghai
Posts: 28
Joined: Wed Jan 30, 2013 3:29 am

issues of ogre mesh loader

Post 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
CuteAlien
Admin
Posts: 9651
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: issues of ogre mesh loader

Post by CuteAlien »

You increase the chances that someone helps a lot if you provide test-models that reproduce the problems.
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
kevin_shanghai
Posts: 28
Joined: Wed Jan 30, 2013 3:29 am

Re: issues of ogre mesh loader

Post 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.
kevin_shanghai
Posts: 28
Joined: Wed Jan 30, 2013 3:29 am

Re: issues of ogre mesh loader

Post 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
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: issues of ogre mesh loader

Post 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.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: issues of ogre mesh loader

Post by hybrid »

Just fyi, the tracker is here: http://sourceforge.net/p/irrlicht/patches/
Post Reply