Mid-

That makes sense, and I actually understand every bit of it. The one thing I don't get, however, is how do you actually generate the heightfield?