The answer is yes, please re-read my earlier reply

On 2/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
-----Ursprüngliche Nachricht-----
Datum: Thu, 15 Feb 2007 12:22h
Von: "Robert Osfield" <[EMAIL PROTECTED]>
An: "osg users" <[email protected]>
Betreff: Re: [osg-users] Window management


Hi Johann,

On 2/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> is there a possibility to change the window size on the fly, after i have 
strted the application?

Yes, just grab the sides of window and the OSG will adjust its aspect
ratio accordingly.

In the case of Producer you do do it programatically by calling
RenderSurface::setWindowSize().  I haven't yet added this feature into
the new osgViewer library, but will add it soon.

Robert.

Hi Robert,

thank you for your response. I'm sorry, i didn't made clearly enough 
understandable my question. I can change the window size outside the 
application (with a mouse), but what i mean is, i want to change the window 
size inside the application, in the *.cpp file, after i have started my 
application.
For example, in a *.cpp file, first i setup the viewer, especialy the window 
size, after that i start the while() {} loop and my application starts.
My question is, can i change the window size again, inside the application (in 
a *.cpp file) after i have started it, or it is impossible?

With best regards
Johann.


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to