[osg-users] Height of terrain
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Fri Mar 3 04:28:14 PST 2017
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
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
More information about the osg-users
mailing list