Basically you make a custom URI scheme to name each "file" in the PagedLOD
object, like

12345567890.werner_texion_tile

Then you create and register a pseudoloader that accepts requests for
"files" ending in the ".werner_texion_tile" extension. But when your
pseudoloader is called to "load" one of these "files", you simply parse the
"filename" to get the tile ID from it, and then construct the resulting
subgraph using the assets already available in memory (or over a network,
or however you wish to get the real data to make the subgraph) and return
it as if you had just loaded it from disk.

There's nothing "disk" specific about the URI system in the PagedLOD
subsystem.

​
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to