Hi Martin,

The addLoadedDataToSceneGraph is called on every frame but if there is
PagedLOD nodes then this call will effectively be a non op so there
will be practically no computation overhead so I wouldn't worry about
it, it's been design to work this way and largely keep out of your way
when you don't need it.

Robert.

On Mon, Jun 22, 2009 at 7:33 PM, Martin Beckett<[email protected]> wrote:
> I was just testing 2.9.5 with the highest level of debug messages turned on 
> and noticed that  DatabasePager::addLoadedDataToSceneGraph is called on every 
> frame - even when the model was simply loaded from an osg file.  Do I have to 
> do anything to disable the database pager if I'm not using it?
> It doesn't happen with the sample osgViewer.
>
> I load the model with
>
> Code:
> osg::ref_ptr<osg::Node> node = osgDB::readNodeFile(fileName);
>
>
>
> Because it prints a debug timing message for every frame it makes DEBUG_INFO 
> useless for seeing any other messages.
>
> Thank you!
> Martin
>
> Windows XP, Visual Studio2008, Qt4.5+AdapterWidget in a single threaded app.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=14362#14362
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to