[osg-users] How to start application in non fullscreenmode

Robert Osfield robert.osfield at gmail.com
Sun Mar 22 04:08:10 PDT 2009


Hi Yafes,

On Sun, Mar 22, 2009 at 8:58 AM, Yafes
<ysahin.mmt-b2008 at fh-salzburg.ac.at>wrote:

> guys, i would like to know, how it is possible to start the application in
> window?
>

This is rather an open ended question....  what type of application are we
talking about here?

If you mean an osg example or the osgviewer then try:

  osgviewer cow.osg --window 100 100 800 500

Or the env var:

  export OSG_WINDOW="100 100 800 500"
  osgviewer cow.osg

Or a configuration file from the OpenSceneGraph-Data distribution:

  osgviewer cow.osg -c Configutation/SmallWindow.cfg

This can all be controlled programatically, see the examples like osgcamera
for details.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090322/cf1c875b/attachment-0003.htm>


More information about the osg-users mailing list