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

Gordon Tomlinson gordon at gordon-tomlinson.com
Sun Mar 22 04:08:25 PDT 2009


Hi

You can set an environment variable to set the initial size set
OSG_WINDOW="100 100 500 500"

>From the command line you can use : --window 100 100 500 500

e.g. osgviewer cow.osg --window 100 100 500 500


You can also use a config file to set the windows up  osgviewer cow.osg -c
OpenSceneGaph-Data/Configuration/SmallWindow.view
With an environment variable :
OSG_CONFIG_FILE=OpenSceneGaph-Data/Configuration/SmallWindow.view


And of course you can set the window size thru code as you have all the
source I'll leave that as simple exercise for you to look at what is needed

____________________________________________________________________________
__
Gordon Tomlinson 

gordon at GordonTomlinson.com
IM: gordon3dBrit at 3dscenegraph.com
www.vis-sim.com www.gordontomlinson.com 
____________________________________________________________________________
__

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Yafes
Sent: Sunday, March 22, 2009 4:58 AM
To: osg-users at lists.openscenegraph.org
Subject: [osg-users] How to start application in non fullscreenmode

Hi,

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


Thank you.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8896#8896





_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list