[osg-users] request new frame manually

2012-02-26 Thread Andrey Ibe
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,

Re: [osg-users] request new frame manually

2012-02-26 Thread Robert Osfield
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 wrote: > Hello world! > > Until recently i had been using > > Code: > _viewer->setRunFram

Re: [osg-users] request new frame manually

2012-02-27 Thread Andrey Ibe
Thank you, Robert! it worked well. for the record, the correct call is made on osg::View Code: _view->requestRedraw() I am puzzled how i could have missed the method in the sources :? Cheers, Andrey -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.ph

Re: [osg-users] request new frame manually

2012-02-27 Thread Robert Osfield
On 27 February 2012 12:51, Andrey Ibe wrote: > Thank you, Robert! > > it worked well. > > for the record, the correct call is made on osg::View > Code: > _view->requestRedraw() > > > I am puzzled how i could have missed the method in the sources  :? It'll be easier to miss features when they are