[osg-users] How to implement pagedLOD without reading from files?

Werner Modenbach Werner.Modenbach at texion.eu
Wed Nov 9 03:46:13 PST 2016


Dear community,

I have to visualize huge simulation images on a textured quad.
Because of the size of the textures I decided for using a pagedLOD
approach and tiles.
This was really nicely described by Rui Wang
(https://www.packtpub.com/books/content/openscenegraph-methods-improving-rendering-efficiency)
My problem: All examples and descriptions I can find are related to
loading from files or databases.
The tiles of the large image I have are not in files but they are
structures in the RAM.
I'm sure it is very simple to implement some kind of derived class or
callback or something like
that for creating the nodes as textured quads depending on the LOD per
program code.

Looks like being a trivial question but I couldn't find the solution.

Thanks for any hints, examples etc.

- Werner -





More information about the osg-users mailing list