[osg-submissions] [osg-users] eventState problem in CompositeViewer
Robert Osfield
robert.osfield at gmail.com
Tue Mar 4 05:30:08 PST 2008
Hi J-S,
I'm currently getting read to test your changes to CompositeViewer,
but first I need to reproduce the error, so in this quest have merged
your changes to osgpick.cpp, and rather than use #ifdef
COMPOSITE_VIEWER have gone for a runtime check using the
--CompositeViewer command line option to switch between the two
viewers.
This works fine, but... so far I haven't reproduced the picking bug.
I only have a single display and GPU attached to my machine right now
so only a single screen. Is it when running dual screen that problems
occur?
I have checked in the modified osgpick example, to run it with
CompositeViewer simply run:
osgpick --CompositeViewer cow.osg
Once I can reproduce the bug I'll get on properly review your changes.
Could you test the above to see if you can reproduce the problem.
Robert.
On Mon, Feb 25, 2008 at 7:44 PM, Jean-Sébastien Guay
<jean-sebastien.guay at cm-labs.com> wrote:
> Hello Robert,
>
> I didn't get any response to my request for testing this change, so I'll
> submit it now and see what you think.
>
> The problem can be reproduced by simply changing the osgpick example to
> use a CompositeViewer with a single view initialized using
> setUpViewAcrossAllScreens(). I have attached a modified osgpick.cpp so
> you can test it out quickly (please don't check this file in though :-)
> ) The eventState is then incorrect and picking does not work. The only
> changes are in CompositeViewer.cpp (eventTraversal() method), and fix
> the problem for me.
>
> Note that this is a slightly different file than the last one I sent to
> osg-users a few weeks ago. Please review this one.
>
> Thanks,
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay jean-sebastien.guay at cm-labs.com
> http://www.cm-labs.com/
> http://whitestar02.webhop.org/
>
> _______________________________________________
> osg-submissions mailing list
> osg-submissions at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
More information about the osg-submissions
mailing list