On 6/13/07, Robert Osfield <[EMAIL PROTECTED]> wrote:
I'll will also add some env var checking into Viewer::realize() so that it can enable opening on a single screen or in a window...
Now checked in: set OSG_SCREEN=1 set OSG_WINDOW="50 50 600 500" osgviewer cow.osg Will open up a 600 by 500 window on screen 1. Equivilant to: osgviewer --window 50 50 600 500 --screen 1 cow.osg In the case of the env vars these are read in the Viewer::realize() and only used if no other window has already been assigned to the viewer. This usage includes most of the OSG examples, but not all as some explictly specify the windowing the want, in which case the above settings are ignored. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
