mirror the orientation of bone

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
freedom108
Posts: 9
Joined: Mon Dec 07, 2009 7:48 am

mirror the orientation of bone

Post by freedom108 »

I just converted a skinned mesh from my custom format to ms3d, the bone's orientation are all mirrored, making skinned mesh looks weired.
for eg, this is the right skeleton:

\
\
/
this is i got the mirrored skeleton:
/
/
\

so, how can I mirror them back to right the ones? thank you!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: mirror the orientation of bone

Post by hybrid »

ms3d uses right-handed coord system, while Irrlicht uses left-handed. You have to convert all positions and transformation matrices accordingly. At least this could be a reason here.
freedom108
Posts: 9
Joined: Mon Dec 07, 2009 7:48 am

Re: mirror the orientation of bone

Post by freedom108 »

That must be the solution.I still got other problem's to solve.
Post Reply