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/
