On 9/14/2011 7:55 AM, Ethan Fahy wrote: > To answer my own question, yes, the code snippet that I posted does work and > allows me to attach an object to the terrain using lat lon elevation. The > next step is to be able to place an object on the terrain by only giving it a > lat lot and having it figure out the elevation automatically...
http://eckhart.stderr.org/doc/openscenegraph-doc/openscenegraph/classosgSim_1_1HeightAboveTerrain.html Use that to query the terrain elevation at a given location. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. Contracting. "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