Osage · test world · 19 November 2026

Bistro in cubes

A street in Paris, the Bistro scene from Amazon Lumberyard, where you walk around on foot. Your machine draws in 3D the 9 cubes of 3 m around you, in ray tracing when its graphics card allows it. Everything else reaches you as light: the light that enters through the surface of this block, photographed in advance by Cycles, sent as AV1 video by the server according to your position and your speed. This page explains how it all works, step by step.

In brief

A photorealistic world is expensive to compute, and even more expensive to send in full. Here, the client receives neither the street nor its buildings: it receives the model of what is very close to it, and for everything else, the light that reaches it. That light was computed once and for all by Cycles, Blender's renderer, with the quality of a film. The client puts it back into perspective for the walker's eye, frame after frame.

from Cycles in raster (T3); 28.1 dB in ray tracing (T4)
28.5 dB
per 3 m cube, panoramas of 4096 × 2048; while walking, only the centre one is sent
5 probes
probes decoded per second while walking, instead of 9.3 with the first rule
1.4
while running, the centre of your gaze at full resolution: 16 tiles per cube
sharp

The result, next to Cycles

Same place, same direction: those of the scene's original camera. To the left of the handle, the client's image, computed in real time. To the right, the one from Cycles, in about one minute on an NVIDIA L4 graphics card, with 1024 samples per pixel. The buttons show the successive versions of the client, from the first to the latest.

The street rendered by Cycles: sharp facades, cobblestones, bollards, lanterns in the background The same view drawn by the Osage client
Today's client in T3, on the laptop's Iris Xe, standing still: the cube's 5 probes at half resolution, covered with all their tiles at full resolution.
from Cycles over the whole image (PSNR: the higher, the closer)
27.9 dB
on the left facade, beyond the block
28.7 dB
on the foreground cobblestones, inside the block
30.2 dB

As much as the whole probes (28.0 dB). When running, only the tiles at the centre of the gaze are decoded; the half resolution alone gives 26.6 dB, blurred on the facades and the sky.

The principle

The path of the light

  1. Once, in the cloudBakeFrom each cube, Cycles photographs the light that enters the block: 5 panoramas, with distance.
  2. OnceCompressionlight-pack encodes each panorama as three AV1 videos: the light, the distance, the sky. Once at half resolution, once as 128 tiles.
  3. At every stepServerparis-server follows the walker and chooses what it needs, according to its position and speed.
  4. At every stepClientThe paris program decodes the half resolution, then the tiles you are looking at, on separate threads; it draws the block in 3D and the outside on its faces.
  5. At every frameImageThe block is lit by the same light, in raster or in ray tracing. Then each pixel goes through the AgX curve (from the chemical formula of the silver salts of photographic film: Ag, silver; X, a halogen), read from a table that Blender computed once in advance: Blender does not run during the walk.
computed once, in advancecomputed during the walk

The block of 9 cubes

The street is cut into cubes 3 m on a side, aligned on a fixed grid. The cube where your eyes are and its 8 neighbours form your block: 9 × 9 m on the ground, 3 m high, in a single layer. All the pieces of the model whose box touches the block are shown, the others are hidden. When you move into a neighbouring cube, it becomes the centre and the block slides by one cube. The client keeps the previous block, with its light, until the light of the new one arrives.

The six faces of the block, seen from inside, are screens: on each one, the client draws what the eye would see beyond it, from the light received. What is inside the block hides them where it stands, just as a real bollard hides the street behind it.

facades facades P the block: 9 cubes of 3 m the walker's cube 5 probes eye face: the light coming in 3 m
Top view. The block (in green) and its faces (in orange). At the centre, the walker's cube and its 5 probes: one in the middle, four 75 cm to either side, towards the corners. The eye's ray leaves through a face and hits a facade at P. The probes saw P too: the client takes their light.
The view from the scene's camera, black except for the foreground cobblestones
The block alone, as the client draws it in 3D from the camera's position: a few metres of cobblestones. All the rest of the image at the top of the page comes from the light received.

Probes: the light coming in

A probe is a photograph of every direction at once: a panorama of 4096 × 2048 pixels, 360° wide and 180° high. For each pixel, it keeps two things: the light arriving from that direction, in high dynamic range, and the distance of what it sees. Without the distance, the client could only paste the photo far away; with it, the client knows where each thing is and can look at it from another point of view.

Each cube has 5 probes, all at eye height, 1.65 m above the ground: one at the centre of the cube, and four 75 cm to either side, towards the corners. At bake time, everything in the block more than 30 cm above the ground is made transparent to the probes. So they see through the block, as if the walker and the objects of the block were not there, since the client draws them itself. The ground stays, otherwise the probes would see under the street. But the block still casts its shadows and still bounces its light into the scene.

360-degree panorama of the street: curved cobblestones in the foreground, facades and sky all around
The centre probe of cube (8, 0, −21), at eye height, as it is sent over the network. The middle looks north, east is to the right. Of the block's bollards, made transparent from 30 cm up, only the foot remains.

Why inside the cube? The first attempt placed 30 probes on the surface of the block, 200° fisheyes looking outwards. But a probe on a face is one metre from the objects close to the block, whereas the eye stands 3 to 5 m further back: behind a bollard, a kerb or a window frame, it sees what none of those probes saw. The 5 probes taken inside the cube see the outside almost from the eye's angle.

The street twice: on the left, magenta areas along the bollards, the kerb and the window frames; on the right, almost none
In magenta, what the eye sees and no probe saw. With the 30 probes on the surface of the block: 3.8% of the image. With the cube's 5 probes: 0.04%, a hundred times less.

Probes, step by step

The probe is the central idea of the whole system. Here is what it is and how the client uses it, starting from scratch, one idea per diagram.

A probe sees in every direction

Imagine a camera placed at a fixed point in the street, at eye height, that photographs everything around it in one shot: in front, behind, the sides, the sky, the ground. That is a probe. Each direction looked at becomes one pixel of the photo.

the probe north facade south facade
Top view. Each dashed line is a direction; where it hits a facade, the probe records what it sees there. In reality there are 8 million directions, every which way, including up and down.

The sphere is unrolled into a rectangle

All these directions form a sphere around the probe. To make an image of it, you unroll it the way a globe is unrolled into a map: from left to right, you go around the horizon; from top to bottom, you go from the zenith to the ground. The image is 4096 pixels wide for the 360°, and 2048 high for the 180°.

NE SW SW NE S top of the image: the zenith bottom: the ground · middle line: the horizon
The four quarters of the horizon, from the probe towards the street, become four bands of the rectangle, north in the middle. This is why the probe's panorama, further up, shows curved cobblestones: the top and bottom of the image are stretched, like Greenland on a map of the world.

Each pixel keeps two things: light and distance

An ordinary photo keeps only the colour. A probe also keeps, for each pixel, how far away the thing seen is. And its colour is not capped at the screen's white: the sun on a window pane can be 40 times stronger than a wall in the shade, and the probe knows it.

1.65 m 7.2 m the sky window in the sun light: 2.3 × white distance: 7.2 m sky distance: none
Two pixels of the same probe. The first: a window, its light and its distance. The second: the sky, which has no distance; a separate mask marks those pixels.

Distance is what lets you see from somewhere else

Your eyes are almost never exactly where a probe is. To know what you see in a direction, the client advances step by step along your line of sight, and at each step it asks the probe: “in the direction of this point, at what distance did you see something?”. When the step reaches that distance, it has found the surface, and it takes the colour the probe saw there.

But a probe does not see everything: an object in front can hide from it what you can see. The client spots this, because the recorded distance is shorter than the distance to the point; it then takes another of the 5 probes. Turn your head with the slider.

facade your block lamp post AB your eye

Top view, 1 square of ground ≈ 30 cm. Solid green line: the probe saw the point. Dashed red line: it was hidden. The small dots: the client's steps along your line of sight, starting from the face of the block.

Why 5 probes per cube, at eye height

The closer a probe is to your eyes, the more it sees things from the same angle as you, and the fewer hidden corners there are. Hence 5 probes in each 3 m cube, 1.65 m above the ground, the centre and four others 75 cm towards the corners: wherever you are in the cube, one of them is less than a metre from you. With them, 0.04% of the image remains that no probe saw.

And while they are baked, the objects of the block, such as the bollards, are made transparent to them: the client draws them itself in 3D, so they must not appear a second time in the light from outside.

No probes, no sharpness: your two points

Probes are computed only for the “baked” cubes, and only 5 cubes are baked, in a corridor along the street. When you enter a cube without probes, the client falls back on the “surface tiles” of the very first attempt: fisheyes of 384 pixels placed on the faces of the block, much coarser.

7, −227, −217, −207, −197, −188, −228, −218, −208, −198, −189, −229, −219, −209, −199, −1810, −2210, −2110, −2010, −1910, −18 A B x = 27 m green: baked cube, 5 probes · grey: no probes · 1 square = 3 m
At A (26.8; −58.4), your eyes are in cube (8, −20), which is baked: sharp. At B (27.2; −58.0), 40 cm away, they have crossed the boundary x = 27 m and are in cube (9, −20), without probes: blurred, all at once.

Why such a gap? Take one metre of facade seen from 7 m. A probe gives it 93 pixels of width; a surface tile, 16. Here is the same window at both resolutions:

Probe: 93 pixels
Surface tile: 16 pixels

Decoding only what you look at

A probe arrives in two forms. First at half resolution, four times faster to decode: the client draws it straight away, a little blurred. Then cut into 128 tiles of 256 pixels, each decodable on its own: the client first decodes the ones at the centre of your gaze, and lays them over the half resolution. The faster you go, the fewer it decodes: when you run, your eye only looks at the centre.

Running: 16 tiles out of 128 Walking: 52 tiles The centre of each rectangle is where you are looking. Standing still, all 128 tiles are decoded.
The rectangle of a probe, as 16 × 8 tiles. In dark blue, the tiles decoded when running (less than 35° from the centre of your gaze); in light blue, when walking (less than 70°). The rest keeps the half resolution.

The bake

The probes are “baked”, that is, computed in advance, by Cycles, Blender's renderer. It follows the rays of light from bounce to bounce, as for a film. This computation runs on an NVIDIA L4 graphics card rented in Google's cloud, in Singapore. A script starts it, sends Blender, the scene and the code to it, then deletes it as soon as the work has been brought back.

AV1 compression

In floating-point numbers, a probe weighs 134 MiB. The light-pack tool turns it into small AV1 videos, a format that browsers and graphics cards can read, then decodes them to check what a client will get out of them. Each probe is stored twice: at half resolution (2048 × 1024), one image per file, which the client draws straight away; and at full resolution cut into 16 × 8 tiles of 256 pixels, one image per tile, each of which decodes on its own.

FileWhat it containsEncodingSize
colour.ivfthe light, in colourlogarithmic curve up to 64 times the white of the image, 10 bits, SVT-AV1 at quality 22≈ 124 KiB
depth.ivfthe distance, from 0 to 2,000 mlogarithmic curve, 12 bits, almost lossless: at worst 7 levels out of 4,096≈ 54 KiB
mask.ivfthe sky: where the probe sees nothinglossless≈ 10 KiB
The half resolutiondrawn straight away, enlarged≈ 190 KiB
tiles-*.ivfthe same three files, as 128 tileseach tile a key frame, light at quality 16≈ 490 KiB
meta.jsonwhere the probe stands, its tile gridtext< 1 KiB
One probe, both forms200 times smaller than in floats≈ 680 KiB

The logarithmic curve keeps the intensity with the colour: a street lamp or the sky stay much stronger than a wall in the shade. With 10 bits, it keeps about a hundred levels for each doubling of light. The distance is almost exact, because an error in distance moves objects: compressed lossily, it was off by up to 1.5 m at 10 m on the edges of objects, and the facades appeared double.

Why quality 16 for the tiles and 22 for the rest? A tile that decodes on its own gets no help from its neighbours: at the same quality, it came back a quarter further from the original (5.1% difference instead of 4.1%). At 16, it comes back just as close, for 6% more bytes.

The server: only what is needed

The paris-server program does two things. First, it is the world server: it receives each walker's walking intentions (go forward, turn, run), makes the walker walk on the grid of the street, cells of 25 cm where one can stand, and decides where the walker is. Alongside, it is a light server: it keeps the probes on its disk and answers a single question, “what does this walker need?”.

  1. The way. Based on the position and speed the server knows, not on what the client claims: the cubes the walker will cross within 2 seconds going straight ahead, to within 1 m on either side, its own first. Plus the 4 cubes beside its own, where it could turn.
  2. Centres only. From each of these cubes, only the centre probe is sent: with it, the client can already draw the cube. Standing still, the 4 other probes of its own cube are sent too.
  3. The sending order. First the half resolutions of the centres, which decode quickly. Then the surface tiles of the cubes that have no probes. Then the centres as tiles, at full resolution. Standing still, the other probes of the cube, half resolutions first.
  4. The sending. Four times a second, the client asks for /need; then it fetches each probe it is missing from /h/KEY/…: colour.ivf, depth.ivf, mask.ivf for a half resolution, tiles-colour.ivf and its two neighbours for the tiles, and meta.json. What it has already received does not come again.

The first rule sent the 5 probes of every cube within a radius: baked over the whole street, it would have required 9.3 probes per second while walking, fifteen of the laptop's cores to decode them. This one requires 1.4. The map below applies it to the real grid of the street. Move the walker, change its speed, and watch what is sent.

  • Your block: the 9 cubes the client draws in 3D
  • Cubes on your way within 2 s, and the 4 around yours: their centre probe is sent
  • The probes that are sent; standing still, the 5 of your cube
  • Cubes baked today
  • Your way within 2 s
Speed
Position (m)
–
Cube
–
Way
–
Cubes served
–
Probes received
–
Data received
–

The way follows the walker's direction. The map behaves as if the whole street were baked. In reality, only the 5 outlined cubes are; elsewhere, the server sends the surface tiles of the first attempt, where they exist.

The client

The paris client is written in Rust with the Bevy engine, on Osage's renderer. So that the image never stops, everything slow is done on the side, on separate threads:

Tiles, according to your gaze

A view reads at most a quarter of a panorama, and its central third barely a tenth. So the client decodes the tiles at full resolution starting from the centre of the screen, four at a time, and writes each one over the half resolution, in its place, never before it. How many depends on the pace:

PaceTiles decodedWhat you see
Running, more than 2.5 m/sless than 35° from the centre of the gaze: about fifteen per cubethe centre sharp, the edges blurred, like a runner's eye
Walkingless than 70°: the whole screen, and a marginthe whole view sharp
Standing still, less than 0.5 m/sall of them, the 128 of each of the 5 probesall around, sharp

Then come the tiles of the centre of the next cube on the way. Those of the cubes left behind are forgotten. Standing still, all the tiles give back 27.9 dB against Cycles, as much as the whole probes (28.0); the half resolution alone gives 26.6 dB, blurred on the facades and the sky.

Offline, with --offline, the client takes the light from the street's folder and decides by itself, with the same rule as the server, what it needs.

Drawing the outside

For each pixel of a face of the block, the client extends the eye's ray beyond the face and looks, in the probes, for what it meets. It is a march along the ray:

  1. Longer and longer steps. 64 steps, from 1 cm to 500 m. At each step, the client projects the point into each probe and compares its distance with the one the probe saw in that direction.
  2. The exact point. As soon as the ray passes behind what a probe saw, it has crossed a surface. The client cuts the last step in two, eight times in a row, to find where.
  3. The right probes. A probe only counts if it saw that very point, and not a closer object that hides it. Each one weighs more the more its view of the point resembles the eye's.
  4. The holes. If no probe saw the point, the client takes what a probe saw just beside it and behind the object that hides it, rather than stretching that object.
eye probes P facade block top face
Section of the block. The eye's ray (solid line) leaves through the top face, then advances in longer and longer steps (dots). At P, it passes behind the facade that the probes saw at that distance (blue dashes): P takes their light.

The faces are drawn after everything else, once the image of the block is done. In ray tracing, the filter that smooths the grain of the rays therefore leaves them intact: it blurred them when they went through with the block.

Lighting the block: T3 and T4

The block must be lit by the same light as the light coming in, otherwise the foreground cobblestones would not match the street drawn on the faces. Osage has four rendering levels, T1 to T4, depending on the machine. This world uses two of them.

T3: in raster, on any computer

The centre probe of your cube becomes the camera's environment light: what arrives from each direction lights the surfaces of the block that face it, in diffuse and in reflections. Bevy's ambient occlusion is removed: added to a light already shadowed by the street, it darkened the cobblestones by a quarter. The cobblestones come out at 0.99 of Cycles' brightness.

T4: in ray tracing, on a card that traces rays

With a card able to trace rays (an NVIDIA RTX, or the L4 rented for these trials), Solari, Bevy's ray tracing, follows for each pixel of the block rays of light that bounce off its surfaces: contact shadows between the cobblestones, light bounced back by a kerb. Two rules tie it to the light coming in:

dome: the light that came in, direction by direction radius 40 m (not to scale) clipped block traced
In ray tracing (T4), a ray that starts from a cobblestone and leaves the block hits the dome and takes the light the probe saw arriving from that direction. The building that enters the block is traced only for its inner part; the rest, the probe saw as Cycles lights it.

The result: the traced cobblestones go from 0.71 to 0.88 of Cycles' brightness, with no hand-tuned lamp, and the image from 27.3 to 28.1 dB. About 11% remains on the cobblestones, the same across the whole width. It is not the filter, which if anything brightens the image. Solari's reference path tracer, which averages a thousand samples per pixel without reusing anything, settled the question: under the same dome, it gives cobblestones at 0.95 of T3. So about 8 points come from Solari's real-time estimator, which reuses its rays from one pixel and one frame to the next, and 4 to 5 from the model: the surfaces lit ray by ray, the dome seen from the centre of the cube, the shadows of the block.

The final image

The light of the probes is a radiance: 1 is the white of a Cycles image on a sunny day. The client converts it to luminance, about 39,000 cd/m² for that white, under the sunny-day exposure that Osage keeps everywhere. Then it passes it through the AgX curve, which chooses the level from 0 to 255 that the screen lights for each light, the same one Blender uses to show Cycles' images.

Bevy has its own AgX, but not the same one: it brightens the midtones by a fifth. So the client reads a table of Blender's AgX, 64 × 64 × 64 colours produced by Blender itself, faithful to 53.9 dB, stored where Bevy reads its “Blender Filmic” table.

The measurements

Each version was measured against the Cycles image, from the scene's camera, in PSNR: the average difference between the two images, in decibels. Above 30 dB, the differences can hardly be seen any more. Brightness is compared area by area.

VersionImageBlock cobblestonesWhat changed
First attempt19.5 dB—surface tiles of 384 px, coarse march, Bevy's AgX, SSAO
Fixed22.3 dB—exact march, almost exact distance, Blender's AgX, no SSAO
2048 px tiles26.2 dB—tiles baked on the L4, holes filled
Probes in the cube (T3)28.5 dB× 0.995 probes at eye height; holes: 3.8% → 0.04%
Ray tracing, lamps (T4)27.3 dB× 0.71the faces as lamps, tuned by hand
Ray tracing, dome (T4)28.1 dB× 0.88dome of the light that came in, traced scene clipped to the block
Lighter probes (T3)28.0 dB—light at quality 22 instead of 10: 2.3 times fewer bytes
Tiles according to the gaze (T3)27.9 dB—standing still, all the tiles; 26.6 dB for the half resolution alone

For comparison: the same street drawn entirely by the client, in raster and without incoming light, only reaches 13.7 dB. Lit by a single environment light, its facades come out up to 1.9 times too bright. The incoming light brings the light of Cycles itself, which raster cannot reproduce.

The walk

Seven seconds of walking online, from the scene's camera. The server moves the walker and sends it, based on its position and speed, the light of the cubes on its way, the centre probe of each cube first. The client keeps the block it is leaving until the light of the next one is decoded.

Recorded with the first sending rule: 194 sends, 16.9 MB in 7 s, 52 ms per frame on average on the laptop's Iris Xe. With today's rule, the same route receives 9.8 MB and the median frame takes 17 to 24 ms. One frame in three recorded.
The same walk in ray tracing (T4), recorded on the rented NVIDIA L4 card, offline: the light is read from the street's folder with the same rule as the server. The block is traced by Solari under the dome of the light that came in, in 19.8 ms per frame while the probes are being decoded.

Sizes, bitrate and costs

WhatHow muchDetail
One probe≈ 680 KiB190 at half resolution, 490 as tiles
One cube≈ 3.4 MB5 probes
The whole street≈ 0.9 GB256 cubes: this is the space to plan for on the server's disk
While walking≈ 1.4 probes/sthe centres on the way; 9.8 MB over the five baked cubes
Decoding0.17 s · 8 msa half resolution · a tile, on the laptop's processor (Intel Core i5, 10 cores); a whole probe 0.57 s
One frame in T312–25 msthe laptop's Iris Xe; median 17–25 ms while walking or running
One frame in T4≈ 10 msNVIDIA L4 card
Baking one cube≈ 8 min128 samples on an L4, about €1 per hour
Baking the whole street≈ 21 h, ≈ €20at 64 samples; not needed for this test world

Spent on these trials on the rented L4 card: about €5.3 of the €5.5 cap. Last updated: 21 November 2026, tiles according to the gaze (D-141).

What was fixed along the way

The first attempt was blurred and distorted. Measured area by area against Cycles, the difference had several causes, each with its fix.

Two close-ups of the left facade: on the left a window and a sign drawn twice, on the right only once
The left facade, before and after the exact march. Before, the window frame, its sill and the round sign are drawn twice, offset; after, only once, in their place.

Limits and next steps

Glossary

Cube
A cell of 3 × 3 × 3 m in a fixed grid laid over the street.
Block
The walker's cube and its 8 neighbours: the part of the world drawn in 3D.
Probe
A panorama of every direction, with the light and the distance of each pixel.
Surface tile
A probe from the first attempt, placed on the surface of the block, looking outwards as a fisheye.
Tile of a probe
One of the 128 squares of 256 pixels of a probe, which decodes on its own; the client decodes the ones you are looking at.
Half resolution
The probe at 2048 × 1024, four times faster to decode, drawn while waiting for the tiles.
Bake
The computation of the light in advance, by Cycles, in the cloud.
Cycles
Blender's renderer, which follows light bounce after bounce. It serves as the ground truth.
AV1
A recent, compact video format that browsers and graphics cards can read.
PSNR
The average difference between two images, in decibels: the higher it is, the more alike they are.
AgX
The rule that chooses, for each light in the scene, the level from 0 to 255 that the screen lights, keeping nuances from shade to sun. Explained in detail.
T3, T4
Osage rendering levels: T3 in raster, on any computer; T4 in ray tracing.
Solari
The real-time ray tracing of the Bevy engine.
ReSTIR
A Solari method that reuses the best rays from one pixel to the next and from one frame to the next.
Dome
The sphere that, in T4, radiates the light that came in around the block.