What came next
What changed on 22 November 2026: the light of the next cube ready before you enter it, a trial with one probe per cube, and the direction for a world held by several servers.
1. The next cube is ready before you enter it
Reading the logs of the recordings frame by frame, we saw that the image froze for 1 to 7 seconds at each entry into a cube, on 21 November, on a laptop short of memory. At that moment, the client was creating two large textures for the new cube (320 MiB) and freeing those of the old one.
Now the textures are created only once: 6 layers, lent to the probes. Five go to the cube where the eyes are, the others to the centre of the next two cubes on the way, whose light is written in advance. A cube you have left keeps its layer: if you turn back, its light is there straight away.
The decoding work follows the walker too: first what is on the way, then the tiles being looked at, then what is beside. What is no longer useful is never decoded.
| Measure (3 recordings of each, alternating) | Before | After |
|---|---|---|
| Walking: delay before a cube is displayed after entering it | 0.21 to 0.49 s | 0 s (12 out of 12) |
| Running: same delay | 0.22 to 0.93 s; 2 cubes out of 4 never displayed | 0 s, except the cube whose corner is cut (0.17 to 0.49 s) |
| Walking: frames longer than 50 ms in 7 s | 55 to 57 | 8 to 27 |
| Running: longest frame | 283 to 486 ms | 63 to 184 ms |
| Difference from Cycles, standing still | 28.0 dB | 28.0 dB |
What is not proven. On the day of these measurements, the laptop had 16 GB of free memory, and the freezes of several seconds did not happen again, even with the old code. Their cause is given by their position in the logs of the 21st, not by a measurement with and without.
2. The measuring tool was wrong
The recordings are used to measure smoothness. They had three flaws, now fixed:
- About one frame in three was not counted. The 7-second recordings lasted 10 seconds and walked out of the baked cubes.
- The duration of a frame was capped at 250 ms: a 4-second freeze counted as 250 ms.
- Without a window, nothing paced the frames. The program sent them faster than the graphics card could draw them, then blocked for half a second. A recording is now paced like a window.
The consequence: the real frame time when standing still, with the 5 probes, is about 53 ms on the laptop's Iris Xe (19 frames per second), and not 12 to 25 ms as stated until then. While walking, with one probe per cube, it is 20 to 30 ms.
3. A trial: a single probe per cube
The idea: instead of 5 probes in the walker's cube, take the centre probe of each of the 9 cubes of the block. Each probe is baked once, with its own block made transparent, and serves the 9 blocks that contain its cube: five times less to bake, store and send.
A neighbouring probe sees through its own block, and therefore through what lies just beyond yours. The rule added: for each pixel, the nearest surface along the line of sight wins.
| Against Cycles, from the reference camera | 1 centre alone | 9 centres of the block | 5 probes of the cube |
|---|---|---|---|
| Whole image | 26.9 dB | 27.6 dB | 28.0 dB |
| Left facade, close to the block | 22.7 dB | 26.1 dB | 28.8 dB |
| Street in the distance | 29.9 dB | 30.8 dB | 30.8 dB |
| Time per frame, standing still | 23 ms | 95 ms | 57 ms |
The 8 neighbours add a lot, and nothing is seen twice or seen through. Some blur remains on what is very close to the block: the probe nearest the eye is 0.7 m away, the next one 2.3 m, whereas the cube's 5 probes are all within 1.5 m. Drawing is also slower, because the computation goes through 9 probes per pixel: only 3 or 4 will have to be kept. The centres of all the cubes of the street are being baked, to try this mode everywhere.
4. The direction: regions, and light that passes from one to the next
A probe is baked by looking at the whole scene. In a world held by several servers, none of them knows the whole scene. The idea chosen combines two tools:
- Near the player, probes, as today: the player's 9 m block in 3D, and the probes of the cubes around.
- Between regions, a light field on the edges: for each point of the edge and each direction, the light that goes out. This is the contract between servers: each one computes the light leaving its region with its own geometry and the light it received from its neighbours in the previous round.
- Fixed regions, about 81 m across, that overlap by the width of a cube or more. In that band, the physics is shared between the two servers, to pass from one to the other without a jolt.
An amusing consequence: light advances one region per round of computation. Its speed therefore depends on the power of the servers and on their link. What is far away is seen a little late, like the stars.
What remains to be solved. A light field without distance would need too much data to stay sharp far away: so the edge probes will keep the distance of what they see. And Cycles cannot take a light field as a light source: that read will have to be written for it, or done in our engine. Nothing in this part is built or measured.