Pricing

uScatter

Create a Hedge Along a Spline

Run a clipped hedge round a garden outline with the Spline Type, spaced and turned along the path, dropped onto uneven ground, with fence posts beside it.

The following workflow shows how to run a clipped hedge round a rectangular garden on uneven ground. It uses the Spline Type, which places instances along shapes: the Splines Rollout spaces and turns them, and Projection surfaces drop them onto the ground. It assumes you can create a field, as in Creating Your First Scatter.

Finished hedge - with fence posts every 60 units outside it
Finished hedge

The Scene

Start with uneven ground, the garden's outline and one hedge block:

  • Ground – for example a 1000 × 1000 Plane with 60 × 60 segments and a Noise modifier (Scale 250, Fractal on, Strength Z 60).
  • Garden – a 400 × 600 Rectangle with Corner Radius 40 at the origin. It lies flat at height 0, so parts of it are buried in the ground.
  • Hedge – a box off to the side, 24 long on its local Y axis, 10 wide and 25 high.

The block is longer along its local Y axis on purpose: an instance that follows a path points its Y axis along it.

Place the Hedge Along the Outline

  1. Create a uScatter object named Hedge field.
  2. In General, set Type to Spline. Splines appears, Surfaces is retitled Projection surfaces, and the stack entry reads uScatter Spline.
  3. Add Garden to Splines and Hedge to Objects. In Display, set Draw as to Mesh and Style to Full.

100 blocks spread evenly along the outline, because in Spline Count is per spline. They keep the line's height, so some float and some are buried, and they point every which way.

Count 100 - blocks along the outline at random headings
Count 100

Line the Blocks Up

Follow path XY, on by default, already turns each block along the path, but the Rotation group, also on by default, adds a random heading of up to 360 degrees on top.

  1. In Transform, untick Rotation. The blocks line up.
  2. In the Placement group of Splines, set Along path to By spacing and Spacing to 20. Blocks now sit every 20 units of path length and overlap into one continuous hedge. Count in General stays visible but is not used.
By spacing, Spacing 20 - a continuous hedge, still at the outline's height
By spacing, Spacing 20

Drop the Hedge Onto the Ground

  1. Add Ground to Projection surfaces. Every block drops vertically onto the ground, or rises to it where the outline is buried.
  2. The blocks now lean with the slope, because Normal influence is on in Transform. A clipped hedge stands upright, so untick it.
Projection surfaces - the hedge sitting upright on the uneven ground
Projection surfaces

Make It Look Grown

  1. In Splines, set Jitter % to 20 and Side offset to 3. Each block slides up to 20 % of its spacing along the path and up to 3 units sideways.
  2. In Transform, tick Scale, untick Uniform scale, and set Min and Max to 90 and 110 for X, 100 and 100 for Y, and 85 and 120 for Z. The blocks vary in thickness and height but keep their length, so the hedge has no gaps.
Jitter % 20, Side offset 3 - an uneven line and varying height
Jitter % 20, Side offset 3

Make Additional Changes

The hedge field stays procedural, so you can keep adjusting it. Try the following:

  • Add a line of fence posts 20 units outside the hedge. You need a thin post, Post, about 35 tall, and Fence line, a copy of Garden 40 units larger each way (440 × 640). Create a uScatter object named Posts with Type Spline, Fence line in Splines, Ground in Projection surfaces and Post in Objects. Set Along path to By spacing and Spacing to 60, untick Normal influence so the posts stand vertical, and set Display to Mesh › Full. Leave Rotation on: a post is round.