Good Day, We're using osg & VPB/osgdem to create a polygonal terrain representation that interacts with the undercarriage model of a helicopter flight model using a set of LineSegmentIntersectors. While this approach works quite well, we'd like to optimize the performance of the LineSegmentIntersector queries in order to allow us to increase the frequency to of queries to ~200 Hz and maintain consistent query times (currently the performance of the intersection tests varies significantly as we move through the virtual terrain).
Ideally by minimizing the hierarchy of terrain that the IntersectionVisitor needs to traverse over, we hope to improve the performance of the intersection queries. Since the interaction is non-visual in nature, we only require the highest LOD of the terrain and we only require the tiles that are within a few hundred meters of the observer to be loaded by the DatabasePager, however we're unsure as to how to influence: Which LOD is loaded by the DatabasePager; and The radius around the observer for which the DatabasePager will load the highest LOD tiles. Can anyone offer some guidance re. configuring the DatabasePager (and/or other parts of the system) to perform as desired? Many thanks, Murray
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

