[osg-users] camera functionality issue

Robert Osfield robert.osfield at gmail.com
Thu Jan 23 00:48:51 PST 2020


On Wednesday, 22 January 2020 05:12:31 UTC, Ravi wrote:
>
> 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.
>

I'm afraid this is pretty meaningless out of context, I can't work out what 
you are doing let alone what you might be doing wrong, or what 
understanding is missing for you.

Do you have code that you can post that illustrates what you are doing?


 

-- 
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+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/181ec22b-b21e-4dde-b405-92d13ca5db1d%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200123/6b00718b/attachment.html>


More information about the osg-users mailing list