On the performance issue, you need to leverage the database cache feature for LOS and HAT. Take a look at the "osgintersection" example to see how this is done for "los" and "hat". Using the "computeHeightAboveTerrain" method is sort of an immediate mode for HAT queries which isn't the best for performance when you have a bunch of them to do per frame.
I'm not sure I understand your last issue. The "readNodeFile()" reads the paged terrain database (*.ive) file and the database pager pages in whatever LOD is needed without any work on your part. When you query HAT, the highest LOD is paged in to get the correct value, again without any extra work on your part. Shayne ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=53706#53706 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

