Re: [osg-users] camera functionality issue
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+unsubscr...@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. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] camera functionality issue
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
Re: [osg-users] camera functionality issue
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/fb9dad1a-856f-481d-a746-68aa16d6f6ce%40googlegroups.com. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] camera functionality issue
Could you change you user name to a human name, it helps the community to converse respectively. -- 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/701c7428-1142-4aa1-a3cc-c07838005a68%40googlegroups.com. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] camera functionality issue
I am trying to create a camera functionality that pans the camera side by side but when it reaches the bounds of geometry we shouldn't be able to pan camera anymore. The functionality also includes zoom in and zoom out -- 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/302ea41c-7165-4eff-b7a9-cd5f2940a434%40googlegroups.com. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org