"Number of vertices differ" for 2 meshes with one skeleton

Started by kkl, October 05, 2015, 05:06:29 PM

Previous topic - Next topic

kkl

hi raft, yes they are working when converted to bones individually.

raft

I've sent you my email via PM. please send your xml files and let me have a look

kkl

Ok sure. Sent.

Btw, is there any viewer we can use to view the mesh xml so I can verify if it's correct? I tried using OgreMax Viewer and it seems it supports only .mesh file and cant import xml file.

raft

you can use the bones.samples.OgreSample. I use it all the time. just replace the path to mesh.xml in createAnimatedGroup() method.

kkl

Wow, that's alot useful. I realized there's another method where converting mesh.xml to .mesh using OgreXmlConverter, then view in OrgeMax Viewer. But I'd prefer your way since it's faster :p

raft

I'm glad if it's useful :) please download bones.jar and try again.

the problem was merged groups were not sharing the same SkeletonPose so animation is not applied to all of them. hopefully fixed.

kkl

hi raft,

It's working great now! The bones weight should be correct for 2 objects respectively, right? I'll further check on that.

Thanks alot for your help fixing it. It's really helpful :)

raft

cool :) just remember merging groups this way wont work if any group has pose animation. I need to fix it someday but not sure when ;)

weights should be correct, merging process is not related to them.

kkl

Thanks alot raft. Really appreciate ur help. Look forward to supporting pose animation for merging group.