[osg-users] Up vectors in setHomePosition with FirstPersonManipulator doesn't seems to affect camera view changes

Robert Osfield robert.osfield at gmail.com
Wed May 18 00:15:29 PDT 2016


Hi Simone,

The setHomePosition() sets the home position, it doesn't affect the
current position of camera manipulator.  If you call home() on the
camera manipulator or press the home key then it'll jump to this
position if the camera manipulator supports home.

Robert.

On 17 May 2016 at 19:28, Simone Rapposelli <simone.rapposelli at gmail.com> wrote:
> Hi,
>
> I am newbie, so please excuse me for my possible blunders...
>
> I am trying to set eye, center and up vector in setHomePosition of a FirstPersonManipulator.
> It works correctly but if I set whatever components in the "up" vector, anything change in the viewer (I would like to have such a roll behavior).
> What am I doing wrong?
>
> Thank you!
>
> Cheers,
> Simone :'
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=67133#67133
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



More information about the osg-users mailing list