Hi, please have a look into testClusterClient from the source tree.
testClusterServer node1 -w -e -g 300,300,0,426 & testClusterServer node2 -w -e -g 300,300,304,426 & testClusterServer node3 -w -e -g 300,300,608,426 & testClusterServer node4 -w -e -g 300,300,0,100 & testClusterServer node5 -w -e -g 300,300,304,100 & testClusterServer node6 -w -e -g 300,300,608,100 & testClusterClient node1 node2 node3 node4 node5 node6 -x300 -y300 -r 1,1 -g 300,300,716,600 -X tie.wrl this will result in an 3x2 tiled image where the rendering is balanced between the server nodes. testClusterServer node1 -w -e -g 300,300,0,426 & testClusterServer node2 -w -e -g 300,300,304,426 & testClusterServer node3 -w -e -g 300,300,0,100 & testClusterServer node4 -w -e -g 300,300,304,100 & testClusterClient node1 node2 node3 node4 -g 300,300,716,600 -F -C tie.wrl with this the final image is rendered by node1 - node4 and it will be displayed in the client window. Marcus [EMAIL PROTECTED] wrote: > Hi all, > > I'm trying to produce an example of sort 1st rendering using the tie. > I've edited the 13ClientServer and applied the changes show in the > attached diff file. > 2 problems. > > > When I run the program with setCompose(true) it only renders the image > and when I click to move it around, it dispeapers. Set to false and > I'm able to move the object. Is this meant to be set to false? If > not any ideas why its not working when set to true. > > The second problem is that the scene is rendered only in 1/2 of each > window. The left hand side of the tie, is rendered in an area > ~150by300 pixels on the left hand side of the window for server1. The > right hand side of the tie is rendered in an area ~150by300 pixels on > the right hand side of the window for server2. > Any suggestions would be greatly appreciated. > > Dave > ------------------------------------------------------------------------ > > 15c15 > < // The client will open an emoty window that you can use to navigate. The > --- > >> // The client will open an empty window that you can use to navigate. The >> > 41c41 > < #include <OpenSG/OSGMultiDisplayWindow.h> > --- > >> #include <OpenSG/OSGSortFirstWindow.h> >> > 70c70,71 > < MultiDisplayWindowPtr mwin= MultiDisplayWindow::create(); > --- > >> SortFirstWindowPtr mwin= SortFirstWindow::create(); >> mwin->setCompose(false); >> > 102c103,104 > < case 'x': opt = argv[a][2] ? argv[a]+2 : argv[++a]; > --- > >> /* >> case 'x': opt = argv[a][2] ? argv[a]+2 : argv[++a]; >> > 109a112 > >> */ >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Opensg-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/opensg-users >> ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
