I setup my viewer by using the following settings:
unsigned int settings = osgProducer::Viewer::TRACKBALL_MANIPULATOR |
osgProducer::Viewer::TERRAIN_MANIPULATOR |
osgProducer::Viewer::SKY_LIGHT_SOURCE |
osgProducer::Viewer::STATS_MANIPULATOR;
_viewer->setUpViewer(settings);
Does this mean that I've implemented trackball in my program? Please enlighten
as I'm a newbie in openscenegraph.
Regards,
Tim________________________________ From: [EMAIL PROTECTED] on behalf of Yanling Liu Sent: Mon 5/15/2006 2:13 PM To: osg users Subject: Re: [osg-users] Camera zoom problem No, I mean Producer::Trackball. Didn't you implement a trackball in your program? On 5/14/06, #POH CHENG GUAN# < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: Hi, I'm using a mouse to zoom in. Regards, Tim ________________________________ From: [EMAIL PROTECTED] on behalf of Yanling Liu Sent: Sun 5/14/2006 1:25 AM To: osg users Subject: Re: [osg-users] Camera zoom problem Don't you have a trackball? On 5/11/06, #POH CHENG GUAN# <[EMAIL PROTECTED]> wrote: Hi, Currently, upon initialization of my application, the camera is positioned according to my configuration file but I cannot zoom in any further (zoom out is fine, rotation is fine, panning is fine too). I change the camera's position and orientation by getting the viewer's keyswitchmanipulator and changing the matrix's values. How do I get around the "zoom in" problem? Regards, Tim _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
<<winmail.dat>>
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
