Heightfield terrain patches, but had trouble with the glVertexAttribPointer() OpenGL API call.