If you used VPB to build an osgTerrain database, you can get what you want with the osgSim class.
-Shayne -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of abhishek agarwal Sent: Thursday, June 02, 2011 11:27 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] [vpb] How to extract height data from .dem files usingVPB and OSG Hi, I'm trying to build a terrain using .dem file for height. The file contains all information on lattitude , longitude and height.... But i don't know how to make use of them.. i don't know how to extract height in osg program... I need height data to clamp objects to the terrain. Can you help me? Waiting for reply. Thank you! Cheers, abhishek ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40043#40043 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org