Hi, On Thu, 2011-09-15 at 13:45 +0200, Lukas Jacobs wrote: > Hi, me again, having another problem I cannot figure out with just the > examples. > I have a cluster, featuring 5 servers to render my scene. How do I tell > OpenSG which > of them ISO where, i.e. which ISO leftmost and what's the angle to it's > neighboor?
the most flexible way is to use a ProjectionCameraDecorator to specify the physical image plane in camera coordinates, for example: camera ProjectionCameraDecorator { surface [ -1195.0 -950.0 -2000.0, 0.0 -950.0 -2000.0, 0.0 950.0 -2000.0, -1195.0 950.0 -2000.0 ] decoratee USE PerspCamGL } Probably start with Examples/CSM/Cluster/Simple-Multi which configures 2 side-by-side screens. As you change the surface corner coordinates you can approximate you physical projection setup. Examples/CSM/Common/system-native-cluster-multi-wall.osg is the screen setup that contains 2 viewports with the decorators for the 2 physical screens. To translate the example to 'standard' OpenSG you can replace the CSMClusterWindow by the MultiDisplayWindow and the CSMViewport by the normal Viewport. The fields used (except clusterMode which is specific to CSMClusterWindow) should map directly to the 'plain' OpenSG classes. If not let me know. kind regards gerrit ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA http://p.sf.net/sfu/rim-devcon-copy2 _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users