Building node

city

Generate a whole city district: a (noise-warped) street grid with asphalt roads and dashed lane markings, raised sidewalks/curbs around each block, blocks subdivided into lots, and one procedural building per lot (see 'building'), tallest in the centre falling off towards the edges; some lots become parks, low buildings may get pitched roofs. Output prim attributes material (road, marking, sidewalk, grass, plus building materials), name ('roads', 'sidewalks', 'b12/facade', ...) and Cd. Detail attribs: buildings, lots. Default 360 m district builds in a few seconds.

Inputs

None: this node generates geometry from its parameters.

Parameters 19

sizevector 2
Default [360, 360]

City extent in X and Z (m).

block_sizevector 2
Default [80, 60]

Road grid spacing in X and Z (m, centre to centre).

warpfloat
Default 0.18Range 0 to 0.45

Organic distortion of the street grid as a fraction of block size (0 = Manhattan grid, 0.3 = old-town).

road_widthfloat
Default 12Range 2 to …

Carriageway width (m).

sidewalk_widthfloat
Default 3.5Range 0 to …

Sidewalk width on each side (m).

curb_heightfloat
Default 0.15Range 0 to …

Height of sidewalks/blocks above the road.

lot_sizefloat
Default 24Range 6 to …

Target lot width (m); blocks are subdivided into lots of about this size, one building each.

lot_gapfloat
Default 1.5Range 0 to …

Gap between neighbouring buildings (m).

max_floorsint
Default 26Range 1 to …

Floors of the tallest towers in the centre.

min_floorsint
Default 2Range 1 to …

Floors of the smallest buildings at the outskirts.

center_fallofffloat
Default 0.45Range 0.05 to …

How fast height falls off from the centre (fraction of the half-diagonal; smaller = tighter downtown).

height_variationfloat
Default 0.35Range 0 to 1

Random per-building height variation.

park_chancefloat
Default 0.06Range 0 to 1

Probability a lot becomes a grass park.

pitched_roof_chancefloat
Default 0.5Range 0 to 1

Probability that low buildings (<= 4 floors) with rectangular lots get gable/hip roofs.

detailmenu
Default lowOptions low medium high

Facade detail of the buildings (low keeps big cities light).

markingstoggle
Default on

Dashed white lane markings on road centre lines.

seedint
Default 0

Random seed (layout, heights, colours).

translatevector 3
Default [0, 0, 0]

Position of the generated asset

rotate_yfloat
Default 0

Rotation around Y in degrees

Use it

Add it from the node menu (right-click empty graph space or Tab, then type city), ask the AI for it by name, or add it with a graph op from the API or MCP:

{"op":"add","type":"city","name":"my_city","params":{},"inputs":[]}

Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.