Feature 2 – Kevin
For this feature, I basically converted all of the diamond algorithm Chris Johnson showed us to C++and slightly modified it to make the terrain flat instead of vertical. The hardest part of this beyond just going through and understanding Chris’s code was that I had some +1 errors in the writing to the file portion of my code.
Here are some screenshots of my code and of my auto-generated terrain.
Here is a video of it: http://www.youtube.com/watch?v=eMEPzZlUelw