Hi Rafa, osgTerrain builds the database with a CluserCullingCallback attached in appropriate places, its this which is culling the backfacing subgraphs. You just need to attach these to your terrain.
Robert. On 5/26/06, Rafa Gaitan <[EMAIL PROTECTED]> wrote:
Hi Rob, We are experiencing some problems using PagedLOD nodes and the DataBasePager. We want that our application unloads PagedLOD tiles from memory, but we are unable to do it! :S. We are working in Java, using an own Viewer with java bindings. If we load a pregenerated database with osgdem, the system works fine, and unload tiles without problems (we can see tiles on back side disappearing). The problem is when we use our own dynamic generated tiles, the tiles on back side never disappear and are continously traversed, and if is necessary, the are expanded to generate childs. We have made lots of tests. One is to write our generated database to disk and comparing with osgdem generated database. The tiles are very similar but we have realized that transform matrix, and centers are not exactly the same, but ranges are quite similar. Also we have tried to load our generated database with osgviewer, and the result is the same, it doesn't unload tiles!. Well, we have a couple of questions.. - Where is determined that childs of a PagedLOD should be unloaded. (we suppose that is in database pager... but we cannot find exactly how it does the process). - What value/s is used to determine that a child of a PagedLOD should be unloaded?. Maybe we can adjust our values in order to solve the problem.. but we have some weeks doing it and comparing with osgTerrain code and we are unable to do it! . Thank you very much. Rafa. _______________________________________________ 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/
