You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,9 +60,10 @@ gdb --version
60
60
5. Cellular Automata (CA) Filter on Noise
61
61
62
62
1. CA Filter A : Expanding Zones
63
-
1.Using Flood Fill, find X number of `openAreaMin`, find flat zones that are minimum of 2x2 cells of flat area
63
+
1.Find X number of `openAreaMin`, find flat zones that are 3x3 cells of flat area
64
64
2. Smooth the noise by expanding the flat areas
65
-
3. Create a CA rule that defines flattened areas and expand them
65
+
1. Create a CA rule that defines flattened areas and expand them
66
+
3. Scan to find new flat zones
66
67
1. CA Filter B : Patching / Removing Outliers
67
68
1. Even out zero elevation && any cells that are islands
68
69
2. If a cell is zero and has many zero neighbors, it stays zero. Also true for values of 1, 2, 3, etc. If a cell is x and has many x neighbors it stays x.
@@ -92,20 +93,25 @@ gdb --version
92
93
1. Determine the correct tile type for each cell in the grid
93
94
2. Set the Grid map cells using Godot's Grid map system
94
95
95
-
8. Open Area Finder / Large Structure Locations
96
+
8. Sanitizer
97
+
98
+
1. Smooth out Cliffs & Ramps
99
+
2. Ensure cliffs and ramps don't look messy
100
+
101
+
9. Open Area Finder / Large Structure Locations
96
102
97
103
1. Find areas that have flat ground tiles of 3x3 cells
98
104
2. Elevation buffer, ensure structures aren’t placed against cliffs and ramps
99
105
3. Store the center cell into a list of available locations
100
106
101
-
9. Poisson Object Placement
107
+
10. Poisson Object Placement
102
108
103
-
1. Create a copy of the finalized grid and increase its size by splitting cells into 4 pieces
104
-
2. Finalized grid contains data about each cell's place-ability
105
-
1. Use the data from the previous steps to know cells that can’t have objects placed on them
106
-
2. River Pathing determines non-placeable cells
107
-
3. Elevation changes are non-placeable cell's
108
-
3. Use poisson disk sampling to place non-large objects using the higher density grid
109
+
1. Create a copy of the finalized grid and increase its size by splitting cells into 4 pieces
110
+
2. Finalized grid contains data about each cell's place-ability
111
+
1. Use the data from the previous steps to know cells that can’t have objects placed on them
112
+
2. River Pathing determines non-placeable cells
113
+
3. Elevation changes are non-placeable cell's
114
+
3. Use poisson disk sampling to place non-large objects using the higher density grid
0 commit comments