[eq-dev] Equalizer + OpenSceneGraph: Compile problems on Windows
Stefan Eilemann
eilemann at gmail.com
Mon Jan 5 12:59:44 CET 2009
Hello Thomas,
Thanks for posting this code!
One minor comment:
On 5. Jan 2009, at 11:09, Thomas McGuire wrote:
> The relevant code is:
>
> bool Channel::configInit( const uint32_t initID )
> {
> if( !eq::Channel::configInit( initID ))
> return false;
>
> osg::ref_ptr<osg::Node> root = createSceneGraph().get();
> mViewer = new osgViewer::Viewer();
> mViewer->setThreadingModel(osgViewer::Viewer::SingleThreaded);
> mViewer->setSceneData(root.get());
> mContext = new osgViewer::GraphicsWindowEmbedded;
I think one osgViewer per eq::Pipe should be enough, since you set all
Channel parameters in frameDraw, and all Channels of a Pipe are
executed serially and share a context with each other.
Cheers,
Stefan.
More information about the eq-dev
mailing list