Appearance
Rock Region Select
Rock Region Select is the second tool of the procedural rocks. The Procedural Rock Brush decides where rocks go and what the whole layer looks like. Rock Region Select lets you pick part of a rock layer and then:
- turn that part into a region: an area of the layer with its own settings (taller, wider, sparser, a different colour, other slope rules, another arrangement);
- change the height, size or spacing of the rocks in that part directly in the 3D view, by dragging handles;
- pick stamps (the formations placed one by one with the brush's Stamp mode) to move, resize, turn, reshape or delete them.
You select with one of four shapes: Brush, Rectangle, Lasso or Formation. A selection is a set of 1 m ground cells of the current rock layer. It is only a working tool: it is not saved, and selecting is never an undo step. What you do with a selection (create a region, change a stamp, drag a handle) is saved with the map and can be undone.
Rock Region Select never moves or deletes single stones, and it never changes the terrain. Regions change the settings used to generate the rocks in their area, and the rocks there are then generated again.
Screenshots
No screenshot of Rock Region Select could be taken for this page. This machine has no Electron build of the editor (no electron binary in _editor/node_modules/electron and no dist/electron-app), and installing one was not allowed. A capture script is ready in manual/capture/rock-region-select.ts, but it has not been run yet. The image below is an earlier real capture (from capture/map.ts) of the Terrain tool group, which lists Rock Region Select. Everything else on this page comes from the editor's source code: the panel, the selection highlights and the 3D handles are described in words.
Where to find it
There are three ways to arm Rock Region Select.
From the toolbar
- Click the Map workspace button in the top bar.
- On the toolbar on the left of the 3D view, find the Terrain group. Click its small arrow ▸, or right-click the group button, to open the list of Terrain tools (see Tool groups).
- Click Rock Region Select (icon ⬚), the last entry of the list. Point to it to see its tooltip: "Brush, rectangle, lasso or formation; Ctrl: Subtract".

Real capture from an earlier run of the editor (capture/map.ts). The top bar of the current editor may look different; the Terrain list is the same.
After that, the Terrain group button shows the ⬚ icon, and clicking the group button itself arms Rock Region Select again (a group button arms the last tool you used from it).
From the rock panel (while the Procedural Rock Brush or Rock Region Select is armed)
- In the Tool section, click Rock Region Select. The selection shape stays the one you used last (Brush at first).
- In the Regions section, click one of the four shape buttons Brush, Rectangle, Lasso, Formation. This arms Rock Region Select and chooses that shape in one click.
- In the layer section, click Select All Formations. This selects every formation of the layer and arms Rock Region Select (see Select All Formations).
To go back to painting, click Stamp, Paint or Cliff in the Tool section: they arm the Procedural Rock Brush in that mode. The selection and the chosen region are kept when you switch between the two tools.
The panel
While Rock Region Select is armed, the Inspector shows the same panel as the Procedural Rock Brush (titled Procedural Rock Brush). Two things change:
- in the Tool section, the Rock Region Select button is highlighted, the Stamp / Paint / Cliff buttons are not, and the hint reads "Select part of the layer to give it its own parameters. Ctrl subtracts from the selection.";
- the Regions section, at the bottom of the panel, opens by itself (it closes again when you arm the brush). Everything this tool does is in that section.
All the other sections (layer, statistics, Brush, Stone Shape, Formation, Placement, Material, Collision, Stack Stability, Advanced) are the layer settings described in the Procedural Rock Brush chapter. They work the same here: a change applies to the whole layer, not to the selection.
Selecting some objects takes the Inspector over: a building, a spline, a gameplay object, an exterior boundary or prop, a placed prefab, an editor layer or group in the Hierarchy all have their own Inspector, which then replaces this panel. Rock Region Select stays armed. Select nothing to see the panel again.
How to stop using the tool
- Press Esc twice quickly (within 400 ms) to go to the Select tool.
- Or arm any other tool from the toolbar, or click Stamp, Paint or Cliff to go back to the brush.
The selection is not lost when you leave: it stays in memory for the rest of the session (see What is kept, saved and undone).
Before you start
| Requirement | What happens without it |
|---|---|
| The map has a terrain. | The toolbar entry is disabled with "Create a terrain first.", and the Rock Region Select and shape buttons in the panel are disabled. |
| The map has at least one rock layer. | The panel shows only "No procedural rock layers…" and Add Rock Layer: there is nothing to select. The tool is not armed: no ring, no highlight, and a left drag in the 3D view turns the camera as usual. Add a layer first (see Managing layers). |
| The chosen layer is Visible. | A hidden layer is never edited: no ring, no highlight, no handles, clicks do nothing, until you tick Visible again. |
| You are in the Map workspace and not in Preview. | The tool is not armed. |
| For the Formation shape, for Select All Formations and for useful handles: the layer has generated rocks in chunks that are ON (see the Chunks tab). | Formation picks and Select All Formations only see formations that are built in the editor. Brush, Rectangle and Lasso work on any ground, with or without rocks. |
Rock Region Select works on a locked terrain: it never changes the terrain.
Selecting does not need any rocks to exist: you can select bare ground and make a region there before painting it. The region then applies to whatever you paint or stamp there later.
Key ideas
The selection
- A selection belongs to one rock layer, the one chosen in Rock Layer. Choosing another layer clears the selection, the selected stamps and the chosen region.
- It is made of 1 m × 1 m ground cells (the same grid the brush paints on). A cell is selected when its centre is inside the shape you draw. The edge of a selection is therefore always a staircase of 1 m cells, whatever shape you use. Selected Area shows the number of selected cells, which is the area in m².
- Each gesture adds to the selection. Holding Ctrl when you press makes it subtract instead (see Subtracting). There is no "replace" gesture: to start a new selection, click Clear Selection first.
- It is drawn on the ground in orange (both while Rock Region Select is armed and while the brush is armed).
- It is editor state: not saved, not exported, not an undo step.
Selected stamps
Every time the selection changes, the stamps of the layer whose centre lies in a selected cell become the selected stamps (shown by Selected Stamps and the Selected Stamps subsection). A stamp whose rocks are inside the selection but whose centre is not is not selected. Painted rocks (from Paint and Cliff mode) are never "selected": they are changed through regions only.
Regions
A region is a saved part of the layer: an area (copied from a selection) with its own settings. Inside the area, the region's overrides replace or multiply the layer's settings when the rocks are generated. Outside, the layer's settings apply unchanged. Regions are saved with the map, exported with the layer (the rocks are baked with them), and every change to them is one undo step.
A region does not add or remove painted areas or stamps: it only changes how the rocks in its area are generated. The brush keeps painting and stamping the whole layer while a region is selected.
Region or raw selection: what the handles edit
The 3D handles (see The region handles) work on one target:
- the region chosen in the region list, if there is one; or
- the raw selection, when no region is chosen. The first handle drag then creates a region from the selection by itself.
The Regions section at a glance
From top to bottom:
- The shape buttons Brush, Rectangle, Lasso, Formation (the current shape is highlighted while Rock Region Select is armed), and the hint "Select with the chosen shape; Ctrl subtracts. Formation picks a whole formation under the pointer."
- Two read-outs: Selected Area (m²) and Selected Stamps (count).
- The buttons Create Region From Selection and Clear Selection.
- Messages: the empty-selection warning, or the handles hint (see Statuses and messages).
- Selected Stamps (only when the selection contains stamps): the fields of the stamp, New Shape, Delete Stamps.
- Regions: the list of the layer's regions, and the region editor of the chosen region (name, enabled, outline, priority, falloff, seed offset, area buttons, Overrides, Effective In Region, reset and delete buttons).
Hidden settings ("Show more")
Some parts of the Regions section appear only at Medium Inspector Complexity or above (File › Preferences… › General › Inspector Complexity; see The Inspector and Hidden settings in the brush chapter). A new install starts at Normal.
| Shown from | In the Regions section |
|---|---|
| Normal | the shape buttons and hint; Selected Area; Selected Stamps; Clear Selection; the warnings and hints; the Selected Stamps fields X, Z, Scale, Yaw (°), and New Shape, Delete Stamps |
| Medium | Create Region From Selection; the Seed of a selected stamp; the whole Regions block (the region list and the region editor with all its overrides) |
At Normal complexity, regions are out of sight
At Normal, Create Region From Selection, the region list and the region editor are hidden. The section then ends with Show more (2) (or (3) when exactly one stamp is selected): click it to show them without changing the preference. The 3D handles do not depend on the complexity: they appear at every level and can create regions by themselves, but you need Show more (or Medium) to see, rename or delete those regions. The Inspector footer reports the Regions block as modified when the layer has regions. These counts follow from the source and have not been seen in a real capture.
Selection shapes and gestures
Choose the shape with the four buttons at the top of the Regions section. The shape is editor state (not saved, no undo step) and is kept when you leave the tool and come back. All selection gestures use the left mouse button on the terrain; the press must land on drawn ground.
| Shape | Ring | Gesture | Selects |
|---|---|---|---|
| Brush | Yes, orange, size Radius | Click or drag | A disk of Radius around each pointer position |
| Rectangle | No | Drag from one corner to the opposite one | An axis-aligned rectangle on the ground |
| Lasso | No | Drag around the area | The closed outline you drew |
| Formation | Yes (it has no effect on the pick) | Click on a formation | That formation's footprint |
Brush
| Gesture | Result |
|---|---|
| Move the pointer | An orange ring of the size of Radius follows the pointer. |
| Click | Selects a full disk of Radius around the point. |
| Drag | Adds a disk at every pointer position along the path. The selection grows while you drag: the orange highlight, Selected Area and Selected Stamps update live. |
| Release | Ends the gesture. Nothing else happens (the disks were already added). |
| Ctrl + click | Removes one disk of Radius from the selection (see Subtracting). |
Details:
- Radius is the field of the Brush section of the panel (0.25 – 500 m, 10 m at first). It is shared with the other terrain brushes (Terrain Sculpt, the Procedural Rock Brush and the others use the same ring): changing it here changes their size too.
- The disk is always hard: every cell whose centre is within Radius is selected. Falloff and Strength of the Brush section have no effect on selecting.
- Disks are added at each pointer event, without filling the gaps in between. With a small Radius and a very fast drag, the selected path can show gaps. Drag more slowly, or with a larger Radius, for a continuous band.
Rectangle
| Gesture | Result |
|---|---|
| Press on the ground | The first corner. |
| Drag | A translucent pale-yellow rectangle follows the pointer, from the first corner to the pointer. The selection does not change yet. |
| Release | Every cell whose centre is inside the rectangle is added. The release point is the opposite corner. |
| Click without dragging | Selects nothing (the rectangle has no area). |
Details:
- The rectangle is aligned with the world X and Z axes, not with the screen. Seen from a turned camera, it can look like a diamond on screen. Look from above (or turn the camera so the grid lines up with the screen) for predictable rectangles.
- Only the two corners count. If the pointer leaves the terrain while you drag, the last point that was on the terrain is the corner.
Lasso
| Gesture | Result |
|---|---|
| Press on the ground | The first point of the outline. |
| Drag around the area | A pale-yellow line is drawn on the ground along the path. A new point is recorded each time the pointer has moved more than 0.5 m from the last one. |
| Release | The outline is closed with a straight line from the release point back to the first point, and every cell whose centre is inside is added. |
| Click, or a very short drag | Selects nothing (an outline needs at least 3 points). |
Details:
- "Inside" uses the even-odd rule. If your outline crosses itself, the parts that are wrapped twice are outside: a figure-eight selects both loops, but a loop drawn inside another loop leaves a hole.
- Points where the pointer was off the terrain are skipped.
Formation
| Gesture | Result |
|---|---|
| Click on (or right next to) a rock formation | Adds a disk covering that formation's footprint. |
| Ctrl + click on a formation | Removes that footprint from the selection. |
| Click on bare ground | Nothing. |
Details:
- The pick happens on release, at the release point. A formation is found when the point is within its footprint radius plus 0.5 m of its centre; if several are, the one whose centre is nearest wins. Only one formation is picked per click.
- The footprint is a disk around the formation's centre, of its horizontal radius (at least 0.5 m). A formation made wider by a region's Width × uses its wider footprint.
- Only formations that are built in the editor can be picked: on a hidden chunk (OFF in the Chunks tab) or while a chunk is still being rebuilt, there is nothing to pick.
- The orange ring is shown with this shape too, but its size plays no part in the pick.
- If the formation is a stamp, its centre is inside the footprint, so the stamp becomes a selected stamp. This is the easiest way to pick one stamp for the Selected Stamps fields.
Subtracting with Ctrl
Ctrl is read when you press the button: the whole gesture then removes cells instead of adding them.
| Shape | Ctrl + click (press and release without moving more than 4 px) | Ctrl + drag |
|---|---|---|
| Brush | Removes one disk of Radius. | Turns (orbits) the camera. Nothing is removed. |
| Formation | Removes the footprint of the formation under the pointer. | Turns the camera. |
| Rectangle | Removes nothing (a click has no area). | Turns the camera. |
| Lasso | Removes nothing (a click has no outline). | Turns the camera. |
The hints say "Ctrl subtracts", but a Ctrl drag turns the camera
In this editor version, a mouse drag that starts with Ctrl (or Alt) held belongs to the camera as soon as it moves 4 pixels; the tool never sees it. Only a Ctrl click reaches Rock Region Select. In practice:
- to cut a round part out of the selection, use Brush and Ctrl + click spot by spot (a larger Radius removes more per click);
- to drop one formation from the selection, use Formation and Ctrl + click it;
- there is no way to subtract a rectangle or a lasso outline. Click Clear Selection and select again instead.
Releasing Ctrl makes the next press add again.
Escape during a gesture
A single Esc while the button is still held abandons the gesture:
- Brush: the drag stops; the disks already added stay selected (they were added live).
- Rectangle and Lasso: the shape being drawn is dropped; the selection is as it was before the press.
- Formation: nothing is picked.
This follows from the source and has not been checked in a real run. Esc never clears the selection itself: use Clear Selection.
What you see in the 3D view
While Rock Region Select (or the Procedural Rock Brush) is armed on a visible layer, flat coloured cells are drawn just above the ground. They are editor display only: never part of the rocks, never exported.
| Overlay | Look | When |
|---|---|---|
| Current selection | Translucent orange cells | Whenever the layer has a selection, in both rock tools. |
| A region | Faint light-blue cells | Each region whose Show Outline is ticked. |
| The chosen region | Stronger blue cells | Always, even with Show Outline off. |
| Rectangle being dragged | Translucent pale-yellow rectangle | Only during a Rectangle drag. |
| Lasso being drawn | Pale-yellow line | Only during a Lasso drag. |
| Ring | Orange circle of Radius | Brush and Formation shapes. |
| Region handles | Amber cylinder with yellow, red and green handles | See The region handles. Only while Rock Region Select is armed. |
The selection and region highlights draw at most 40 000 cells each. A larger selection or region (more than about 4 hectares) is only partly drawn, but every cell of it is still selected and used: trust Selected Area, not the highlight.
Select All Formations
The Select All Formations button is in the layer section near the top of the panel (next to Regenerate and Clear Rocks). It:
- adds the footprint of every formation of the layer that is built in the editor to the current selection (formations on chunks that are OFF are not included);
- makes every stamp of the layer a selected stamp, wherever it is;
- arms Rock Region Select (the shape does not change).
Use it to give the whole rocky part of a layer a region of its own, or to reach all stamps at once (for New Shape or Delete Stamps).
Selected Stamps
This subsection appears under the read-outs as soon as the selection contains at least one stamp (title Selected Stamps).
- With several stamps selected, only the two buttons are shown.
- With exactly one stamp selected, its fields are shown above the buttons.
| Name | Control | Level | Range / units | Purpose and effects |
|---|---|---|---|---|
| X | Number field, step 0.5 | Normal | World metres, no limit | The stamp's centre along X. Typing a value moves the stamp: its formation is rebuilt at the new place. |
| Z | Number field, step 0.5 | Normal | World metres, no limit | The stamp's centre along Z. Same as X. |
| Scale | Number field, step 0.05 | Normal | 0.25 – 4 | The stamp's size, as a multiple of the layer's formation size. Values outside the range are held at the limit. It starts as the brush's Stamp Scale at the moment of the click. |
| Yaw (°) | Number field, step 5, placeholder auto | Normal | Degrees | The stamp's turn. Empty (auto) = a turn taken from its seed. Type a value to fix it; clear the field to go back to auto. Shown rounded to 0.1°. Tall Rock Column and Cliff Formation stamps on a slope (steeper than about 3°) ignore it: they always face out of the slope. |
| Seed | Number field, step 1 | Medium | Whole numbers 0 – 4 294 967 295 | The stamp's own seed: the shape of its formation. Decimals are cut off; a negative value wraps around to a large positive one. |
| New Shape | Button | Normal | – | Gives every selected stamp a new random seed: each formation gets a new shape at the same place and size. |
| Delete Stamps | Button | Normal | – | Deletes every selected stamp from the layer (one undo step). The selection itself stays; the selected stamps count goes to 0. |
Each field is applied when it loses focus or when you press Enter; text that is not a number is ignored (except in Yaw, where it means auto). Each change is one undo step. New Shape records one undo step per stamp: with five stamps selected, five Ctrl+Z take it back.
A stamp moved (X / Z) onto ground that its layer refuses (slope or altitude rules) is kept, but no formation is built for it there, as for any stamp. After you move a stamp out of the selection, it stays selected until the selection changes again.
Regions and the region editor
Everything in this part is shown from Medium complexity (or with Show more).
Creating a region
| Way | Result |
|---|---|
| Create Region From Selection | A new region with the selected cells as its area, named Region N (N = the number of regions the layer had, plus one), Falloff 2 m, Priority equal to the number of regions the layer already had (0 for the first), enabled, outline shown, no overrides. It becomes the chosen region and the selection is cleared. One undo step. Disabled while the selection is empty. |
| A drag on a region handle with no region chosen | The same, but named Height Region, Width Region or Spread Region after the handle, and already holding that handle's override. |
A new region with no overrides changes nothing yet: type overrides in the region editor, or drag a handle.
The region list
Under the title Regions. With no region: "No regions. Select an area and create one to override parameters locally."
Each row has:
| Part | Purpose |
|---|---|
| The region's name (a button) | Click to choose the region: its editor opens below, its area is drawn in stronger blue and the handles move to it. Click the chosen region's name again to un-choose it (the handles then go back to the raw selection, if there is one). The chosen row is highlighted. Not an undo step. |
| Pn badge | The region's Priority. |
| ▲ / ▼ (Move Up / Move Down) | Moves the region one place in the list (disabled at the top / bottom). The list order decides which region wins between equal priorities: the later one. One undo step. |
Region editor fields
Shown for the chosen region. Each change is one undo step and rebuilds the rocks the region can reach.
| Name | Control | Range / default | Purpose and effects |
|---|---|---|---|
| Region Name | Text field | Default Region N | The name in the list. Applied on focus loss or Enter. An empty name becomes Region. |
| Enabled | Checkbox | On | Off: the region has no effect on the rocks (its area and overrides are kept), and the handles are not shown for it. |
| Show Outline | Checkbox | On | Draws the region's area in light blue in the 3D view while a rock tool is armed. Display only: it never changes the rocks. The chosen region is always drawn. |
| Priority | Number field, step 1 | Whole numbers −1000 – 1000 | Order in which overlapping regions apply: lower first, higher last, so a higher priority wins where regions overlap. Decimals are rounded; values outside are held at the limit. |
| Falloff (m) | Number field, step 0.5 | 0 – 32 m, default 2 | How softly the region fades in at its edge. 0 = a hard border on the cell edge. With a falloff, the region's strength at a point is the share of its area within a disk of Falloff radius around that point, smoothed: about half strength on the edge of the area, full strength about Falloff metres inside, nothing about Falloff metres outside. The transition band is therefore about 2 × Falloff wide, centred on the edge. |
| Seed Offset | Number field, step 1 | Whole numbers, default 0 | Added to the layer's seed for the formations inside the region: a different arrangement and shapes there, with the same settings. Decimals are cut off. In the falloff band, formations switch one by one between the two seeds. |
| Add Selection | Button | – | Adds the current selection to the region's area. The selection is kept. Disabled while the selection is empty. One undo step. |
| Replace Area | Button | – | Replaces the region's whole area with the current selection. The selection is kept. Disabled while the selection is empty. One undo step. |
To shrink a region: select the part to keep (or select the whole region area again and subtract with Ctrl + clicks), then click Replace Area.
Overrides
Under the title Overrides, hint: "Unset values inherit the layer. Multipliers scale the value of the layer; the others replace it."
Each override row has a label, a number field and a ↺ button (Reset To Layer):
- while an override is not set, the field shows the value it inherits (multipliers show 1; the others show the layer's own value) and ↺ is disabled;
- typing a value sets the override: the row is highlighted and ↺ becomes active;
- ↺ removes the override, so the layer's value applies again. One undo step.
Typed values outside the range are held at the nearest limit; text that is not a number is ignored. The field step is 0.05 for all of them. Values are shown rounded to 3 decimals.
| Override | Kind | Range | Effect inside the region |
|---|---|---|---|
| Height × | Multiplier | 0.001 – 1000 | Stretches the finished formations vertically about their base: stones and formation get taller (or lower) without being re-packed or moved. No formation is stretched above 120 m or below 0.1 m. Also set by the height handle. |
| Width × | Multiplier | 0.001 – 1000 | Scales the finished formations horizontally (width and depth together) about their centre. No formation reaches farther than 128 m, or less than 0.05 m, from its centre. Also set by the width handles. |
| Spread × | Multiplier | 0 – 1000 | Spacing, not size: moves formations (and their stones) away from (> 1) or towards (< 1) the centre of the region's area, without resizing them. 0 gathers them all at the centre. No formation moves more than 128 m. Also set by the spread handles. |
| Depth × | Multiplier | 0.1 – 5 | Multiplies the layer's formation Depth (m) (stones are packed in the deeper envelope). |
| Density × | Multiplier | 0 – 5 | Multiplies the layer's Density (%) for painted formations; the result is capped at 100 %. For the cliff area it multiplies the painted coverage (the factor is capped at × 1.5). 0 removes all painted and cliff formations at the region's core; stamps are not affected. |
| Stone Count × | Multiplier | 0.1 – 5 | Multiplies Min Stones / Max Stones (never more than 48 stones per formation). |
| Clustering | Replaces | 0 – 1 | Replaces the formation Clustering (%). A fraction: 0.6 = 60 %. |
| Gap (m) | Replaces | 0 – 0.5 m | Replaces the formation Gap (m). |
| Overlap | Replaces | 0 – 0.5 | Replaces Overlap (%). A fraction: 0.2 = 20 %. |
| Verticality | Replaces | 0 – 1 | Replaces Verticality (%). A fraction. |
| Lean (°) | Replaces | 0 – 25° | Replaces the formation Lean (°). |
| Bevel Width | Replaces | 0 – 0.3 | Replaces the stone Bevel Width (%). A fraction: 0.08 = 8 %. Wherever it changes the value, the bevel actually built is rounded to steps of 0.02 (so 0.05 builds as 0.04 or 0.06). |
| Embedding (m) | Replaces | 0 – 5 m | Replaces Embedding (m). |
| Min Slope (°) | Replaces | 0 – 90° | Replaces the slope rule: formations stand only where the ground is at least this steep. |
| Max Slope (°) | Replaces | 0 – 90° | … and at most this steep. |
| Colour Tint | Colour picker, with ↺ | – (white when unset) | Multiplies the colour of the stones. White = no change. |
| Material Colour | Colour picker, with ↺ | – (shows the layer's Base Colour when unset) | Gives the region its own material: a copy of the layer's material (or of the region's material, if it already has one) with this base colour. |
| Material Textures | Drop-down with a clear (✕) button, placeholder None | The project's terrain layers | Shown only when the project has terrain layers. Gives the region its own material using that terrain layer's textures (see Material Paint). Clearing it does not remove the material override: it makes the region's material a plain Stylized Stone colour. To go back to the layer's material, click the ↺ of Material Colour. |
How overrides combine:
- Multipliers fade in across the falloff band (×1 outside, the full value at the core). Where several regions overlap, their multipliers multiply each other.
- Replacing values are blended from the layer's value to the override across the band. Where regions overlap, they apply in priority order, so the last one (highest priority, then lowest in the list) wins at full strength.
- Material and Seed Offset cannot be blended: across the band, each formation takes either the layer's or the region's, more often the region's the deeper it is inside.
- The region Material Colour and Material Textures share one override: ↺ next to Material Colour removes both.
Fractions, not percentages
The layer fields Clustering (%), Overlap (%), Verticality (%) and Bevel Width (%) are typed as percentages (60), but the same overrides in a region are fractions (0.6). Typing 60 in a region's Clustering is held at 1 (100 %).
If a handle drag stops at a safe size limit, a warning appears under the Overrides hint while the handle is held (see Statuses and messages).
Effective In Region
Under the title Effective In Region, hint: "At the region core, live while dragging. The layer values stay unchanged for the rest of the map." Read-only rows, worked out from the layer's values and the region's multipliers at full strength:
| Row | Computed as |
|---|---|
| Stone Height | Layer Min Height – Max Height × Height ×, in metres |
| Formation Height | Layer formation Height (m) × Height × |
| Stone Width | Layer Min Width – Max Width × Width × |
| Stone Depth | Layer Min Depth – Max Depth × Width × (the width multiplier scales both horizontal directions) |
| Formation Width | Layer formation Width (m) × Width × |
| Formation Depth | Layer formation Depth (m) × Depth × × Width × |
| Spacing | Spread ×, as a factor (for example 1.5x) |
While you drag a handle of this region, the rows follow the handle live. They show the region's own multipliers only: other overlapping regions are not included.
Reset and delete buttons
At the bottom of the region editor. Each is one undo step.
| Button | Enabled when | Result |
|---|---|---|
| Reset Height Override | Height × is set | Removes Height ×. |
| Reset Width Override | Width × is set | Removes Width ×. |
| Reset Spread Override | Spread × is set | Removes Spread ×. |
| Reset All Overrides | Always | Removes every override of the region (numbers, tint and material). Area, name, priority, falloff, seed offset and enabled are kept. |
| Delete Region (danger colour) | Always | Deletes the region at once, with no confirmation. The layer's settings apply again in its area; painted areas and stamps are untouched. Ctrl+Z brings it back. |
The region handles in the 3D view
While Rock Region Select is armed, a handle gizmo appears around the target:
- the chosen region, if it is enabled (a disabled region shows no handles); or
- the raw selection, if no region is chosen and the selection is not empty.
Nothing is shown while the brush is armed, while the layer is hidden, or when there is no target. The handles appear at every Inspector complexity.
What the gizmo looks like
- A translucent amber cylinder enclosing the target's area: centred on the middle of its bounding box, with a radius reaching its farthest cell, standing on the lowest ground under the area. Its top is at the top of the tallest formation the target affects (or the layer's formation height above the ground when no formation is built there yet), never less than 0.5 m high.
- Height handle (yellow vertical double arrow) on the top of the cylinder, with a label such as
Height: 1.75x (8.4 m). - Width handles (red cube and outward cone), a pair on a red ring left and right of the axis as seen from the camera, with a label such as
Width: 1.65x (4.2 m). - Spread handles (green radial double arrows), a pair on a green ring at the foot of the cylinder, in front of and behind the axis as seen from the camera, with a label such as
Spread: 1.20x.
A handle turns lighter when the pointer is over it, and orange while it is dragged. The handles keep about the same size on screen at any distance and are drawn on top of everything, so a handle behind a hill or a rock can still be seen and grabbed.
Using a handle
| Gesture | Result |
|---|---|
| Press the left button on a handle | The drag starts. The camera stops following the mouse; the press never reaches the selection or the ground. If handles overlap, the nearest one is taken. |
| Drag | The handle follows the pointer. The label, the matching override field and the Effective In Region rows (for a region) follow live, and the rocks the target can reach are rebuilt as a preview, the nearest ones first (collision only if Show Collision is on). |
| Release | One undo step. On a region: the override is set. On a raw selection: a new region named Height Region, Width Region or Spread Region is created with that override (falloff 2 m, priority = number of regions already in the layer), becomes the chosen region, and the selection is cleared. |
| Release without a change (less than 0.005) | Nothing is recorded and no region is created. |
| Esc while dragging | The drag is cancelled: the preview is put back and nothing is recorded. |
The drag also ends (as cancelled) if the target disappears under it (another layer, the region deleted or disabled, another tool) or the 3D view loses the pointer.
Multipliers are rounded to 0.01 (to 0.001 below 0.1), so the label, the field and the saved value agree. Each drag changes one override; the others are kept, so height, width and spread can all be set on one region.
Height handle
Drag up to make the rocks taller, down to make them lower. A drag of d metres moves the top of the tallest affected formation by d metres, from any camera angle (when you look straight down the axis, the screen movement is used instead). It sets Height ×.
The label shows the multiplier and, in metres, the height from the bottom of the cylinder to the new top. With no formation built in the area, the label shows the multiplier only.
Width handles
Drag a red handle outward to make the formations wider, inward to make them narrower. Width is a uniform horizontal scale: a drag of d metres outward grows the horizontal reach of the most far-reaching affected formation by d metres in every direction. It sets Width ×. The label shows the multiplier and the horizontal span (twice the reach) of that formation.
Spread handles
Drag a green handle outward to push the formations apart from the centre of the area, inward to pull them together. The handles sit on the ring where the edge of the area moves to; a drag of d metres outward moves that ring by d metres. Formations keep their size. It sets Spread ×. The label shows the multiplier only.
Limits of the handles
The handles are not bound by the override field ranges or by the current values. They stop only where the first affected formation would leave the safe sizes the generator keeps:
| Handle | Stops when a formation would be… |
|---|---|
| Height | taller than 120 m, or lower than 0.1 m |
| Width | reaching farther than 128 m from its centre, or less than 0.05 m |
| Spread | moved more than 128 m from where it was generated |
At a limit the label reads, for example, Height: 3.20x - limit 120 m, and (when a region is chosen and its editor is shown) a warning explains the limit under Overrides.
Handles and the panel fields edit the same values
Typing Height ×, Width × or Spread × in the region editor and dragging the handles are two ways to set the same override, with the same result. Use the fields for exact values, the handles to judge by eye.
Statuses and messages
| Where | Text | When |
|---|---|---|
| Toolbar tooltip | "Brush, rectangle, lasso or formation; Ctrl: Subtract" | Pointing at the toolbar entry. |
| Toolbar tooltip (entry disabled) | "Create a terrain first." | No terrain. |
| Tool hint | "Select part of the layer to give it its own parameters. Ctrl subtracts from the selection." | Rock Region Select armed. (About Ctrl, see Subtracting.) |
| Regions hint | "Select with the chosen shape; Ctrl subtracts. Formation picks a whole formation under the pointer." | Always, under the shape buttons. |
| Regions warning | "The selection is empty: select part of the layer before creating a region." | Rock Region Select armed and nothing selected. |
| Regions hint | "Drag the handles above, beside and around the selection to change its rocks' height, size or spacing. Releasing one creates a "Height Region", "Width Region" or "Spread Region"." | The handles are on a raw selection (no region chosen). |
| Region list | "No regions. Select an area and create one to override parameters locally." | The layer has no regions (Medium). |
| Handle label | Height: Nx (H m), Width: Nx (W m), Spread: Nx; or … - limit L m | On the handles in the 3D view. |
| Overrides warning | "Height limit reached: a formation cannot be taller than 120 m (the maximum formation height). The handle stops there." / "… cannot be lower than 0.1 m (the smallest stone size)…" | A height drag reached a limit. |
| Overrides warning | "Size limit reached: a formation cannot reach farther than 128 m from its centre (the terrain-update reach). The handles stop there." / "… less than 0.05 m from its centre (half the smallest stone size)…" | A width drag reached a limit. |
| Overrides warning | "Spread limit reached: a formation cannot move farther than 128 m from where it was generated (the terrain-update reach). The handles stop there." | A spread drag reached its limit. |
| Panel warning (layer section) | "Some formations reached the safe limits (height 120 m, reach 128 m, spread displacement 128 m): their region multipliers were limited." | After generation, a region's Height ×, Width × or Spread × was held at a limit for some formation. |
The overrides warnings appear only while the handle is held at the limit, and only when the chosen region's editor is shown (Medium). For a raw selection, the label is the only sign. The limits in the texts are the values from the source; the exact number formatting is not verified.
The other layer warnings (density, polygons, slopes, collision…) are described in the brush chapter's Statuses and messages.
Keyboard and mouse
| Input | Brush | Rectangle | Lasso | Formation | On a handle |
|---|---|---|---|---|---|
| Move the pointer | Orange ring | – | – | Orange ring | Handle highlights |
| Left click | Adds a disk | Nothing | Nothing | Adds the formation's footprint | – |
| Left drag | Adds disks along the path | Rectangle from corner to corner | Outline | Picks at the release point | Drags the handle; one undo step on release |
| Ctrl + click | Removes a disk | Nothing | Nothing | Removes the footprint | – |
| Ctrl + drag / Alt + drag | Camera orbit / pan | Camera orbit / pan | Camera orbit / pan | Camera orbit / pan | Camera orbit / pan |
| Mouse wheel, middle or right drag | Camera | Camera | Camera | Camera | Camera |
| Esc during a gesture | Stops; disks already added stay | Drops the rectangle | Drops the outline | Nothing picked | Cancels the drag |
| Esc Esc (within 400 ms) | Select tool | Select tool | Select tool | Select tool | – |
| Ctrl+Z / Ctrl+Y | Undo / redo the last region, stamp or layer change (never a selection) |
Rock Region Select has no key of its own to arm it, and no Shift variant. A left drag turns the camera when the tool is not armed (no layer, or the chosen layer is hidden). The Esc behaviours during a gesture follow from the source and have not been checked in a real run.
What is kept, saved and undone
- Editor state (not saved, not exported, no undo step): the selection, the selected stamps, the chosen region, the selection shape, Radius. The selection survives switching to the brush and back, and leaving the tool, for the rest of the session. It is cleared by Clear Selection, by choosing another rock layer, by Create Region From Selection, by a handle drag on a raw selection, and when the layer is deleted. Undo and redo never change it.
- One undo step each: creating a region, every region field or override change, Add Selection, Replace Area, ▲ / ▼, each reset button, Delete Region, each handle drag, each stamp field change, Delete Stamps, and each stamp re-seeded by New Shape. A change that changes nothing records nothing.
- Saved with the map (Ctrl+S): every region (name, enabled, outline, priority, falloff, seed offset, area, overrides) and every stamp, inside its rock layer.
- Exported: the rocks of layers with In Level on are baked with their regions applied (see Undo, saving and export in the brush chapter). Show Outline and the highlights are never exported.
- After an undo that removes the chosen region, nothing is chosen any more.
Typical tasks
The steps below follow from the source. How the results look on your terrain has not been checked in a real run.
Make the rocks in one valley taller
- Arm Terrain › Rock Region Select and choose the layer in Rock Layer.
- Click Lasso and drag around the valley floor. Release: the area turns orange.
- Grab the yellow handle on top of the amber cylinder and drag it up until the label shows the height you want. Release.
- A region named Height Region is created with that Height ×. To soften its border, open Show more in the Regions section (or use Medium complexity) and raise its Falloff (m), for example to 6.
Thin out and recolour rocks along a path
- Click Brush, set Radius to half the width of the band, and drag along the path.
- Click Show more if needed, then Create Region From Selection.
- In the region editor, type Density × 0.3 (fewer painted formations) and pick a darker Colour Tint.
- Rename it (Region Name: Path edge).
Give one area a different arrangement
- Select the area (any shape) and click Create Region From Selection.
- Type a Seed Offset, for example 1. The formations inside move to a new arrangement with the same settings; try other values until you like it.
Adjust one stamped landmark
- Click Formation and click the stamped formation. Selected Stamps shows 1 and the stamp's fields appear.
- Change Scale (for example 2), type a Yaw (°), or move it with X / Z.
- Click New Shape until you like its shape, or type a known Seed (Medium).
- To remove it, click Delete Stamps.
Delete all stamps of a layer
- Click Select All Formations (layer section).
- Click Delete Stamps. Painted rocks are not affected. One undo step.
Extend or redraw a region's area
- Choose the region in the list (its area turns stronger blue).
- Click Clear Selection, then select the extra part.
- Click Add Selection to enlarge the region, or Replace Area to make the selection its new area.
Allow rocks on steep ground in one place only
- Select the steep face and create a region.
- Type Max Slope (°) 90 (and Min Slope (°) 30 if the rocks should stay off the flat ground there).
- Paint that face with the brush (Paint or Cliff): only there do the region's slope rules apply.
Undo a region's changes without deleting it
- ↺ next to one override removes only that one.
- Reset Height / Width / Spread Override remove what the handles set.
- Reset All Overrides removes them all and keeps the area, ready for new overrides.
Common mistakes
- "Clicking does nothing, and the camera turns." The map has no rock layer, or the chosen layer is not Visible.
- "Ctrl + drag turns the camera instead of subtracting." A drag that starts with Ctrl held belongs to the camera. Use Ctrl + click with Brush or Formation (see Subtracting).
- "I cannot subtract a rectangle or a lasso." Not possible in this version. Click Clear Selection and select again, or cut with Ctrl + clicks of the Brush.
- "A click with Rectangle or Lasso selected nothing." Both need a drag. A Rectangle click has no area; a Lasso needs at least 3 points.
- "My new selection was added to the old one." Gestures always add. Click Clear Selection first.
- "The selection disappeared." You chose another layer in Rock Layer, created a region from it, or dragged a handle on it (which also creates a region). Selections are not undoable.
- "My lasso selected a ring with a hole." The outline crossed itself: the even-odd rule leaves doubly wrapped parts out.
- "The rectangle is not where I dragged it." It is aligned with the world axes, not the screen. Look from above.
- "Formation picks nothing." No formation is built there (bare ground, an OFF chunk, or the chunk is still rebuilding), or the click was more than 0.5 m outside every footprint.
- "I cannot find Create Region From Selection or the region list." They are Medium settings. Click Show more at the end of the Regions section, or raise Inspector Complexity.
- "The handles do not appear." The brush is armed instead of Rock Region Select; or the chosen region is disabled; or a region is chosen and you expected the handles on your selection: click the region's name again to un-choose it.
- "Dragging a handle created a region I did not want." On a raw selection, a handle drag creates Height / Width / Spread Region. Undo it, or delete it in the list.
- "A region override of 60 for Clustering did nothing sensible." Region Clustering, Overlap, Verticality and Bevel Width are fractions (0.6, 0.08…).
- "Clearing Material Textures did not restore the layer's look." Clearing makes the region a plain Stylized Stone material. Click the ↺ of Material Colour to remove the material override.
- "Density × did nothing to my stamps." Density only affects painted formations. Stamps are always one full formation.
- "New Shape needed five undos." It records one undo step per selected stamp.
- "Changing Radius here changed my sculpt brush." Radius is shared by all terrain brushes.
Related tools
- Procedural Rock Brush: paints, stamps and removes rocks, and holds every layer setting that regions override. Its Regions section is the same panel part described here.
- Map workspace: the toolbar and its tool groups.
- Material Paint: the terrain layers a region's Material Textures can use.
- Chunks tab: which chunks are built in the editor, and so which formations can be picked.
- Cliff Mesh Paint: imported rock models on steep ground, instead of generated stones.
Verification notes
This chapter was written from the editor source only: the toolbar catalog (map-tool-groups.catalog.ts), map-tool.ts (the rock.select tool), procedural-rock-selection.ts (shapes rasterized on the 1 m grid, centre rule, even-odd lasso, add / subtract), ProceduralRockBrushService (arming, the select gesture, live brush selection, commit of rectangle / lasso / formation, selected stamps, Select All Formations, the overlay colours and the 40 000-cell highlight limit), ProceduralRockToolStore (editor state, defaults, clearing rules), ProceduralRockHeightGizmoService, procedural-rock-height-gizmo.ts and babylon-rock-height-gizmo.ts (handle targets, frame, drag arithmetic, limits, labels, region promotion, Escape), the procedural-rock-inspector template and component (Regions section, Selected Stamps, region editor, overrides, Effective In Region, inspector levels), ProceduralRockCommandsService (undo entries, region creation defaults), procedural-rock-layer.ts (region and stamp clamping, override ranges, safety limits), procedural-rock-generation.ts (region weight and falloff, priority order, blending of multipliers / replacements / material / seed offset, spread), camera-modifier-override.ts and the editor's docs/editor-input.md (Ctrl + drag), map-workspace.ts and TerrainBrushService (Esc, the ring), the editor's docs/inspector-complexity.md, and the en-US texts. The following were not checked in a real run:
- what the panel, the orange / blue / yellow overlays and the handle gizmo look like (no screenshot was taken;
manual/capture/rock-region-select.tsis written but not run); - the exact Show more counts of the Regions section;
- the Esc behaviour in the middle of a selection gesture;
- the exact number formatting of the handle labels and limit warnings;
- how large selections and regions perform on a big map.