Hi Gianni,

since you dont need manipulator for the map view you can only set the
viewmatrix. Something like

view->getCamera()->setViewMatrixAsLookAt(....) and you make a top down view

Nick


On Mon, Nov 4, 2013 at 3:24 PM, Gianni Ambrosio <ga...@vi-grade.com> wrote:

> Hi All,
> to disable mouse intaraction I used:
>
> view->getCamera()->setAllowEventFocus(false);
>
> Does it make sense? Is there a better way?
>
> In case this another option I have to set manually in my track map object
> copy constructor since a clone method is not available for a view.
>
> Moreover, I set a camera manipulator to the track map view just to call
> home() method to fit the track. In fact the home() implementation works
> only if a manipulator is set. Since I really don't need a manipulator fot
> that view, what should I do get the same behavior without a manipulator?
>
> Regards,
> Gianni
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=57061#57061
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
trajce nikolov nick
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to