[osg-users] Detecting new data merged into the scenegraph by the DatabasePager

2010-04-16 Thread Chris 'Xenon' Hanson
Suppose an application that is not free-running the draw loop (because the data and view is unchanging unless the mouse is actively interacting with it). There are many PagedLOD nodes, and the databasepager can insert newly-loaded data into the scenegraph. However, the main cull/draw loop does

Re: [osg-users] Detecting new data merged into the scenegraph by the DatabasePager

2010-04-17 Thread Robert Osfield
Hi Chris, When I implemented the rendering on demand feature in osgViewer I added a convenience method ViewerBase::checkNeedToDoFrame() to find out whether anything had changed in the scene graph. Have a look at the implementation in src/osgViewer/Viewer.cpp, Viewer::checkNeedToDoFrame(), among o

Re: [osg-users] Detecting new data merged into the scenegraph by the DatabasePager

2010-04-17 Thread Chris 'Xenon' Hanson
On 4/17/2010 3:12 AM, Robert Osfield wrote: > Hi Chris, > When I implemented the rendering on demand feature in osgViewer I > added a convenience method ViewerBase::checkNeedToDoFrame() to find > out whether anything had changed in the scene graph. Thanks. That's perfect. Just wasn't looking in