|
From: James T. <ja...@fl...> - 2020-07-10 14:52:35
|
> On 9 Jul 2020, at 20:55, Julian Smith <ju...@op...> wrote: > > Many thanks for this, all very helpful, and the wiki page is very > informative too. > > I've had mixed success with crudely changing flightgear's FGRenderer's > osgViewer::Viewer to an osgViewer::CompositeViewer with a single > osgViewer::View, and patching up all the calling code so it compiles. > > It all builds ok, but at runtime it appears to stop making progress > at 'loading scenery' - the splash screen stays in place with the > scrolling blue line at the bottom. > > Presumably there's some messaging or synchronisation that i've broken? > Or maybe something more fundamental. > > All threads are blocked apart from the main thread which > appears to be running the loop in fgOSMainLoop(). Maybe late to the party, but can’t our WindowBuilder already do multiple windows just fine? (with an XMl driven UI, though : that’s the aprt that is missing to make it useful at runtime) I think extending WindowBuidler to allow changes at runtime might be a better solution than using osgCompositeViewer, becuase this will keep existing multi-window / multi-view setups working. My guess is if we switch to osgCompositeViewer, we might break some of those. Kind regards, James |