We have got the camera panning by calculating the resultant of two 
vectors(previous vector before panning and changed vector after panning) 
and compared its magnitude with a value to restrict its position in camera 
view. But when we zoom in and zoom out the magnitude of the vector that 
geometry can cover side by side changes and hence the hardcoded value is of 
no help to us anymore.


On Tuesday, January 21, 2020 at 7:57:53 PM UTC+5:30, Robert Osfield wrote:
>
> How far have you got?  What problems do you have?
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osg-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/e5468c08-d827-4226-a1d8-1b2d9eb7fc57%40googlegroups.com.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to