I believe it depends on where you call frame(). You can create a separate thread that will call frame() on its own timer and will continue to render as wxWidgets is resizing. I havnt tested this but it should work. The wx gui will not continue to render but the OSG parts should. I've done this for a MFC project in windows and the OSG parts of the application continue to run when they are being resized. I hope this helps! -Steve ________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Dickson Sent: Tuesday, July 08, 2008 1:31 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] wxwidgets and osg Hi, I have been trying out osg with wxwidgets, specifically playing with the osgViewerWX sample, and was wondering if it is possible to somehow maintain rendering whilst the wxFrame is resized. At the moment when the wxFrame is made bigger the rendering area is not redrawn until the next idle event, meaning it looks like the app has failed in someway (obviously it hasn't) until it is updated. Would it be inefficient to render every resize event? Or maybe snapshot the front buffer to create a image that is just resized (as if the user is resizing they aren't interacting with the rendering window, if so how?)? Thank you for any help\comments, appologies if my terminology is wrong, I'm a bit new to all this :-) -- James Dickson
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org