Hi, I am pretty sure this functionality is not built in to any of the OSG manipulators. I have implemented this functionality in our application which is based on OSG so I can say that it is not that difficult to do. Unfortunately I don't have any useful code to share as all my camera manipulation code is written in Java and uses our own manipulator framework.
Cheers, Brad -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Yonas Sahlemariam Sent: Sunday, 22 July 2012 3:19 AM To: [email protected] Subject: [osg-users] cursor based zooming Hi, I am working on a map application using a terrain built by VirtualPlanetBuilder. I am wondering if it is it possible to perform zooming based on cursor point? osgViewer only zooms taking center of the screen as center point for zooming. I want the zooming center to adapt position of the cursor, like in openlayers and google maps. Is it possible to do this in OSG? or if there is an tricks please help... Thank you! Cheers, Yonas ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48976#48976 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ------------------------------------------------------------------------- DISCLAIMER: This e-mail transmission and any documents, files and previous e-mail messages attached to it are private and confidential. They may contain proprietary or copyright material or information that is subject to legal professional privilege. They are for the use of the intended recipient only. Any unauthorised viewing, use, disclosure, copying, alteration, storage or distribution of, or reliance on, this message is strictly prohibited. No part may be reproduced, adapted or transmitted without the written permission of the owner. If you have received this transmission in error, or are not an authorised recipient, please immediately notify the sender by return email, delete this message and all copies from your e-mail system, and destroy any printed copies. Receipt by anyone other than the intended recipient should not be deemed a waiver of any privilege or protection. Thales Australia does not warrant or represent that this e-mail or any documents, files and previous e-mail messages attached are error or virus free. ------------------------------------------------------------------------- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

