Skip to content

TyraX 2.10.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 19:02
17f8cde
  • Batch grouping cell (Preferences > Static object batching). The width of the grid static batches are grouped in is now a project setting; auto keeps the cell every project used so far. A smaller cell merges fewer sparse props but leaves fewer batches crossing the edge of the screen, which cost the PS2 about 1.7 times a whole batch. Measured on a PS2: in a copy of the Vehicle Playground with a 129-crate field, 48 instead of 80 leaves 11 instead of 13.5 crossing batches a frame and takes 0.15-0.2 ms off draw submission; in the shipped Motor District it is neutral to slightly worse (p95 +0.2-0.5 ms), so the example keeps auto. See docs/static-batching.md, "The grouping cell".
  • Objects, static batches and road chunks that cross the edge of the screen cost the PS2 about 7 µs less each a frame (about 0.1 ms a frame in the Vehicle Playground crate-field drive). docs/stapip-bag-cost.md also measures what one draw costs the console, and why.

Full changelog