Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
Bones - Skeletal and Pose Animations for jPCT/jPCT-AE
»
Bones
(Moderator:
raft
) »
"Number of vertices differ" for 2 meshes with one skeleton
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: "Number of vertices differ" for 2 meshes with one skeleton (Read 50661 times)
kkl
float
Posts: 291
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #15 on:
October 07, 2015, 02:00:05 pm »
hi raft, yes they are working when converted to bones individually.
Logged
raft
Moderator
quad
Posts: 1993
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #16 on:
October 07, 2015, 02:32:35 pm »
I've sent you my email via PM. please send your xml files and let me have a look
Logged
kkl
float
Posts: 291
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #17 on:
October 07, 2015, 03:04:53 pm »
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.
Logged
raft
Moderator
quad
Posts: 1993
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #18 on:
October 07, 2015, 03:10:30 pm »
you can use the
bones.samples.OgreSample
. I use it all the time. just replace the path to mesh.xml in
createAnimatedGroup()
method.
Logged
kkl
float
Posts: 291
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #19 on:
October 07, 2015, 03:19:49 pm »
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
Logged
raft
Moderator
quad
Posts: 1993
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #20 on:
October 07, 2015, 06:11:32 pm »
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.
Logged
kkl
float
Posts: 291
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #21 on:
October 08, 2015, 04:06:53 am »
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
Logged
raft
Moderator
quad
Posts: 1993
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #22 on:
October 08, 2015, 09:27:12 am »
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.
Logged
kkl
float
Posts: 291
Re: "Number of vertices differ" for 2 meshes with one skeleton
«
Reply #23 on:
October 08, 2015, 10:30:51 am »
Thanks alot raft. Really appreciate ur help. Look forward to supporting pose animation for merging group.
Logged
Print
Pages:
1
[
2
]
Go Up
« previous
next »
www.jpct.net
»
Bones - Skeletal and Pose Animations for jPCT/jPCT-AE
»
Bones
(Moderator:
raft
) »
"Number of vertices differ" for 2 meshes with one skeleton