Hi
Reading about the IK sampler thats perhaps is going to be a part of the XSI exporter. It struck me that thats good but I would also see it possible to just have the IK info exported so we can have a real working IK inside Ogre. A OgreIK ?
For better foot placement on ground. looking, pointing etc....
Then the sampling could be done indise Ogre from IK to justs key frames.
Well just a idea.
Lee04
OgreIK IK working in Ogre and exporters exportingthe IK info
- Lee04
- Minaton
- Posts: 945
- Joined: Mon Jul 05, 2004 4:06 pm
- Location: Sweden
- x 1
OgreIK IK working in Ogre and exporters exportingthe IK info
Last edited by Lee04 on Sun May 08, 2005 3:04 pm, edited 1 time in total.
- Wooden
- Halfling
- Posts: 58
- Joined: Thu Feb 10, 2005 10:35 pm
- Location: Arcachon, France
- Contact:
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
- ahmedali
- Gnome
- Posts: 302
- Joined: Fri Feb 20, 2004 8:52 pm
- Location: Lahore, Pakistan
A time ago i did lot of reSearch on IKs. I remember 4 sources now.
1- discreet has made their LimbIK solver opensource. It can be found in maxsdk. But I think, it is also available through their developer website. Limb solver is an analytical solver and can only solve IK for 2or3 bones. It is faster than iterative aproach. Limb solver can be used for Arms, Legs IK most of the stuff a gamedeveloper will want.
2- MagicSoftware in their huge archive, has a complete working Iterative IK solver. It also has a demo. I tried porting its code but the complicated math was above my had.
3- There is a tutorial and demo/source by LuckVB on net of an Analytic IK solver
4- There is also a source/demo on ( gamasutra or gdmag or darwin ? i cant remember ) in thier archive
Spine/Spline IK is also interesting and easy to impletent than others (i guess).
1- discreet has made their LimbIK solver opensource. It can be found in maxsdk. But I think, it is also available through their developer website. Limb solver is an analytical solver and can only solve IK for 2or3 bones. It is faster than iterative aproach. Limb solver can be used for Arms, Legs IK most of the stuff a gamedeveloper will want.
2- MagicSoftware in their huge archive, has a complete working Iterative IK solver. It also has a demo. I tried porting its code but the complicated math was above my had.
3- There is a tutorial and demo/source by LuckVB on net of an Analytic IK solver
4- There is also a source/demo on ( gamasutra or gdmag or darwin ? i cant remember ) in thier archive
Spine/Spline IK is also interesting and easy to impletent than others (i guess).
- :wumpus:
- OGRE Retired Team Member
- Posts: 3067
- Joined: Tue Feb 10, 2004 12:53 pm
- Location: The Netherlands
- x 1
- sinbad
- OGRE Retired Team Member
- Posts: 19269
- Joined: Sun Oct 06, 2002 11:19 pm
- Location: Guernsey, Channel Islands
- x 66
- Contact:
This isn't going to make it onto the TODO in the near future. As wumpus says, if you really need to do IK (and I doubt you really do), you can use an external library and manually adjust the bones. Or, if you're more pragmatic, you can use a feedback controller as has been discussed in this forum already. If you're just adjusting characters feet to a surface or other such small refinements, full IK is way over the top.
- ahmedali
- Gnome
- Posts: 302
- Joined: Fri Feb 20, 2004 8:52 pm
- Location: Lahore, Pakistan
I cant help to implement ik but a LOT of IK techniques can be faked with ogre's blending system. These techniques i think are also used by Mechworrior. The are not using IK to keep their feet on the ground and to align their paws to slope of ground but use mixing of diffirent states of different body parts to achieve dynamic behaviour.
Also in my side scroller demo game X2, I also used this technique to keep feets and leg aligned with the slope of ground.
http://www.ogre3d.org/phpBB2/viewtopic. ... highlight=
Also in my side scroller demo game X2, I also used this technique to keep feets and leg aligned with the slope of ground.
http://www.ogre3d.org/phpBB2/viewtopic. ... highlight=