Hi Marcus,
On Thu, 25 Sep 2003, Marcus Roth wrote:
> Akos Balazs wrote:
>
> >After my image is rendered on the clusterServers I'd like to do further
> >OpenGL rendering in the server windows. I've tried to do it by adding
> >my OpenGL commands after the call to server->render(ract) in
> >`testClusterServer.cpp', but it didn't seem to work.
> >
> >Looking at the source code for `OSGClusterServer.cpp' it seems that
> >immediately after performing the rendering it swaps the buffers, and
> >thus my additional OpenGL stuff will always be rendered into the
> >backbuffer making it pretty much unusable... :(
> >
> >
> It is possible to call
>
> server->doSync(false);
> server->doRender(),
>
> your own gl commands
>
> server->doSwap();
I think this is just what I was looking for, thanks. :-) I wasn't aware
that these are actually public methods, must have been really late
yesterday evening. :)
> >Is there a way around it (possibly without changing the source code to
> >`OSGClusterServer.cpp' :), or it's just not supported, or it's not
> >recommended, or whatever? :-)
> >
> >In case you're wondering I'd like to add ``edge-blends'' to the servers
> >running on our Powerwall.
> >
> >
> It is possible to use a TileDecorator to get overlapping viewports.It is
> not neccessary to change the server. On the Client-Side create two
> viewports. the first form 0 to 0.5 the second from 0.5 to 1. Then add a
> TileDecorator to the two viewports. With this it is possible to set the
> visible area for each Viewport.
I'd like to keep using the MultiDisplayWindow, it keeps things more
simple. I've already extended it to handle X overlays, similarly to
Manfred's implementation.
Thanks,
Akos
|