<div dir="ltr">Hi Joachim,<br><div class="gmail_extra"><br><div class="gmail_quote">On 22 August 2017 at 14:05, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">sorry for my late reply. One of my requirements is that the backend should be flexible... this was why is was so attached to the DatabasePager when I first heared about it ;). To me it sounded like the part one needs to exchange to switch backends. Well, if it isn't the DatabasePager, what is it then? As far as I were able to follow your suggestions, I may need different PagedLODs or some kind of plugin you mentioned, but I don't know about already, correct :)?<br></blockquote><div><br></div><div>I think you mis-understood the role of the DatabasePager - it's the tool that the manages the theading or loading, compile, merging and expiring subgraphs, it doesn't do any loading itself, it defers all the loading to the standard osgDB file loading mechniams managed by the osgDB::Registry.<br></div><div><br></div><div>To do different backends all you need is different plugins that do the loading for you.<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
A possible "backend" is of course the file system, but it should also be possible to handle a server with a proprietary protocol.<br></blockquote><div><br></div><div>Have a look at the curl plugin that provides the OSG's support for http/https loading of data. This takes filenames as input and opens up a connection using libcurl and then uses other OSG plugins to load the actual data,<br><br></div><div>The curl plugin doesn't actually know anything about the DatabasePager and the DatabasePager knows nothing about the curl plugin as the two are completely independent yet work really well together.<br></div><div><br></div><div>Robert,<br></div><div> </div></div><br></div></div>