[osg-users] Database Pager Question : What happens when we have missing files...

2009-01-08 Thread Adrian Egli OpenSceneGraph (3D)
Hi Robert,

What happends when we have missing files on the file system? if the database
(file system, http server) don't have all tiles correctly storred or there
is a file corruption. In my application the database pager ask hunderds time
for the tile, so it will get plenty of request, is there a way to remove
such bad tiles, to avoid over load the pager?

/adrian

-- 

Adrian Egli
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Database Pager Question : What happens when we have missing files...

2009-01-08 Thread Robert Osfield
HI Adrian,

On Thu, Jan 8, 2009 at 5:18 PM, Adrian Egli OpenSceneGraph (3D)
3dh...@gmail.com wrote:
 What happends when we have missing files on the file system? if the database
 (file system, http server) don't have all tiles correctly storred or there
 is a file corruption. In my application the database pager ask hunderds time
 for the tile, so it will get plenty of request, is there a way to remove
 such bad tiles, to avoid over load the pager?

Failed request will keep be being requested by the cull thread, and
the paging thread will keep attempting to load them.  There is no
black list maintained.  You could implement your own black listing if
you so wished via a Registry ReadCallback.

Corruption of data will only occur if the a load fails half way
through, but most loaders will return NULL in this instances so the
main scene graph should be unaffected.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org