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
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
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
3 matches
Mail list logo