Inverse kinematik
Posted: 11 Sep 2016, 02:36
Hi everyone,
as already stated im porting some inverse kinematik to spring.
https://github.com/PicassoCT/spring
Here is the engine Version forked from development. Its not refined and polished yet.
And i need some help.
Basically the Transformation the bone is going through, is stored in a for me rather new format, a AngleAxis.
Its basically 3 Rotations and a axis Vector.
If this where some affirmative matrix i would have had extracted the rotationmatrices and be done with it.
But its not.
Following the approach of the example -
Vector3f = AxisAngle T * Point3f(0,0, magnitudeOfBone);
leads to a axis vector (0,0,1)
Latest Version of Function:
https://github.com/PicassoCT/spring/blo ... t.cpp#L218
So how can i extract the rotations from this construct? I dont want a piece of code, just a hint at the solution.
Also regarding Eigen, yes its a template Library, but its actually very sleak:
http://eigen.tuxfamily.org/index.php?title=Benchmark
These guys profile there stuff and several of the projects using it, are performance intensive operations (CERN), so its more by accident then by comparisson, actually a good choice.
Thanks for any hint or help. Regards Pica.
made the topic more meainingful -- abma
what if the topic is minimalistic existencialistic? -- jk
do you really want to discuss meta-post-philosophy in a mad guys thread? -- abma
nobody else around to watch it, so go for it, morel enslaved bitches-- Nietzsche
as already stated im porting some inverse kinematik to spring.
https://github.com/PicassoCT/spring
Here is the engine Version forked from development. Its not refined and polished yet.
And i need some help.
Basically the Transformation the bone is going through, is stored in a for me rather new format, a AngleAxis.
Its basically 3 Rotations and a axis Vector.
If this where some affirmative matrix i would have had extracted the rotationmatrices and be done with it.
But its not.
Following the approach of the example -
Vector3f = AxisAngle T * Point3f(0,0, magnitudeOfBone);
leads to a axis vector (0,0,1)
Latest Version of Function:
https://github.com/PicassoCT/spring/blo ... t.cpp#L218
So how can i extract the rotations from this construct? I dont want a piece of code, just a hint at the solution.
Also regarding Eigen, yes its a template Library, but its actually very sleak:
http://eigen.tuxfamily.org/index.php?title=Benchmark
These guys profile there stuff and several of the projects using it, are performance intensive operations (CERN), so its more by accident then by comparisson, actually a good choice.
Thanks for any hint or help. Regards Pica.
made the topic more meainingful -- abma
what if the topic is minimalistic existencialistic? -- jk
do you really want to discuss meta-post-philosophy in a mad guys thread? -- abma
nobody else around to watch it, so go for it, morel enslaved bitches-- Nietzsche