Hello.
I'm trying to learn how to generate heightmap but unfortunately I have problem with this.
I wanted to start from something simple.
I found this tutorial
http://www.mbsoftworks.sk/index.php?page=tutorials&series=1&tutorial=8but as I already mentioned it doesn't work because in 100% I'm doing something wrong and what you can see on this image

Here
http://pastebin.com/KtweuK5Mis my whole code but basic method are "setupQuad()", "loopCycle()" and method generating vertices "getVertices()".
I'm pretty sure there is some problem with indices array.
Ignore color array and shaders.
I will be grateful for your help.
Maybe someone of you have same basic working example heghtmap in java and could share it with me (if I do not ask for too much).