Hi all,

I am using osgViewer::Viewer in ON_DEMAND RunFrameScheme, e.g. there is no 
continual re-rendering and 100% CPU loading, but the scene is rendered only 
when really needed.

Bug: The window is not repainted when obscured by another window and re-shown 
again.

I was trying to fix the problem and these are my findings:
- when window is damaged and needs to be repainted, it receives WM_PAINT 
(Win32) or Expose (Linux) message, or paintEvent() is called on Qt. I tried to 
call requestRedraw() inside these, but it is just an empty function inside 
osgViewer::GraphicsWindow. Is it a bug, intended behaviour or unimplemented 
functionality? In the first and third case, I am going to contribute the missed 
functionality by testing all windows from 
osgViewer::Viewer::checkNeedToDoFrame().

John
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to