> Thanks for the reply,
>
> well, I still got no success.. I found that just changing from
> ClusterWindow to MultiDisplayWindow makes all to work  (since Im using only
> one viewport and one server (hservers x wservers = 1 x 1),
> multidisplaywindow works just like the clusterwindow should. But using the
> clusterwindow yields a black screen at servers. The connection is performed
> just like it is with MultiDisplayWindow (log level at server shows
> connection establishment). It seems to be something naive I'm missing..
>
> Im using two windows, one passive to render locally, and the other one to
> perform remote cluster rendering... I wonder if there's something I should
> do to render the cluster window (anything that is performed automatically by
> multidisplaywindow render() but not by clusterwindow?), something like
> frameInit() or anything like that. Im sending my code below:
>
>    ... build scene root and stuff...
>
>    _clusterWindow->setSize( serversWidth, serversHeight );
>
>     OSG::ViewportUnrecPtr vp = OSG::Viewport::create();
>     vp->setRoot( _currentState.getRoot() );
>     vp->setCamera( _currentState.getCamera() );
>     vp->setBackground( _currentState.getBackground() );
>     vp->setTravMask( 1 );
>
>     _clusterWindow->insertPort( 0, vp.get() );
>
>     OSG::Thread::getCurrentChangeList()->commitChangesAndClear();
>
>     OSG::Thread::getCurrentChangeList()->fillFromCurrentState(
> Application::getFirstFCId() );
>
>     _clusterWindow->init();
>
>    _clusterWindow->render( _renderAction );
>
>     OSG::Thread::getCurrentChangeList()->clear();
>
>     _clusterEnabled = true;
>
> (I start the app using a single passive window, and then the cluster is
> enable on the fly, that's why I need fillFromCurrentState()).
>
> Using multidisplaywindow makes all to work, but I can't get clusterwindow
> alone to work..
>
> Any hints? :/
>
> Thanks!
>
> Pablo
>
>
>
>
> On Thu, Mar 4, 2010 at 6:06 PM, Carsten Neumann 
> <carsten_neum...@gmx.net>wrote:
>
>>        Hello Pablo,
>>
>> Pablo Carneiro Elias wrote:
>> > Another (not so) quick question : I'm pushing a viewport to a
>> > ClusterWindow, configuring camera and root node, but server gets a black
>> > screen.. The connection is performed successfully, but nothing appears..
>> > is there any extra step missing? I was doing the same with
>> > MultiDisplayWindow and everything was working... Any hints?
>>
>> hm, only thing to try I can think of right away is making sure that the
>> bounding volume of the root is valid before syncing, i.e. try calling
>> root->updateVolume(); before rendering the ClusterWindow.
>>
>>        Cheers,
>>                Carsten
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Opensg-users mailing list
>> Opensg-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/opensg-users
>>
>
>
------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to