ProbableTrain / MapGenerator

ProcGen American City Maps
https://maps.probabletrain.com
GNU Lesser General Public License v3.0
1.21k stars 126 forks source link

Potential easy constraints. Using simple greyscale images. #59

Open CTXC opened 2 years ago

CTXC commented 2 years ago

Sorry, I don't know how to add tags... (enhancements)

The use of a greyscale image (or data-set), to determine the "building heights". Cities build buildings based on how solid the bedrock is below. It is kind-of an exponential value, of potential. The building heights also being a determination of the "layer complexity", of most buildings. Taller buildings naturally, for the most part, have some form of tapering elevation as they reach higher levels.

On a similar respect, to an extent, a topography in greyscale, could also aid in generic elevation. Such that the map uses this data to generate "terraced elevations", where possible. Further adding some character to the output of the city. Retaining simple locations to elevate roads, within a constrained elevation incline. Following the terraced lands with foundations that retain the buildings base-flatness.

Another use for greyscale or colorized data, would be for zoning identification. Some roads and building-styles are only found in certain locations. Again, treating the data as "suggestions", not exactly as literal placements. Simple things like parks, forests, swamps, housing, commercial, industrial, etc... They could all be indicated by the specific shades or color-blends.### ###