Hi, On Wed, 2009-05-27 at 14:33 +0800, Jie Liu wrote: > Hi all, > > I have implemented the example cluster framwork, and deploy the > server/client application on two machines ( one for client, the other > the rendering server ); > > However, I think there are more details I want to know. > > For instance, how can I deside which display shows what part of the > image? > > I have tried other Tild Display Wall system, they usually indeces each > display to arrange the display matrix; > > So how can I do that with OpenSG?
there are a variety of answers depending on what your setup is and what you want to achieve. In it's simplest form (with the testprograms) it works the following: For each server you give a name, the last parameter of the server program. The client program takes these names as well as the number of rows (1 by default) as arguments and tiles the screen accordingly. e.g. if you run testClusterServer t1 testClusterServer t2 testClusterClient -r 1 t1 t2 you get the following result: +------+------+ | | | | t1 | t2 | | | | +------+------+ with t1 and t2 display half of the scene split horizontally. running testClusterServer t1 testClusterServer t2 testClusterClient -r 2 t1 t2 you get: +------+ | | | t2 | | | +------+ | | | t1 | | | +------+ split vertically, with 4 it extends to testClusterServer t1 testClusterServer t2 testClusterServer t3 testClusterServer t4 testClusterClient -r 4 t1 t2 t3 t4 and you get: +------+------+ | | | | t3 | t4 | | | | +------+------+ | | | | t1 | t2 | | | | +------+------+ Internally the row (-r) parameter is mapped to the hServers and vServer fields of the MultiDisplayWindow. As said this is the most simplest form of an automatic tiled subdivision for a flat uniform surface. More vieports and camera decorators can (and should) be used to adjust to the real display geometry (e.g. taking out monitor borders) and scene needs. Let us know what kind of setup you are looking at and we can give better and more detailed hints, examples and answers . For OpenSG 2.x I can extend the given examples for the ComplexSceneManager quite easily, so that you can start from a given example. kind regards, gerrit ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
