Hi All, To control the size you need to set the size of the GraphicsWindow that you attach to the Viewer's Camera. Have a look at the osgcamera or osgwindows examples to see how it can be done. There is also a convinience method osgViewer::View::setUpViewInWindow(x,y,w,h) that wraps up the lower level set up you'll see in osgcamera/osgwindows.
For some the examples (such as osgviewer) you can also provide a command line option --window x y w h, or set an env var OSG_WINDOW x y w h to force them to open up in a window. Robert. On Dec 18, 2007 3:43 PM, Allen <[EMAIL PROTECTED]> wrote: > Thank you Robert Osfield. Your help is greatly appreciated! I now have > a functioning OSG 2.2 installation on Windows! > > I have another newbie question: Does anyone know how to control the > size of the "output graphics window?" I don't know its technical name > but I think it's the Viewer object. However, I've no idea what methods > to call to control the actual size of that window and to keep it from > maximizing. > > Thanks again! :-) > > -- > Sincerely, Allen > Senior Software Engineer > EDO-CAS, Inc > Ps 34:5 "I sought the Lord, and he heard me; and he delivered me from all my > fears" > > _______________________________________________ > 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

