<div dir="ltr">Hi Joachim,<br><div class="gmail_extra"><br><div class="gmail_quote">On 15 August 2017 at 14:21, Joachim Gehrung <span dir="ltr"><<a href="mailto:joachim.gehrung@iosb.fraunhofer.de" target="_blank">joachim.gehrung@iosb.fraunhofer.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ok, thank you. I think I'm starting to get the picture :). When you talk about a database, you mean just a bunch of files on the filesystem, not some kind of SQL database, right?<br></blockquote><div><br></div><div>It could be either...<br><br>For VPB generated paged database what you have is set of files, with one file as the topmost and lowest level of detail that your application loads and then this topmost file contains a PageLOD that references a file contains the next level details and so on.  With a quad tree you get four more files for each level, for an octree you get eight more files.<br><br></div><div>For osgEarth it dynamically creates the PagedLOD subgraphs in that extract image and elevation data from online or local raw data sources.<br><br></div><div>Other users have written custom osgPlugins that use tile references encoded into the PagedLOD filename strings that the custom plugin uses to read from an external source. some have even done this extracting the data from a SQL database.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I'm afraid I have to implement against our own backend. So let my guess, I would have to implement a subclass of the osgDB::DatabasePager to handle that?<br>
<br></blockquote><div> </div><div>Um... how many times do I have to say you don't need to subclass from DatabasePager.<br><br></div><div>Repeat after me:<br>    I don't need to subclass from DatabasePager.<br>    I don't need to subclass from DatabasePager.<br>    I don't need to subclass from DatabasePager.<br><br>:-)<br><br></div><div>All you need to do create a paged database using standard osg::PagedLOD/osg::Geometry Nodes, you can do this offline like VPB or on the fly like osgEarth.  I suspect a custom plugin might be the way from for yourself, but this is just a guess, you haven't said anything how you data is stored and should be accessed.  Please share info on how your data stored and what it represents, this will help guide you in the right direction.<br></div><div><br></div><div>Robert.<br></div></div><br></div></div>