you caj also use the environment variable OSG_WINDOW, e.g.:
set OSG_WINDOW = 40 40 640 480
Note: space delimited.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44341#44341
___
osg-users mailing
Hi Guy,
To set the size and position of a window you use the
osgViewer::GraphicsWindow method:
/** Set the window's position and size.*/
void setWindowRectangle(int x, int y, int width, int height)
The GraphicsContext::resized() method only informs the context that
the window
You're the man!!!
Thanks.
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=14697#14697
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi,
I've implemented the osg::GraphicsContext::ResizedCallback to get notified when
the user resizes the window via the mouse. That work perfectly.
However, I also need to change the window size programatically (when the user
presses a button, for example). I tried calling
4 matches
Mail list logo