feat(editor): edge ramp tool for seamless multi-tile connections

- Edge Ramp: smoothly transitions tile borders to a target height
  so adjacent tiles can connect seamlessly
- Configurable target height and ramp width (how far in from the edge)
- Quadratic blend for smooth start from edge → interior
- Essential for multi-tile zone creation: ramp each tile's edges to
  match its neighbor's border height
This commit is contained in:
Kelsi 2026-05-05 08:13:04 -07:00
parent d56ea9ae64
commit 6277800773
3 changed files with 49 additions and 0 deletions

View file

@ -120,6 +120,9 @@ public:
// Smooth terrain near water level to create natural beaches
void smoothBeaches(float waterHeight, float beachWidth);
// Ramp tile edges to a target height for seamless multi-tile joins
void rampEdges(float targetHeight, float rampWidth);
// Import/export heightmap (raw 16-bit grayscale, 129x129)
bool importHeightmap(const std::string& path, float heightScale);
bool exportHeightmap(const std::string& path, float heightScale);