Skip to content

Smooth lane boundaries

Smooth Boundary decides the geometry of a lane’s boundaries, not just how they’re drawn. On fits a smooth curve through the control points you clicked; Off connects those control points with straight segments. The canvas, image/video exports, map exports (OpenDRIVE / Lanelet2), and scenario playback (the road esmini actually drives on) all render the same curve — there is no separate “simulation shape” behind the picture.

A lane drawn with Smooth Boundary off (left, angular) and on (right, smooth).

Press N for the Lane tool. The right panel includes a SMOOTH BOUNDARY row with On and Off buttons:

Lane creation panel — SMOOTH BOUNDARY toggle highlighted

The current default is On. Switch it off before you start clicking the centerline, or change it later on an already-drawn lane (see below).

The two screenshots below were drawn with the same centerline. The only thing that changed is the toggle:

Smooth Boundary = OffSmooth Boundary = On
Angular curve drawn with smoothing offSmooth curve drawn with smoothing on

With the toggle off, each pair of centerline clicks becomes a straight boundary segment. With it on, the same centerline is fitted to a curve.

  • On for real-road curves — the boundary the vehicle actually follows during scenario playback should look like a road, not a polygon.
  • Off for parking lots, intersection interiors, or schematic diagrams where you want sharp corners.
  • Off for lanes you get from importing a map (OpenDRIVE, Lanelet2, OSM) — imported boundaries are already a dense point sequence, so smoothing only adds points without changing the shape.

You can flip the toggle at any time, including on lanes you already drew: select the lane and use the same SMOOTH BOUNDARY row in its Lane panel. The control points never change, so switching on and off is reversible as many times as you want — nothing is lost either way. A lane sharing a boundary with its neighbor applies the same setting to both sides, so the two lanes stay a single, consistent shape.

New lanes drawn with the Lane tool pick up whatever the default panel is currently set to.