Re: [osg-users] How to name the viewer window???

2009-12-12 Thread Kevin Wilder
Hi, I came upon this post while searching for a way to do exactly the same thing. Now that I've found a solution, I thought I would post it for the benefit of everyone on this forum: // create the windows and start the required threads. viewer.realize(); // add a caption to the viewer window

Re: [osg-users] How to name the viewer window???

2009-12-02 Thread Robert Osfield
Hi Ankita, Have you tried GraphicsWindow::setWindowName(My First Scene) on the viewers GraphicsWindows, or pass in the window name via GraphicsContext::Traits::windowName if you are creating the windows yourself. To get the viewers graphics windows you can use viewer.getWindows(..) method that

[osg-users] How to name the viewer window???

2009-12-01 Thread Ankita Chauhan
Hi all, I have rendered a scene using osgViewer in Windows XP... I want to name this viewer window (e.g. I want to give this window the name of the file which is being rendered in this viewer or simply any text like MY First Scene). Can anybody please help me in this regard.. Thank you in