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 

[email protected]
IM: [email protected]
www.vis-sim.com www.gordontomlinson.com 
____________________________________________________________________________
__

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Yafes
Sent: Sunday, March 22, 2009 4:58 AM
To: [email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

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

Reply via email to