Hi Yefei,

The issue you are likely having is one with the WindowManager.  On my system, I have one screen that spans two monitors.  When I attempt to open a single window across both monitors, the window manager resizes my window to fit on only one.  You can bypass this by using ´OverrideRedirect true;' in your config file:

RenderSurface "WideRenderSurface"
{
    WindowRectangle 0 0 2560 1024;
    OverrideRedirect true;
}

-don

On 10/24/06, Yefei He <[EMAIL PROTECTED]> wrote:
Robert,

    I figure what I just did by using horizontal span was similar to
TwinView in Linux. At least I got it to work with the application I
wrote. When I have time, I'll try to find out why osgviewer with
a cfg file that contains one render surface across the two displays
in horizontal span doesn't work on my computer. I'd also like to
find out if Producer::Camera indeed automatically takes into
consideration the situation of a graphics context that spans two
displays, when setLensPerspective(horizAOV, vertAOV, clipNear,
clipFar) is called. Seems like it does.

    Cheers,

    Yefei

> HI Yefei,
>
> I can tell you how I'd set things up under Linux, but under windows
> I'm afraid I can't help you.
>
> Since you are generate just one view you should be able to set up one
> card with TwinView, i.e. one graphics context spanning two outputs,
> and the other just normal one context to one windows.
>
> On my linux box I have driven 4 monitors from two cards using two
> TwinView setups, Producer just treats this as two contexts/two
> cameras.  Perhaps is great, no strange increases in cull or draw.
> Driving three monitors should just be a matter of one of the cards not
> using TwinView.
>
> TripleHead2Go is also a useful box, modern cards can handle the
> resolution suprisingly well, even from just one card.  TripleHead2Go
> is only a couple of hundred dollars.
>
> Robert

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to