pycraft icon indicating copy to clipboard operation
pycraft copied to clipboard

Biome Generation

Open olls opened this issue 10 years ago • 5 comments

The current biome generation algorithm is weird, this makes it difficult/impossible to adapt to the new 'feature' system. Other features depend on the biome for the current slice, which depends on biome markers for uninitialised slices. We need a better system which gives each slice a biome type, which can be calculated for each slice independently, but still have a low frequency across many slices.

olls avatar Nov 20 '15 13:11 olls

We could just give each chunk a biome type, but that would be a bit boring.

olls avatar Nov 20 '15 13:11 olls

The current system is very broken.

olls avatar Jan 14 '16 22:01 olls

Do it the same as the new hills

geraintwhite avatar Jan 15 '16 22:01 geraintwhite

Not particularly relevant because it uses attributes of the regions to picl the biome: http://www-cs-students.stanford.edu/~amitp/game-programming/polygon-map-generation/#biomes

Although the way it generates the regions could be useful... https://en.wikipedia.org/wiki/Voronoi_diagram

olls avatar Jan 17 '16 16:01 olls

We could go back to the random biome per chunk, but randomise the boundary of the biome within the chunk.

olls avatar Jan 17 '16 16:01 olls