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 tutorialhttp://www.mbsoftworks.sk/index.php?page=tutorials&series=1&tutorial=8
but as I already mentioned it doesn't work because in 100% I'm doing something wrong and what you can see on this image
is 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).