[eq-dev] Equalizer + OpenSceneGraph: Compile problems on Windows
Adrian Egli OpenSceneGraph (3D)
3dhelp at gmail.com
Mon Jan 5 15:12:47 CET 2009
Hi all
may we should use one single osg::Viewer as the main rendering window, and
all others as slave camera. (addSlave) with shared context. if i am right
understood what stefan told.
if someone could the example / code i would be happy :-) as i am working for
Spatial View Display Support, may a cluster of 5 PCs would linearly increase
with eq the fps.
/adrian
2009/1/5 Thomas McGuire <thomas.mcguire at student.uni-siegen.de>
> On Monday 05 January 2009 12:59:44 Stefan Eilemann wrote:
> > 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.
>
> Right, thanks for pointing this out.
>
> Regards,
> Thomas
>
> _______________________________________________
> eq-dev mailing list
> eq-dev at equalizergraphics.com
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com
>
--
********************************************
Adrian Egli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.equalizergraphics.com/pipermail/eq-dev/attachments/20090105/4cb2dc05/attachment.htm
More information about the eq-dev
mailing list