← Bistro in cubes

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.

your cube next after next cubes left behind While walking: the 6 layers of the pool Standing still, your cube takes 5 layers (its 5 probes) and one is left for the cube you are looking at.

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)BeforeAfter
Walking: delay before a cube is displayed after entering it0.21 to 0.49 s0 s (12 out of 12)
Running: same delay0.22 to 0.93 s; 2 cubes out of 4 never displayed0 s, except the cube whose corner is cut (0.17 to 0.49 s)
Walking: frames longer than 50 ms in 7 s55 to 578 to 27
Running: longest frame283 to 486 ms63 to 184 ms
Difference from Cycles, standing still28.0 dB28.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:

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.

Today: 5 probes in your cube The trial: the centre of each of the 9 cubes Top view of the block of 9 cubes. In green, the cube where your eyes are.

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 camera1 centre alone9 centres of the block5 probes of the cube
Whole image26.9 dB27.6 dB28.0 dB
Left facade, close to the block22.7 dB26.1 dB28.8 dB
Street in the distance29.9 dB30.8 dB30.8 dB
Time per frame, standing still23 ms95 ms57 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:

region A region B overlap In orange, the edges: each server publishes there the light leaving its region. Arrows: the light computed in round t−1 by one is used by the other in round t.

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.