I want to set up a ClusterWindow that connects to currently ten remote
computers but I tried to keep the setup as flexible as possible.

Therefor I created a ClusterWindow, set the size to ten time the width
of the width of a single client window (though it does not have that
size by now...) and created ten Vieports, every one of them set to a
different frame inside the ClusterWindow. I created one Camera and one
Beacon, connected everything with the Scenegraph and created ten
ProjectionCameraDecorators with different ProjectionPlanes and/or stereo
rendering sides (left or right) and I set the eye separation. I
connected every Decorator to my camera and to one of the ten Viewports.
I created a Navigator and connected it to the Camera and to one of the
Viewports. The Navigator is set to FLY.

I created a second Camera, Beacon, Viewport and Navigator, and connected
these to the Scenegraph too. And I created a Glut window and set it as
the ClientWindow of my ClusterWindow. This Navigator is set to TRACKBALL
and gets the events of the ClientWindow.

When I start my application I get a perfectly working client window. The
network connections are established otherwise I wouldn't see the client
window and the remote windows. But despite everything I try I only see
black and white stripes on every remote window. For once I managed to
get nine windows to show something but I had set the size of the
ClusterWindow to three times the width and one time the height of my
desired remote window size and set the size for every Viewport to 0, 0,
1, 1 creating a massive overlap of the Viewports and the projection
planes of my ten ProjectionCameraDecorators had absolutly no effect. But
when I try to manage the size to avoid the overlap I see nothing except
my black and white stripes.

The cluster Tutorials are working fine. What didn't worked for me was
the MultiDisplayWindow. For a reason that I could not find I got a
SegFault every time the network connections were established and the
auto initialization mechanisms of the MultiDisplayWindow were started.
So I sticked with the ClusterWindow which at least don't end up with a
SegFault (but get stuck somewhere in the middle too).

Right now I wont give up but I am currently out of ideas what might
cause this. So I am very interested if anyone had seen black and white
stripes for himself and can tell me something about the possible
reasons. Is it possible that there is no redraw triggered and the window
looks like that because nothing is drawn into it?

I read Marcus comments about MultiDisplayWindows but would like to know
if I might have missed something in my setup as far as you can tell. I
am also interested to know if the client window and the two
Cameras/Viewports/Navigators might have something to do with this.

Thanks in advance
Lennart Kulf

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to