Re: [osg-users] Yaw angle

2007-12-11 Thread Pettersson Håkan
ember 2007 14:23 >>>>Till: OpenSceneGraph Users >>>>Ämne: Re: [osg-users] Yaw angle >>>> >>>> >>>>On Dec 10, 2007 12:40 PM, Pettersson Håkan >>>><[EMAIL PROTECTED]> wrote: >>>>> > Hello >>>>

Re: [osg-users] Yaw angle

2007-12-10 Thread Robert Osfield
On Dec 10, 2007 12:40 PM, Pettersson Håkan <[EMAIL PROTECTED]> wrote: > > Hello > > > > How do I calculate the yaw angle that my cameraManipulator is > > pointg at (-PI to +PI) ??? This question is open to lots of interpretation, first up what are you defining the yaw angle against? Is your data

Re: [osg-users] Yaw angle

2007-12-10 Thread John Donovan
Pettersson Håkan wrote: >> Hello >> >> How do I calculate the yaw angle that my cameraManipulator is >> pointg at (-PI to +PI) ??? >> >> /Hakan Hi Håkan, Relative to what? If you want it relative to the +Z axis, then use atan2(zdir.x, zdir.z), being careful to put in a special case where the cam

[osg-users] Yaw angle

2007-12-10 Thread Pettersson Håkan
> Hello > > How do I calculate the yaw angle that my cameraManipulator is > pointg at (-PI to +PI) ??? > > /Hakan > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org