[Opensim-dev] libsecondlife.LLQuaternion vs OpenMetaverse.Quaternion

Diva Canto diva at metaverseink.com
Thu Sep 25 17:30:34 UTC 2008


Hello,

I have an application that makes heavy use of rotations. Everything is 
working fine with opensim+libsecondlife circa Aug. 8. I'm now updating 
to use a recent version of opensim, which uses OpenMetaverse instead of 
libsecondlife, and the rotations are all wrong. In chatting with some 
people in the IRC, I understand there were semantic changes to 
quaternions. I can see that in the values I get:

With libsl: Axis: <0, -0.1664849, 0.9860433>; Angle: 1.5696; Quat: <0, 
-0.1176523, 0.6968213, 0.7075295>
With omv: Axis: <0, -0.1664849, 0.9860433>; Angle: 1.5696; Quat: <0, 
-0.1664849, 0.9860433, 1.5696>

Can someone please explain what changed and how I need to change my 
input axis and angle?

Thanks a lot!
Crista




More information about the Opensim-dev mailing list