amterp / COMP30019-Project-1

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

Add ability to increase/decrease terrain detail #20

Closed amterp closed 6 years ago

amterp commented 6 years ago

Stretch goal.

Add the ability (probably via UI buttons) to increase or decrease the level of detail for the terrain. This shouldn't be too difficult, due to the nature of the algorithm.

Point of consideration:

amterp commented 6 years ago

Been working a bit on the terrain generation algorithm, and this doesn't seem very easy to implement, since the original nodes would have to move. There might be some way around it, but I don't think it's worth thinking too much about this one.

amterp commented 6 years ago

Actually it can be implemented. Instead of changing any nodes, however (as in changing the number of nodes in our data structure), simply stop at an earlier step in the diamond-square algorithm i.e. before every single node has been given a value, and render based on that. Should perhaps still be possible to add.

amterp commented 6 years ago

The algorithm has been completely rewritten to make it fast. This means it's now written in such a way that this functionality is both undesirable, because max resolution generates so quickly, and unrealistic to implement. This functionality is not to be implemented, hence the close.