brettwiesner wrote: > I want to position something (let's say a building) to a terrain. > Currently I'm getting the Z value for the building doing this with an > osgUtil::IntersectVisitor and that works fine for static terrains. When > I run on a paging terrain (like one from osgEarth) and I position the > building, I get a Z value of the lowest LOD. Then more data pages in and > the building gets "buried" underground as more accurate data comes > available. > What's the most effiecient "ground clamp" things to paging terrain?
I think you're on the right track. I ran into this before -- the Intersect visitor only goes to the lowest LOD. but I think you could adapt it to be smarter. > Thanks, > Brett -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org