Hi Fredrick, On Sun, Oct 4, 2009 at 7:52 PM, Fredrik Hemström <[email protected]> wrote: > 1) How do I change/resize the osgViewer window-size in from my application?
You use GraphicsWindow::setWindowRectangle(x,y,width,height). Have a look at the WindowSizeHandler implementation found in src/osgViewer/ViewerEventHandlers.cpp for example of it in action. > 2) If i attach a p-buffer as in the osgscreencapture example, how to do > resizing of the p-buffer? I don't believe it's possible to resize a pbuffer, it's not a conventional window. You'll need to create a new pbuffer and assign it. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

