The definition of a screen in Producer is simliar to the X11 definition of a screen.  A Screen is a bounded frame buffer, regardless of the number of display devices it is projected on.  Bounded frame buffers can be tested by moving a window around in them.   If you can move a window from one display device (monitor) to another, you are still on the same Screen.

-don

On 6/28/06, Yefei He <[EMAIL PROTECTED]> wrote:
Hi, Brad,

    Thank you very much for the tip. I tried it and it worked well
with osgViewer on my system too. Three render surfaces seems to be
key. If I set it to be one render surface that's three screens wide,
only one screen renders correctly.

    Yefei

>
> Message: 49
> Date: Tue, 27 Jun 2006 16:15:04 +0800
> From: "Christiansen, Brad" < [EMAIL PROTECTED]>
> Subject: RE: [osg-users] RE: Single Computer Multiple Displays with
>       Produc er
> To: "'osg users'" < [email protected]>
> Message-ID:
>
> <[EMAIL PROTECTED]
> i-limited.com>
>
> Content-Type: text/plain
>
> Hi,
>
> I havent played with this much but with my config (2x 7800GTX
> on WindowsXP)
> I always get one screen too.
>
> My simple workaround for a quick demo was to not use full
> screen mode and
> modify the WindowRectangle in the .cfg file as if my 3
> screens where one.
> This is not a real fix but I only had a very short time to do
> a demo across
> 3 screens so this worked well enough.
>
> Here is the .cfg I used for three screens (sorry for inlining
> but our email
> system has a habit of stripping attachments)
> nb each monitor was @ 1280x1024
>
> Camera "Camera 1"
> {
>     RenderSurface "RenderSurface 1"
>     {
>         Visual  {
>             DOUBLEBUFFER,
>             RGBA,
>             DEPTH_SIZE 1,
>             RED_SIZE 8,
>             GREEN_SIZE 8,
>             BLUE_SIZE 8,
>             ALPHA_SIZE 8
>         }
>            Screen 0;
>                WindowRectangle -1280 0 1280 1024;
>          InputRectangle -2.5 -0.5 -1.0 1.0;
>            Border off;
>     }
>     Lens {
>               Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1
> 1000.0;
>     }
>       Offset {
>               Shear 2 0.0;
>       }
> }
>
> Camera "Camera 2"
> {
>     RenderSurface "RenderSurface 2"
>     {
>         Visual  {
>             DOUBLEBUFFER,
>             RGBA,
>             DEPTH_SIZE 1,
>             RED_SIZE 8,
>             GREEN_SIZE 8,
>             BLUE_SIZE 8,
>             ALPHA_SIZE 8
>         }
>               Screen 0;
>               WindowRectangle 0 0 1280 1024;
>         InputRectangle - 1.0 1.0 -1.0 1.0;
>               Border off;
>     }
>     Lens {
>               Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1
> 1000.0;
>     }
> }
>
> Camera "Camera 3"
> {
>     RenderSurface "RenderSurface 3"
>     {
>         Visual  {
>             DOUBLEBUFFER,
>             RGBA,
>             DEPTH_SIZE 1,
>             RED_SIZE 8,
>             GREEN_SIZE 8,
>             BLUE_SIZE 8,
>             ALPHA_SIZE 8
>         }
>               Screen 0;
>               WindowRectangle 1280 0 1280 1024;
>         InputRectangle 0.5 2.5 -1.0 1.0;
>               Border off;
>     }
>     Lens {
>               Frustum -0.55228475 0.55228475 -0.41421356 0.41421356 1
> 1000.0;
>     }
>       Offset {
>               Shear -2 0.0;
>       }
> }
>
>
> InputArea
> {
>     RenderSurface "RenderSurface 1" ;
>     RenderSurface "RenderSurface 2" ;
>     RenderSurface "RenderSurface 3" ;
> }
>
>

_______________________________________________
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