how to modify the altitude of the specific terrain area?

classic Classic list List threaded Threaded
2 messages Options
Calvert Calvert
Reply | Threaded
Open this post in threaded view
|

how to modify the altitude of the specific terrain area?

hi Glenn
thanks for your suggestions...
that means i cann't modify the height value real-timely??

thanks again..

calvert



gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: how to modify the altitude of the specific terrain area?

Calvert,
Without some hooks into osgEarth it is possible but difficult. You could always traverse the scene graph that osgEarth creates, find the heightfields, change them on the fly, and mark them as dirty so they update. But remember that you would have to do this for every LOD as it pages in.

Glenn
Glenn Waldron / Pelican Mapping