The first version of Granite Pass had a suspiciously tidy mountain range. Repeating radial peaks gave it the silhouette of a collection of terrain brushes. Adding noise and a little weathering changed the surface, but the underlying arrangement still showed through. I rebuilt the connected ridges and foothills around a river valley, with Slateford and Alder Quay joined by roads below them.
The larger landscape exposed a more useful engineering problem: terrain size, the editor’s visible mesh and the physics world’s coordinates had become coupled. Making the world larger should not require keeping its entire detailed mesh resident, resampling the authored terrain or asking a car’s suspension to work in increasingly awkward coordinates.
Development scope: the new tiled terrain, node previews and origin shifts are working development-branch features. The previously accepted editor foundation remains separate. Connected drives and focused checks support the examples below; cumulative integration and the remaining device qualification are still open.
Keep the terrain; move the view
A height field describes samples at particular places. A viewport describes what happens to be useful to draw now. Treating those as the same allocation makes an innocent editor operation—show me more of the mountain—into a potential change to the source.
The new terrain master stores exact tiles by address. The editor can load a small window, and the runtime can prepare nearby terrain and collision without expanding one dense array to cover the whole world. Adding tiles preserves the existing samples and the placement of towns and roads. It changes the addressable extent, rather than stretching the old terrain across a larger rectangle.
For a simple one-dimensional explanation, let samples be spaced by metres and a tile contain intervals. An integer sample address can be decomposed as
Here is a tile coordinate and a local sample coordinate. The same construction applies to the other horizontal axis. Floor division matters on the negative side of the origin: truncating toward zero would assign some negative samples to the wrong tile. Border ownership and any duplicated edge samples also need a defined rule so neighbouring tiles agree.
This is an explanatory address model, not a serialization specification. Its useful property is that the integer address survives a change of view. A preview may be coarse, a collision job may need a halo, and the render mesh may select a different detail level; none of those choices gets to redefine the authored sample.
Geometry clipmaps are a valuable research reference for separating a large terrain from the smaller regions needed around a viewer. Their nested grids and transitions are a particular rendering method. OmiLith’s tiled archive and local editor window should not be read as a claim that this clipmap algorithm is implemented.
A large address is not a good local coordinate
Tiling solves storage and access. It does not, by itself, make a large floating-point position a good input to every physics or rendering calculation.
For ordinary binary32 values with 24 significant bits, the distance between adjacent representable numbers near a nonzero normal value is
If one coordinate unit is one metre, spacing near 10,000 metres is about 0.98 mm. Near one million metres it is 6.25 cm. These are representation spacings, not measured wheel-contact errors or universal engine limits. Arithmetic, transforms and solver tolerances introduce their own constraints. Subtracting the camera position after a large coordinate has already lost detail cannot recover the missing bits.
Goldberg’s floating-point tutorial gives the underlying representation and rounding model. One architectural response is higher precision; another is keeping sensitive calculations in a bounded local frame. Godot’s large-world documentation discusses that tradeoff and notes the additional multiplayer complexity of origin shifting. Those are background references, not evidence about OmiLith’s performance.
The developing runtime takes the local-frame route. In a simplified translation-only model,
where is a persistent world position, the frame origin and the local position, all expressed in metres. Moving the origin by requires
The represented place stays the same. Relative separations stay the same too: . A pure translation does not rotate or accelerate a body, so the velocity should not acquire an impulse merely because the coordinate frame changed.
Move the whole contract, including the network
Moving only the camera is insufficient when the authority, client, collision queries and nearby scenery disagree about where the origin is. The implementation work therefore joins terrain lookup, local physics and the network handoff. Focused engine checks preserved body motion and resting contact through a shift. The client rejects snapshots from the old frame and restarts interpolation in the new one. Active drivers currently share one authority frame; independent far-apart player frames remain outside this scope.
That last step is easy to underestimate. Interpolating two positions is meaningful only if they share a coordinate frame. An old local coordinate of 40 and a new local coordinate of −216 might describe the very same place after a 256-metre shift. Treating them as an ordinary movement segment would manufacture a journey the car never made.
# Conceptual ownership sequence; not the engine's API.
prepare required terrain and collision in the next local frame
at the authority's handoff boundary:
adopt the new origin with its frame identity
rebase owned bodies and nearby world representations
publish state identified with that frame
on the client:
reject snapshots belonging to an obsolete frame
adopt the new frame coherently
restart interpolation from valid new-frame state
The connected Drune checks crossed the former coordinate boundary and the old dense-terrain edge on the same streamed master, while the car kept contact. A separate ordinary drive left Slateford on the authored course. These test locations exercise previous boundaries; they are not claims that floating-point arithmetic suddenly fails at those distances, or that an arbitrarily large world is qualified.
The editor needs a small working set too
The terrain graph now has thumbnails on its node cards, enlarged inspection and an orbitable terrain viewer. Those views are useful because a downstream problem can begin several operators earlier: a flattened ridge, an unexpected mask or drainage computed from the wrong ground state.
Rebuilding every preview after every edit would make inspection fight authoring. Graph edits now target the changed node and its dependants, reusing unaffected results. In the reviewed Granite Pass example, 13 affected previews refreshed while 48 reused their previous results. Moving a card did not invalidate terrain data. These are cache-behaviour observations, not a timing benchmark.
The same distinction runs through the transactional terrain workflow: immutable source, prepared candidate and visible view have different jobs. A cached thumbnail is neither the terrain master nor permission to apply it. The repaired local Editor Play path also connects Granite Pass and returns to the saved edit scene on Stop.
What the checks establish
The broader terrain work now has complete native export/import examples and successful Windows record-and-replay checks for the native course and the recovered historical route. In those scoped same-executable checks, both replays matched recorded physics and retained the driving gates. That is a stronger result than the earlier exact replays that faithfully reproduced a car stuck against a tree. Determinism can be extremely committed to the wrong destination. Those replay results precede the newer origin-shift work and do not qualify it.
Mac and physical iPad clients also connected and accepted driving input on the production course. Those were bounded functional runs with retained device caches. They do not resolve the original iPad cold-start failure. Phone performance and final Xbox qualification remain open, and no new public game deployment follows from this journal update.
The next acceptance question is therefore broader than whether a big terrain can be displayed. The authored samples, local collision, network frame and editor document need to remain coherent as the working window moves—and the remaining devices still need their own evidence.
References & further reading
Research papers and official documentation relevant to this article.


