Hi J-S, The defaults settings in osgViewer can't cope with novel display arrangements, and this is well beyond the scope of WindowSystemInterface as once you start going beyond nx1 displays things can very rapidly get very complicated.
The right way to handle complex screen arrangements is to use a configuration file that is set up to describe the displays you have and the view and projection matrix offsets that are appropriate for them. The .view format is just sophisticated enough to handle this type of complex arrange yet, but its my plan to extend it once I get a breather. In the meantime you could use the .cfg plugin to read a Producer style configuration file to describe your display layout and then just load this into your viewer. i.e. osgviewer cow.osg -c twobytwo.cfg Robert. On Mon, Feb 25, 2008 at 4:00 PM, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > Hi Robert, > > Quick question about screen arrangement. As I understand it, > WindowingSystemInterface currently has no way of reporting the > arrangement of the screens (physically), so there is no real way to > support, for example, a single view spread over 4 screens arranged in a > 2x2 square. Is that right? > > If I read the code right, the only thing you do in > setUpViewAcrossAllScreens is to add a horizontal translation to each > screen (translate_x). Such a setup would require a translate_y as well. > > Does that sound right? I guess to support 4 screens in such an > arrangement, it would be up to the application to set it up correctly, > having prior knowledge of the physical screen setup... > > I'm battling this a bit right now, as I'm trying to get a very general > system to set up viewports across screens, and I'm having a bit of > trouble with this. It just seems each case I need to support is totally > different, and as I see it, you can only go so far (only so many > assumptions you can make) without knowing the actual physical screen > arrangement. Any thoughts on this? > > Thanks, > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay [EMAIL PROTECTED] > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

