Hi, for redrawing, call function requestRedraw() on View(er) you want to redraw. I suppose you are changing the scene by yourself.
If you want redraw on demand, other than calling frame by yourself use osgViewer::Viewerbase::setRunFrameScheme(ON_DEMAND); In QtViewer example there's QTimer for redrawing, but it calls frame() every tick. If you want redraw on demand, see fuction osgQt::setViewer() or use this: Code: if( viewer->checkNeedToDoFrame() ) { viewer->frame(); } Btw. comparing two matrices of doubles has to be done with epsilon delta, because of precision problems. Cheers, Filip ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44187#44187 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org