Hi guys,

I have an application where I am using HORIZONTAL_SPLIT stereo with Infitec glasses + 2 projector setup. The problem I am facing is that even though the screen is split in half, the mouse events are still generated according to the original screen.

For example, if I have a screen of size 2560 x 1024, its horizontal split screens are 1280 x 1024 each. Now in the original screen(mono), a geometry would be placed at, let's say, (256,256) position. But in horizontal split, it'll be placed at (128,256). Now, if I click the object at position (128,256), I get no response. I need to click the original position (256,256) to select the object.

So my question was that if I want to capture all mouse events before any other handler and scale the position of mouse by a certain factor, can I do it using an event handler?

Regards,

--
Rahul Srivastava
[email protected]
[email protected]




_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to