amterp / COMP30019-Project-1

Project 1 for 2018 Semester 2 of COMP30019
1 stars 0 forks source link

Add optimized version of diamond-square algorithm #32

Closed amterp closed 6 years ago

amterp commented 6 years ago

Add a far faster version of the diamond-square algorithm. This version is far more iteration-based, uses less objects, does not utilize many lists, and is sectioned off so that it only returns a float[,] object. After the heights have all been calculated, the vertices are then calculated and the mesh is created. Handles N=8 resolution within seconds.