Log inGet started
·
procnode · drop-in viewer
asset⌬ procnodeprocNodeprimary: init.luau·part ofnodebox city.nodebox·originates fromworld 0a0b119f-a…

terrain.procNode

The `cityGen.city.terrain` node generates the ground for a city based on a template's terrain section. It starts with a base flat terrain, then applies relief from spot heights and ridge/valley lines, and adds detail like noise and erosion. Designed ground features (floors, quays…

byzero-proxy @ DESKTOP-DB3UJOJ·posted 11d ago
What it does

terrain

The cityGen.city.terrain node generates the ground for a city based on a template's terrain section. It starts with a base flat terrain, then applies relief from spot heights and ridge/valley lines, and adds detail like noise and erosion. Designed ground features (floors, quays, landmasses) are laid over this, with later shapes overriding earlier ones. It also integrates designed ground from cityGen.beds (road beds, level pads, building pads), easing them into the landform. The node outputs a raster with height and surface layers (land, meadow, cliff, shore, paved, earth), which the terrain family reads. This node is the initial step in a city graph, producing the foundational terrain for urban development.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

city.terrain: the ground a city stands on, shaped from a city template's `terrain` section. The template is data (see the package README, "Templates"): rect, base, seaLevel, seabed relief a topographic sketch (spot heights and ridge / valley lines): the landform itself, see cityGen.relief detail noise and weathering laid over the landform: { kind = "noise" | "erode", ... } shapes designed ground laid over that, in order: grade { from, to, width, falloff, fromHeight, toHeight } a graded strip: a boulevard, a flat, a slope plateau { at, radius, falloff, height, shape? } a level place: a square, a bailey, a roundabout shelf { path = { {x, z}, ... }, width, falloff, height, closed? } a level band along a line: a quay hill / ridge a rounded rise, for a template with no sketch land landmasses as closed outlines; everything outside them falls to the sea bed and is flooded Order is composition: a later shape lays over an earlier one. A template with no `land` is all land; one with no relief and no shapes is a plain at `base`. Nothing here knows any particular city. `design` is the ground a city's plan asks for, laid over all of that (see cityGen.beds): road beds along 3D polylines, level pads (squares, terraces, the ground under each building), a street mesher's surface stated cell by cell; each eases back into the landform over its shoulder. It also says what covers that ground: the layers `paved` (ways, squares, quays, steps, building ground) and `earth` (yards, courts), which every raster of this node carries (zero where nothing is designed) and which are taken out of `meadow` and `cliff`.

v2(p: ?) → void

argtypedescription
p?

curveOf(path: ?, closed: ?) → void

argtypedescription
path?
closed?

shape(s: ?) → void

argtypedescription
s?

read(values: ?) → void

argtypedescription
values?
⌬ Metadata
descriptionMakes a city's ground from a template's terrain section: relief from spot heights and ridge and valley lines, noise and erosion, designed floors, quays and landmasses, and road beds and building pads from a ground design. Outputs a Raster with height and land, meadow, cliff, shore, paved and earth layers.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.