Original Post
Hello,
I have this problem: My terrain size is about 70000 opengl *units*. My heightmap size is 1024*1024. Now when I create a mesh and try to extract height values from heightmap, very often the location of a vertex is in between two heightmap pixels. Because of this some triangles in my mesh (for example on a terrain hill) are flat, because all vertices relate to the same heightmap pixel.
How can I interpolate between pixels. Say I want to extract a pixel from heightmap at location 343.23423, 566.634645 ??
A clue anyone ?
Thanks,
Edotorpedo