Hi Rafa,

Could the tile identifier not be encoded into the filename string?
This is how I'd tackle it.

If you really need a fully custom paging mechanism then why not just
implement your own.

Robert.

On 5/31/06, Rafa Gaitan <[EMAIL PROTECTED]> wrote:
Well, our own tiles.. are an extension of PagedLOD (TilePagedLOD), they
incorporates a tile identification inside... The idea is make all system
dynamic, to support variable layers and in general support GIS datasets. I
know that PagedLOD.. and DatabasePager is not made to support this
architecture, and we are extending functionality to do it.

By now the system creates tiles on demand .. and requestTexture and
HeightFields to a data acces layer. The problem is the continuous increment
of memory, and we want to use (or extend) the databasePager to unload those
tiles less used. If is necessary create those tiles again..it's ok.. we
create and request data again. We have a disk cache of texture and HF tiles,
so it's quickly to reload it.

Any suggestion about the implementation of the DatabasePager?

Thanks.
Rafa.


On 5/31/06, Robert Osfield < [EMAIL PROTECTED]> wrote:
>
On 5/31/06, Rafa Gaitan < [EMAIL PROTECTED]> wrote:
> Thanks a lot! Robert!
>
> it works! :D we have some minor problems.. but works fine for us.. Now we
> need to unload from memory those less used tiles.. is possible to extend
> DataBasePager in order to do the work without use filenames for tiles?

How would reference tiles without a filename to indentify it?

BTW the filename is just a string, you can actually encode anything
you want into this string and use a Pseudo loader to decode this
string into a tile reference.

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