SpaceFold
Paper

SpaceFold

A 3D room from a single panorama

SpaceFold predicts the shape of the walls and furniture, including surfaces the camera could not see.

Tvis Visible geometry zvis Visible code z Room code T̂ Room geometry

E and D are the VAE encoder and decoder. F generates the room code.

Interactive demo

Explore the rooms

Choose a room and drag to turn it. Open the original panorama to see what the camera could see.

Drag to rotate

Choose a room

Panorama on the left, cutaway on the right

How SpaceFold works

A compact code for the whole room

The variational autoencoder (VAE) combines eight child features with each parent’s own surface-distance feature. Repeating this across scales gives a spatial code. The decoder predicts both a distance and whether to split each cell again.

See the encoder and decoder in detail
32³ × 162 MiB per room code

Results

Reconstruction starts with a 3D room and tests what survives compression. Generation starts with one panorama and tests how closely the inferred room matches the reference.

Results table

80 synthetic rooms.↑ Higher is better. ↓ Lower is better.

What do the scores mean?

Two armchairs side by side

Compare the curves of the chair backs and the thin legs underneath.

XCube
SpaceFold
Reference model

The room from a new viewpoint

When the camera moves, parts of the room come out from behind furniture. The surfaces SpaceFold predicts can reduce gaps in these views.

Look along the chair’s right arm. SpaceFold closes most of the crescent-shaped gap. The floral pattern still looks stretched.

How were these views made?

Both sides start with the same 3D Gaussians fitted to the visible parts of the panorama. The left image uses that set alone (DA2 + GS). The right image adds Gaussians on the hidden surfaces predicted by SpaceFold.

The panorama was photographed in a reading room.

Floral armchair · With SpaceFold geometry Floral armchair · Visible surfaces only
Visible surfaces onlyWith SpaceFold geometry
Slide to compare both methods from the same spot.

One parent at the bed edge

Two codes for the same bedroom

Compare matching horizontal slices. Move the slider to change their height together.

Code for visible surfaces
Predicted whole-room code

Each cell shows the RMS magnitude of its 16 values. Both slices use the same scale. Lighter cells have larger values.