**i have loaded a terrain on top of the globe. To calculate height of the cursor i am subtracting the cursor coordinates from the viewer.scene.clampToHeight (cursorPoint). I am getting the wrong results. The result is not continuous it is varying in discrete manner like 0.4m, 6.4m,12.3 mts. ****The point is on the ground it is showing 0.4m height above ground. **I observed that the viewer.scene.clampToHeight result is varying itself to get that discrete output. Iam not getting the reason behind this wrong results.
I observed that when i am tilting the surface upto tilt nearer to zero then i am getting the correct results.