Skip to content

v0.3.1

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Jun 23:19

Patch release: a large performance fix for the Layout node.

  • Layout node rasterization is dramatically faster, fixing the sluggish Layout edit view (the 2D spline/shape canvas + 3D preview). Splines were rasterised by measuring every output pixel against every curve sample -- O(pixels x samples) -- and re-run on the UI thread on each edit, so adjusting a river could freeze the editor for a fraction of a second per change regardless of GPU.
    • Both rasterisers now skip pixels outside the shape's bounding box.
    • The spline band is stamped per polyline segment using exact point-to-segment distance, so cost scales with the band area instead of pixels x samples.
    • Measured ~13x faster at preview resolution (about 230 ms down to 17 ms for a typical multi-point river with symmetry).
  • This also speeds up exporting any map that uses spline-based features (rivers, streams, canyons, coastlines, the Layout node generally).