[solved] How to smooth out heightmap?

I just made my own heightmap in GIMP. However it was very rough. So I applied some blur to it. The result was this:


As you see it is first completely flat. Then goes down one step. I assume my way of smoothing out the terrain was wrong. So how do I smooth it out correctly?

From the TerrainTestAdvanced.java file:


heightmap = new ImageBasedHeightMap(heightMapImage.getImage(), 0.5f);


heightmap.smooth(0.9f, 1);


Thanks for a quick response :smiley: Works nicely.