I'm new with the OpenGL code and I wanted to learn how to make a simple terrain, more of a chunk of blocks. I want to use SimplexNoise for this, and it's pretty difficult for me to understand how to do it.
I divided my files, to a main file that will render and "draw" all the blocks, and a chunk file, to create every chunk for itself. If you can help me understand better what I need to do, I'll appreciate it.
I need help understanding how to draw the blocks, and place the player. started with GL11.glVertexf, and GL11.glTranslatef. how can I combine them and do the things I need?
Thanks in advance, Goren.
I've edited the code a little bit and made it Java from http://devmag.org.za/2009/04/25/perlin-noise/
}