Re: [osg-users] CompositeViewer and MatrixManipulators

2007-11-29 Thread Robert Osfield
Hi Till, This looks to be a bug in the logic inside CompositeViewer for converting the window mouse coordinates into local coords of the local view's viewport. Unfortunately I'm not in a position to be able to go chase up this bug right now. Robert. On Nov 28, 2007 4:52 PM, till busch <[EMAIL P

Re: [osg-users] CompositeViewer and MatrixManipulators

2007-11-29 Thread till busch
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: ev

Re: [osg-users] CompositeViewer and MatrixManipulators

2007-11-28 Thread Thibault Genessay
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 si

[osg-users] CompositeViewer and MatrixManipulators

2007-11-28 Thread till busch
hi, i'm trying to use CompositeViewer for our app. The MatrixManipulators behave oddly in the smaller views. it seems that the GUIEventAdapter doesn't know the small View's real dimensions and it acts on mouse movements as if it had the full size of the window. please try this in osgcompositev