Joint types and limits for IK and physics.

Threads related to Google Summer of Code
Post Reply
dtecta
Gnoblar
Posts: 14
Joined: Sun Sep 19, 2010 10:49 pm

Joint types and limits for IK and physics.

Post by dtecta » Thu Mar 31, 2011 11:35 am

I'm currently implementing inverse kinematics on top of Ogre's skeletons for character animation. I'm storing the joint data (types, points, axes, limits) in a separate XML file using the Bone ids from the .skeleton file since a .skeleton file does not keep this data. This data could very well be stored in a .skeleton file as an optional JOINT_DATA chunk and read into a Joint object tied to a Bone or read into a KinematicBone object derived from Bone. I was wondering why this never happened. I've seen discussion on IK popping up over the last 7 years or so but nothing much came out of it. Is this something that is too application specific to be stored in a .skeleton file, or is it simply not being picked up? Certainly the binding of a physics engine to Ogre will benefit from having the joint data as well. I know it is debatable whether or not joint data belongs in the format of a render engine (If you are adding joint data then you would also want to incorporate physical properties such as mass and friction coefficients and before you know it you've lost a lot of genericity), but from a pure pragmatical point of view it makes sense. A lot of animations are generated using IK in e.g. Maya. By exporting the joint data you can generate more natural animations rather than play key-framed animation for every action. So, who's in favour of adding joint data to the skeletal data? Could this be a project for GSoC 2011?

Gino
0 x

User avatar
tuan kuranes
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 2653
Joined: Wed Sep 24, 2003 8:07 am
Location: Haute Garonne, France
Contact:

Re: Joint types and limits for IK and physics.

Post by tuan kuranes » Fri Apr 01, 2011 3:38 pm

It could be a gsoc project.
For now I think people use bone/name matching to detect IK bones, and use Node/Animation listener + blending to step in their Own IK code, when they do not replace entirely the animation system with their own in their code with motion graph.
Still, something more formalized for exporter side and engine side, could be would be a welcome addition to Ogre.
(and therefore a more detailed proposal would be required)
Be sure to check existing ogre opensource most animation oriented addon : http://www.ogre3d.org/forums/viewtopic. ... ree+editor
0 x

Post Reply