From e26fbad7d96e13ae7e10333e1a55d93f9e62e066 Mon Sep 17 00:00:00 2001 From: austin Date: Thu, 29 Feb 2024 13:35:08 -0500 Subject: [PATCH] move terrain documentation --- docs/src/highlevel-design/highleveldesignindex.md | 3 ++- .../src/highlevel-design/terrainOrganization.md | 12 +++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) rename Terrain => docs/src/highlevel-design/terrainOrganization.md (92%) diff --git a/docs/src/highlevel-design/highleveldesignindex.md b/docs/src/highlevel-design/highleveldesignindex.md index 63428334..da176db9 100644 --- a/docs/src/highlevel-design/highleveldesignindex.md +++ b/docs/src/highlevel-design/highleveldesignindex.md @@ -1,4 +1,5 @@ @page highleveldesignindex High Level Game Design [TOC] -- @subpage macroWorldPartitioning \ No newline at end of file +- @subpage macroWorldPartitioning +- @subpage terrainOrganization \ No newline at end of file diff --git a/Terrain b/docs/src/highlevel-design/terrainOrganization.md similarity index 92% rename from Terrain rename to docs/src/highlevel-design/terrainOrganization.md index 02b2308a..1c7afec2 100644 --- a/Terrain +++ b/docs/src/highlevel-design/terrainOrganization.md @@ -1,25 +1,31 @@ -Terrain: +@page terrainOrganization Terrain Organization +``` generate 200 x 200 interpolate x 10 in each direction this map will be 1 km resolution Useful for macro sim +``` pick points to place mountains at + use curves to generate rivers in data +``` for gameplay, interpolate x 100 in each direction in memory for local areas to player finally chunks are 16 x 16 x 16 +``` - +``` sines going in x cosines going in z at different frequencies, with modifiers based on the percentage of each biome in the current coordinate add the sines + cosines to the current interpolated height Have a couple different instances of simplex noise at different frequencies and amplitudes that get phased in/out based on biome + 2d perlin noise where "activation zone" is only values >0.9 when in activation zone x,z, have 3d perlin noise down to a given point that carves cavities ^should generate earthen pillars - +```