Hi Rabbi,
You can start from osgAnimation::UpdateTransform callback,
change the euler to quaternion or ineherit to add quaternion then adjust
the method needLink, link, update to use your new quaternion.
Then set your new UpdateTransformQuaternion callback to your Transform
The code are in
Hi,
Maybe http://jeux.developpez.com/faq/matquat/?page=transformations#Q37 can
help you.
Regards,
Vincent.
2009/6/30 Guy Volckaert guy.volcka...@meggitt.com
I think there is a constructor in osg::Ang() that takes a quaternion as
well.
--
Read this topic online here:
Hi Rabbi,
Which animation are talking about ? do you refer to
osgAnimation::UpdateTransform callback ?
If you need quaternion instead of euler, it's very easy to add a new
UpdateTransform that could manage quaternion.
Cheers,
Cedric
On Mon, 2009-06-29 at 21:47 +, Rabbi Robinson wrote:
Hi,
Hi,
Yes, I am using that. I will give it a try. Strangely there is euler in the
animation but not more useful quaternion. Can you show me how to add it?
Thank you!
Cheers,
Rabbi
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14721#14721
Hi,
The animation supports euler but not quaternion. Is there any easy way to
convert quaternion to euler?
Thank you!
Cheers,
Rabbi
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14664#14664
___
http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles
On Mon, Jun 29, 2009 at 5:47 PM, Rabbi Robinsonlonga...@gmail.com wrote:
Hi,
The animation supports euler but not quaternion. Is there any easy way to
convert quaternion to euler?
Thank you!
Cheers,
Rabbi
29, 2009 6:17 PM
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] quaternion to euler
http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles
On Mon, Jun 29, 2009 at 5:47 PM, Rabbi Robinsonlonga...@gmail.com wrote:
Hi,
The animation supports euler
7 matches
Mail list logo