Hi Robert, J-S,

Thanks for the suggestions!  I removed the Qt event relay methods and
added a dummy view with a zero sized viewport to my viewer.  The
single context, multiple view tiled viewer now works as expected,
adding/removing views and clearing the window as it should.

Thanks again for your help!!  You saved me a lot of debugging headache :)

Regards,
Morné

PS. Do you want me to submit a modified osgviewerQt example with these
fixes/workarounds?


On Tue, Feb 3, 2009 at 7:57 PM, Jean-Sébastien Guay
<jean-sebastien.g...@cm-labs.com> wrote:
> Hi Morné,
>
>> The other approach might be to create an empty View that does nothing,
>> has no scene, but at least has a Camera with the GraphicsWindow
>> assigned to it.  It's viewport could be zero sized so would be litte
>> more than a non op, and you have have the GraphicsWindow do the clear
>> each frame for you.  This approach why a bit inelegant would probably
>> prevent the problems you are seeing, and would just require an
>> additionally couple of lines of set up code at the creation time,
>> thereafter you'd just ignore this extra View.
>
> Yep, in my testing what Robert suggests would work since as long as you have
> at least one view there is no problem. It's removing that last view and then
> adding others that brings up the problem.
>
> Sorry I couldn't find anything more definitive on my end.
>
> J-S
> --
> ______________________________________________________
> Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
>                               http://www.cm-labs.com/
>                        http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to