mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 09:03:52 +00:00
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:
parent
d56ea9ae64
commit
6277800773
3 changed files with 49 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue