Hi Audrey, I haven't tried exactly what you are doing but you could try :
_viewer->requestRedraw(); This method is inherited from osgGA::GUIActionAdapter. Robert. On 26 February 2012 15:31, Andrey Ibe <xry...@gmail.com> wrote: > Hello world! > > Until recently i had been using > > Code: > _viewer->setRunFrameScheme(osgViewer::ViewerBase::CONTINUOUS); > > but then i switched to > Code: > _viewer->setRunFrameScheme(osgViewer::ViewerBase::ON_DEMAND); > > and now i have a minor problem with window refresh. > > This should be fairly simple to do, i think, i just can't find the proper > method to do so - how do i request a osg::View to refresh ? (or it's camera, > or whole composite viewer - i don't care) i've been searching the > documentation as well as this forum with no success. > > There is a GLUT method that i am familiar with - glutPostRedisplay() - is > there any OSG equivalent? > > I am running some lengthy ray tracing computation and when it finishes, i > need the window that the result is displayed in to refresh. > > Thank you in advance! > > Cheers, > Andrey > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=45774#45774 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org