Hi All,
I have just checked in the addition to osgViewer::View of the method:
/** Convinience method for a single Camara on a single window.*/
void setUpViewInWindow(int x, int y, int width, int height,
unsigned int screenNum=0);
This compliments the exisitng setUpViewAcrossAllScreens() and
setUpViewOnSingleScreen(..) methods.
I have also added command line option support in for specifying the
screenNum or window dimensions when constructing
Viewer(ArgumentParser&) so that you can now do:
osgviewer --window 50 50 500 500 cow.osg
Or
osgviewer --window 50 50 500 500 --screen 1 cow.osg
Or
osgviewer -screen 1 cow.osg
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...
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/