Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-30 Thread Gordon Tomlinson
for much longer.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sebastien Guay Sent: Friday, March 28, 2008 9:13 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Single Windowed OsgViewer on multiheaded Hi Gordon, Running some tests

[osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Gordon Tomlinson
Hi Folks Running some tests with osgviewer I noticed it always comes up full screen, any way on the command line to make it come up windowed ? did not see an option with --help Also when we come out of full screen with osgViewer we get multiple windows, we all work with multi-headed PC's,

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Rafa Gaitan
Hi Gordon, If you do a osgviewer --help-env you will get a complete list of environmental variables. Next both env vars could be what you are searching: OSG_THREADING value Set the threading model using by Viewer,

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Bob Huebert
On Fri, 28 Mar 2008, Gordon Tomlinson wrote: Hi Folks Running some tests with osgviewer I noticed it always comes up full screen, any way on the command line to make it come up windowed ? did not see an option with --help setenv OSG_WINDOW '0 0 1280 1024' (or equivalant) Also when we

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Robert Osfield
Hi Gordon, Using env vars: set OSG_SCREEN=1 osgviewer cow.osg Will open it up on screen 1. Using command line: osgviewer cow.osg --screen 1 In windowed mode: set OSG_WINDOW=100 100 500 500 osgviewer cow.osg osgviewer cow.osg --window 100 100 500 500 Or just use a osgViewer .view config

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Paul Martz
] [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Tomlinson Sent: Friday, March 28, 2008 7:55 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Single Windowed OsgViewer on multiheaded Hi Folks Running some tests with osgviewer I noticed it always comes up full screen, any way on the command

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Marco Jez
Hi, setenv OSG_WINDOW '0 0 1280 1024' (or equivalant) or: osgviewer --window 0 0 1280 1024 cow.osg Cheers, Marco ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Jakob Ruhe
osgviewer --help-env gives you that the environment variable OSG_WINDOW x y width height will make osgviewer start in a window Best regards Jakob Ruhe 2008/3/28, Gordon Tomlinson [EMAIL PROTECTED]: Hi Folks Running some tests with osgviewer I noticed it always comes up full screen, any

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Gordon Tomlinson
Thanks Robert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, March 28, 2008 3:15 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Single Windowed OsgViewer on multiheaded Hi Gordon, Using env vars: set OSG_SCREEN=1

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Jean-Sebastien Guay
Hi Gordon, Running some tests with osgviewer I noticed it always comes up full screen, any way on the command line to make it come up windowed ? did not see an option with --help Others have suggested OSG_WINDOW, but you can also pass --window x y w h on the command line. Most of the time

Re: [osg-users] Single Windowed OsgViewer on multiheaded

2008-03-28 Thread Jean-Sebastien Guay
Just correcting something I said without really checking: osgviewer with OSG_SCREEN x in the environment (there should probably be a command line argument for this too) is the same as osgViewer::View::setUpViewOnSingleScreen(x). There is a command line argument, as Robert pointed out: