Hi Brad,

I had a problem where tiles were not paging out.  I was loading them after
realize.  If you look at osgProducer::Viewer::realize or wherever realize is
now you will see these calls:
osgDB::DatabasePager* databasePager =
osgDB::Registry::instance()->getOrCreateDatabasePager();
databasePager->registerPagedLODs(getTopMostSceneData()); 

If you run registerPagedLODs on the models you are loading, then you could
get data paged out again.

Otherwise, you probably have an issue with the ranges or center of the Paged
LOD.  It could also be the number of references you have to them.

Zach

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brad Colbert
Sent: Tuesday, February 27, 2007 13:04
To: osg users
Subject: RE: [osg-users] View dependant database paging

Hi Robert,

Is it only paging in the area of regard (and some small surrounding
area) or is the entire area near the camera paged in?  I ask this because it
looks like I'm running out of memory and I'm trying to narrow the culprit.

For this application, I'm not concerned about real-time performance so I
don't mind delays from paging and expiring tiles.  Is there a setting to
force the pager to be aggressive in its expiration and removal of memory
resident tiles?  Literally to the point of, if it's not in the area of
regard, remove it from memory?  This is a very memory intensive database.

Thanks Robert,
Brad

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield
Sent: Tuesday, February 27, 2007 1:02 AM
To: osg users
Subject: Re: [osg-users] View dependant database paging

HI Brad,

On 2/26/07, Brad Colbert <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> Has anyone implemented a way to have the pager work such that it only 
> pages in the areas that the camera is looking at instead of where the 
> camera is located?
>
> I apologize if this has been covered in previous threads.

The paging is already governed by what PagedLOD nodes are in the view
frustum, i.e. what the camera is looking at.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to