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 file

osgviewer cow.osg -c OpenSceneGaph-Data/Configuration/SmallWindow.view

Or using a Producer .cfg (with 2.4.x)

osgviewer cow.osg -c myconfig.cfg

Or using env var:

export OSG_CONFIG_FILE=OpenSceneGaph-Data/Configuration/SmallWindow.view

osgviewer cow.osg

So...got enough options :-)

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to