Hi Bhanu,

We surely cannot help you without the data you use.
But try to use a Z-Value that is actually _above_ the the terrain might help.

Cheers
Sebastian

Hi,
I tried with following expression
double X = 8489499, Y = 1115164, Z = 0;
uble height = 
sgSim::HeightAboveTerrain::computeHeightAboveTerrain(terrain.get(),osg::Vec3(X, 
Y, Z));
      I am getting  height  value as 0. Can any one help me.
...

Thank you!

Cheers,
Bhanu

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





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

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

Reply via email to