Opened 6 years ago

Last modified 6 years ago

#4952 new enhancement

Random map generator by Pyrophorus

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Maps Keywords:
Cc: Patch:

Description

In this thread Pyrophorus has presented a proof of concept of a map generation library. It would be great to put it to use.

https://wildfiregames.com/forum/index.php?/topic/22830-yet-another-random-map-generator/

Change History (1)

comment:1 by elexis, 6 years ago

In 21182:

Implement ElevationBlendingPainter which interpolates the height of the given area with the desired height.

Primary use case, as represented on Caledonian Meadows, is creating a path through impassable area, mountains or water, refs #4952.
Supersedes placeRandomPathToHeight from the heightmap library, refs #3764.
The painter has the advantage that it can be applied to arbitrary areas with arbitrary forms of smoothing (or no smoothing).
Replace the rectangularSmoothToHeight calls that only smooth an area with a SmoothElevationPainter call.
Replace placeRandomPathToHeight which is a copy of the the RandomPathPlacer from rP20879, refs #4805.

Note: See TracTickets for help on using tickets.