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