For feature 2 I basically followed the diamond square algorithm given to us, with only a slight change to the code so that when the terrain was read in it was flat and being looked across, as opposed to above it and looking down on it. This just required a change to x and z coordinates, instead of x and y.
This created an obj output file that I just read in as any other obj. I had to play with the camera coordinates to get it aligned with the terrain as well.
A picture of the algorithm code
A picture of the terrain obj file
And a video of the terrain…
being video bombed.