Hi,

On 08.02.2012 04:13, Gerrit Voß wrote:
> Hi,
>
> On Thu, 2012-02-02 at 12:56 +0100, "Christoph Fünfzig" wrote:
>> > Hi Gerrit,
>> > 
>> > the "editFieldPtr" are currently not necessary but they were there
>> > with both versions of OpenSG.
>> > I will try the current OpenSG version again,
>> > but need to recompile it first.
> ok, OpenSG was a little more insensitive against edits. For OpenSG 2
> one should be a little bit more thoughtful as an edit triggers the
> changed calls and in this case they will the rebuild of the volume.
>

Ok, this is also what I see.
Will revise the code, aka subdivide the terrain into a grid.

>> > In the conversion into a cluster application I would like to use
>> > the ClusterServer object without a window.
>> > Using it with a GLUT window works fine!
>> > server = new OSG::ClusterServer(win,
>> >                       name,
>> >                       connectionType,
>> >                       address,
>> >                       servicePort,
>> >                       serviceGroup);
>> > Using it with win=NULL and "server->doSync(true);" instead of 
>> > "server->render(ract);" seems not to be sufficient.
>> > So what is necessary to make it work with a minimal window class
>> > (without any rendering)?
> what is not working ? What I could see is that the system might stall as
> IIRC the swap part of the rendering might do some client <-> server
> sync. 
>
> Could you let me know what client setup (clusterwindow) you use so I can
> have a closer look.

I just had a look at the code and there is

void ClusterServer::render(RenderActionBase *action)
{
    doSync  (false );
    doRender(action);
    doSwap  (      );
}

I use the MultiDisplayWindow and the only network stuff I can see in 
MultiDisplayWindow::serverSwap (called from ClusterServer::doSwap) is
#if !FAST_SYNC
    connection=getNetwork()->getMainConnection();
    if(!getInterleave())
    {
        // tell client that we are finished
        connection->signal();
        // wait for swap
        connection->wait();
    }
#endif
What is happening if FAST_SYNC is defined ?

Thanks and best regards,
Christoph
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to