Hi Robert,

Hmm, maybe we talk at cross-purposes:

osgSim::HeightAboveTerrain provides already a convenience Method for HAT 
calculations: 

Code:

static double computeHeightAboveTerrain(osg::Node* scene, const osg::Vec3d& 
point, osg::Node::NodeMask traversalMask=0xffffffff);




I can't really follow you regarding the computation effort or paging 
performance, because the HOT calculation is no extra step, it is a by-product 
of your HAT calculation.

I agree that the HAT-class may not be not the best place for HOT calculations.  
;) 

Meanwhile I'll add these functions to the osgVisual utils to provide the users 
of my department a simple to use interface to query hat / hot.


Thank you!

Cheers,
Torben

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41442#41442





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

Reply via email to