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, 2008 at 10:23 PM, Robert Osfield <[EMAIL PROTECTED]>wrote: > 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 AM, Richard Baron Penman > <[EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: > > 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 PM, Robert Osfield < > [EMAIL PROTECTED]> > > wrote: > >> > >> 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/swapBuffer functionality that a fully > >> threaded/multi-context viewer requires. > >> > >> Robert. > >> > >> On Mon, Dec 1, 2008 at 1:09 AM, Richard Baron Penman > >> <[EMAIL PROTECTED] <[EMAIL PROTECTED]>> wrote: > >> > 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 variations of this question have been asked: > >> > > >> > > http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg08512.html > >> > > >> > > http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg04883.html > >> > > >> > > http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg05487.html > >> > > >> > > http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg16623.html > >> > etc > >> > > >> > 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 there an alternative way to render multiple views at the same time? > >> > > >> > Richard > >> > > >> > _______________________________________________ > >> > 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 > > > > > > _______________________________________________ > > 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 >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org