[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:



http://i.imgur.com/JBdUl.jpg



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:

[java]

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

heightmap.load();

heightmap.smooth(0.9f, 1);

[/java]

Thanks for a quick response :smiley: Works nicely.