hello folks,
in order to make my randomly generated test-terrains look a little bit nicer, i wrote a little alpha map generator that creates alpha maps based on the height of the terrain. That way beaches were sandy and mountains were rocky now in my terrain
I wondered that there is nothing like this in jme included, so i decided to put this up on GitHub so everyone can use it, if yu want to.
Source code is there:
https://gist.github.com/1759372
It lacks a little documentation, but i will update javadoc as i get the time. but i should be self-explanatory.
here are some example pictures from my last generated terrain:


the generated alpha map:

Of course it’s not perfect. the changes could be smoother etc.pp. but i think its a good starting point.