Terrain Height interpolation

Sep 9, 2011 at 7:43 AM
Edited Sep 9, 2011 at 8:16 AM

Hi,

I've seen that currently, the methods TryGetHeightAndNormal and GetHeight of Heightmap class return just the actual height.

Do you plan on providing methods for accessing interpolated height?

Sidhnor

Coordinator
Sep 9, 2011 at 8:29 AM

Heightmap has no idea of where it is placed in the world. You can think of DrawableSurface as an instance of a heightmap. The DrawableSurface.TryGetHeightAndNormal will return the interpolated position in world space.

Sep 9, 2011 at 8:32 AM

Thanks yufeih,

I figure that out myself, but only after i've made the post ((