[osg-users] About the parameter _lock_azim_while_panning in OSGEarth EarthManipulator

Glenn Waldron gwaldron at gmail.com
Thu Mar 2 06:25:01 PST 2017


Mingxia,

That is by design - if you lock your camera azimuth (to north-up for
example), you will be unable to rotate past the poles. You can disable the
feature by calling
EarthManipulator::getSettings()->setLockAzimuthWhilePanning(false).

Hope this helps

Glenn Waldron

On Wed, Mar 1, 2017 at 9:08 PM, Mingxia Xie <xmx0424 at aliyun.com> wrote:

> Hi, all
>
> Why the parameter _lock_azim_while_panning is set to lock in a camera
> heading when performing panning operations in OSGEarth EarthManipulator. I
> think this can lead to the problem of steering when rotates parallel to the
> north or south poles. My OSGEarth version is 2.7.
>
>
> Thank you!
>
> Cheers,
> Mingxia
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70375#70375
>
>
>
>
> Attachments:
> http://forum.openscenegraph.org//files/rotate_246.gif
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170302/69078997/attachment-0003.htm>


More information about the osg-users mailing list