Excellent, THANKS! For the computePixelCoords, I just copied from what Producer::KeyboardMouse was doing, and made the appropriate changes. I am assuming the mouse coordinates work the same way they did before.
-- Rick On Wed, Jun 18, 2008 at 4:48 AM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Rick, > > On Wed, Jun 18, 2008 at 12:12 AM, Rick Pingry <[EMAIL PROTECTED]> > wrote: > > Producer::KeyboardMouse::positionPointer( float x, float y ) > > > > Any way to set the mouse position like this? > > GraphicsWindow::requestWarpPointer(x,y); > > and > > View::requestWarpPointer(x,y); > > The later will automatically work out which window to warp to. > > Robert. > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- >> Rick Check us out at http://fringe-online.com/
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org