feat(tools): irregular strata and angular boulder blocks
Strata gain a dip, a slow seeded warp that bends and notches the beds, and a per-bed thickness and hardness jitter with ordered boundaries, so walls never invert. BoulderField gains an angularity parameter: elongated super-ellipse slabs with flat tops, sharp shoulders, random heading and tilt, footprint area preserved. Both sites are re-baked with the new settings; the coral heads stay rounded. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
34b39a8dbc
commit
61ef4a892d
15 files changed
+237
-46
No files matched your search
@@ -68,16 +68,17 @@ static func recipe() -> SiteTerrainBaker.Recipe:
|
||||
SiteTerrainBaker.Outcrop.new(EAST_BUTTE_CENTRE, 38.0, 75.0, 9.0, 8.0, 202, 5.0, true),
|
||||
SiteTerrainBaker.Canyon.new(PackedVector2Array(CREVASSE_PATH), CREVASSE_HALF_WIDTH_M, CREVASSE_DEPTH_M, 1.0, 203, 1.0, SonarMaterial.Value.SAND),
|
||||
|
||||
# SW — le Chaos: ninety boulders of 2-6 m radius plus six coral heads, on rippled sand.
|
||||
SiteTerrainBaker.BoulderField.new(BOULDER_FIELD_CENTRE, BOULDER_FIELD_RADIUS_M, 301, 90, 2.0, 6.0, 0.7),
|
||||
SiteTerrainBaker.BoulderField.new(Vector2(-100.0, 130.0), 40.0, 302, 6, 6.0, 9.0, 0.6),
|
||||
# SW — le Chaos: ninety angular blocks of 2-6 m radius plus six rounded coral heads,
|
||||
# on rippled sand.
|
||||
SiteTerrainBaker.BoulderField.new(BOULDER_FIELD_CENTRE, BOULDER_FIELD_RADIUS_M, 301, 90, 2.0, 6.0, 0.7, 0.85),
|
||||
SiteTerrainBaker.BoulderField.new(Vector2(-100.0, 130.0), 40.0, 302, 6, 6.0, 9.0, 0.6, 0.0),
|
||||
SiteTerrainBaker.Ripples.new(Vector2(1.0, 0.3), 3.5, 0.3, BOULDER_FIELD_CENTRE, 110.0),
|
||||
|
||||
# SE — les Éperons: two pitted rock spurs 7-8 m high framing a 20 m sand channel
|
||||
# littered with small blocks.
|
||||
SiteTerrainBaker.Outcrop.new(WEST_SPUR_CENTRE, 30.0, 60.0, 8.0, 5.0, 401, 7.0, true),
|
||||
SiteTerrainBaker.Outcrop.new(EAST_SPUR_CENTRE, 30.0, 55.0, 7.0, 5.0, 402, 7.0, true),
|
||||
SiteTerrainBaker.BoulderField.new(CHANNEL_CENTRE, 50.0, 403, 12, 1.5, 3.0, 0.8),
|
||||
SiteTerrainBaker.BoulderField.new(CHANNEL_CENTRE, 50.0, 403, 12, 1.5, 3.0, 0.8, 1.0),
|
||||
|
||||
# S — la Corniche: sinuous 22 m escarpment, then a 42 degree slope to the 80 m floor,
|
||||
# with rounded knolls on the slope.
|
||||
@@ -97,8 +98,13 @@ static func recipe() -> SiteTerrainBaker.Recipe:
|
||||
result.modifiers = [
|
||||
# Crumbly rock faces, smooth sand. Before the strata so the ledges stay flat.
|
||||
SiteTerrainBaker.SlopeRoughness.new(2028, 0.12, 0.7, 20.0, 40.0),
|
||||
# Strata on the north-west quarter only (mesa flanks and canyon walls): 4 m ledges.
|
||||
SiteTerrainBaker.Strata.new(4.0, 0.85, 30.0, 50.0, Rect2(-256.0, -256.0, 256.0, 256.0)),
|
||||
# Strata on the north-west quarter only (mesa flanks and canyon walls): beds of
|
||||
# about 4 m, dipping 1.3 degrees to the south-east, bent by 2.4 m of slow warp,
|
||||
# each bed with its own thickness and hardness.
|
||||
SiteTerrainBaker.Strata.new(
|
||||
4.0, 0.85, 30.0, 50.0, Rect2(-256.0, -256.0, 256.0, 256.0),
|
||||
Vector2(0.015, 0.018), 105, 2.4, 0.5
|
||||
),
|
||||
]
|
||||
return result
|
||||
|
||||
|
||||
Reference in new issue
Block a user