Hi Roger,

By default osgViewer::Viewer will use
View::setUpViewAcrossAllScreens(), but this is only called as a
fallback if you haven't already assigned windows to the viewers
camera(s) by the time realize is called.  You have a range of options
of how to set up the windows, have a look at the setUpView*() variants
to be found in include/osgViewer/View, and the osgcamera and
osgwindows examples.

For existing OSG apps, such as the OSG examples that just rely on the
default set up, you can override this using --screen num, or -c
configfile.cfg (A Producer config file) or -c config.view (An
osgViewer config file), or use an env var i.e

  set OSG_SCREEN=0

Robert.

On Mon, Apr 21, 2008 at 10:49 AM, Roger James
<[EMAIL PROTECTED]> wrote:
>
>
>
>
> How do I stop osgViewer from using both my monitors (windows vista with
> desktop spread over both), or two separate windows. I thought it might be
> something to do with a camera config file, but the newer non Producer
> version does not report this option as available even though it is still
> documented on the wiki.
>
>
>
> I apologise if I have missed something obvious.
>
>
>
> Roger
> _______________________________________________
>  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

Reply via email to