Re: [osg-users] multiple views on separate Qt widgets

2009-03-03 Thread Robert Osfield
Hi Richard, My best guess would be that you haven't attached the Camera's to the appropriate graphics context properly, there isn't any difference in the way that 2.6 and 2.8 handle window inheritance so I'm surprised you see a difference, perhaps something else in the mix has changed. I'm not a Q

Re: [osg-users] multiple views on separate Qt widgets

2009-03-02 Thread Richard Baron Penman
hi, the 2.6 screenshot shows the expected functionality (the right panel is a top down view). The problem is in 2.8 my composite views are rendered on the desktop instead of within the window. Can you think of a reason for this? I suspected the problem is how I create the view in the SceneOSG::add

Re: [osg-users] multiple views on separate Qt widgets

2009-03-02 Thread Robert Osfield
HI Richard, The right window looks odd, is this correct? Is this way one should expect if everything is working or is this an example of the problem? Robert. On Sun, Mar 1, 2009 at 11:54 PM, Richard Baron Penman wrote: > Sure, here is a screenshot with 2.6 where the composite views are contain

Re: [osg-users] multiple views on separate Qt widgets

2009-03-01 Thread Richard Baron Penman
Sure, here is a screenshot with 2.6 where the composite views are contained within the window. Richard -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7715#7715 <>___ osg-users mailing list osg-users@li

Re: [osg-users] multiple views on separate Qt widgets

2009-02-27 Thread Robert Osfield
Hi Richard, Could you explain what we should be expecting. For instance a screenshot of what it originally looked like would be useful. Robert. On Fri, Feb 27, 2009 at 1:58 AM, Richard Baron Penman wrote: > hello, > > When I upgraded from 2.4 to 2.6 the CompositeViewer example in my previous

Re: [osg-users] multiple views on separate Qt widgets

2009-02-26 Thread Richard Baron Penman
whoops, got the versions wrong - I upgraded from 2.6 to 2.8. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=7570#7570 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.opensce

Re: [osg-users] multiple views on separate Qt widgets

2008-12-01 Thread Jean-Sébastien Guay
Hello Richard, I am trying to provide multiple views of an OpenSceneGraph scene within a Qt window. [...] But I am still not clear how to render each view. The examples use composite_viewer->frame() in the paint event but for me this only renders a single view and leaves the rest blank. Is

Re: [osg-users] multiple views on separate Qt widgets

2008-12-01 Thread Robert Osfield
HI Richard, On Mon, Dec 1, 2008 at 11:48 AM, Richard Baron Penman <[EMAIL PROTECTED]> wrote: > The examples I've seen put frame() in their paint event and don't render > without it there. Is there an example available that implements the > architecture you describe? Well all the examples except t

Re: [osg-users] multiple views on separate Qt widgets

2008-12-01 Thread Richard Baron Penman
The examples I've seen put frame() in their paint event and don't render without it there. Is there an example available that implements the architecture you describe? > Or use multiple viewers. that would be the simplest way. Can viewers share the same node group memory? Richard On Mon, Dec 1,

Re: [osg-users] multiple views on separate Qt widgets

2008-12-01 Thread Robert Osfield
Hi Richard, The osgViewer:::CompositeViewer/Viewer architecture is designed to support one frame loop driving all the windows associated with that viewer, not multiple places trying to dispatch frame(). So you use a single timer. Or use multiple viewers. Robert. On Mon, Dec 1, 2008 at 11:16 A

Re: [osg-users] multiple views on separate Qt widgets

2008-12-01 Thread Richard Baron Penman
hi Robert, I've tried both methods used in the example and got both working for a single view, but not for multiple. The problem seems to be with having separate timeout loops calling composite_viewer->frame(). Is there an alternative way to render a view? Richard On Mon, Dec 1, 2008 at 10:00 P

Re: [osg-users] multiple views on separate Qt widgets

2008-12-01 Thread Robert Osfield
Hi Richard, You don't mention how you are actually implementing the link between OSG and QT, are you using GraphicsWindowEmbedded or using the window inheritance of osgViewer. The GraphicsWindowEmbedded route is very restricted as it's simplicity hides all the makeCurrent/releaseContext/swapBuffe

[osg-users] multiple views on separate Qt widgets

2008-11-30 Thread Richard Baron Penman
hello, I am trying to provide multiple views of an OpenSceneGraph scene within a Qt window. I can get this working for a single view, or multiple views in the same widget like in the osgviewerQT composite example. But I'm struggling to get multiple views on separate widgets working. I know many v