hi thibault, thanks for your answer. this seems to partially solve my problem. it works exactly once -- until i release the mouse button. after that it goes back to the old and odd behaviour.
i have found a dirty workaround that fixes my problem. i replaced line 711 in CompositeViewer.cpp: event->setInputRange(eventState->getXmin(), eventState->getYmin(), eventState->getXmax(), eventState->getYmax()); to be replaced replaced with: event->setInputRange(viewport->x(), viewport->y(), viewport->width()+viewport->x(), viewport->height()+viewport->y()); since i'm new to osg hacking i don't know how a beautiful solution would look like. please help. thanks, - till On Thursday 29 November 2007, Thibault Genessay wrote: > Hi Till > > Did you try to pass the window size to the manipulators? Depending on > your window setup (the way you create your graphics context and your > views) and the underlying windowing toolkit (native, Qt, wxWidgets, > ...) there may be instances where the manipulators do not know the > actual window size and simply do not compute the correct mouse > movements. Use > _view->getEventQueue()->windowResize(0, 0, width, height); > to inform all interested parties of your resize. Of course, your > parameters should account for the specific view position and size in > your graphics context. > > Thibault _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

