Generates a model for the terrain (Andersw88)