garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/notes/vendored-big-space.md

raw


topic: vendored-big-space triggers: [crates/big_space, bevy_compat.rs, big_space, "Bevy bump", "bevy upgrade", "floating origin", ADR-019] updated: 2026-10-17

big_space is a vendored fork, advanced by hand on every Bevy bump

The floating-origin transform propagation (why big_space at all: the frozen docs/adr/019-planet-scale-floating-origin.md) comes from big_space 0.10.0, copied into crates/big_space because upstream tops out at Bevy 0.18 and has published nothing for 0.19 or 0.20. So there is nothing to upgrade to: each Bevy bump here is also a port of this crate, done in place.

What to re-sync when Bevy moves: src/bevy_compat.rs. It is Bevy's own simpler transform propagation (the variant without dirty-tree marking), copied in because Bevy's built-in propagation is disabled under big_space and entities outside a BigSpace still need theirs. A Bevy release that changes its propagation leaves this copy behind silently, so diff it against the new bevy_transform on every bump. The 0.20 move (53964fa5) touched it along with grid/propagation.rs and validation.rs.

What else about the copy is deliberate:

Profiling has never pointed at it: render-performance-survey.md, "big_space is not the bottleneck".