scout → previz
Setspace
A previz tool in the browser. From a phone scan of a hotel bar, through a measured 3D rebuild, to a camera plan the client can walk through.
Rooms 3
Cameras 2 bodies, real lenses
Steps 6, one new
01
Scan
A phone scan of every room, plus photos and a sun check.
Pillows Hotel, Amsterdam
Melted tree, smeared tables
02
Align & clean
Scans turned square, floors levelled, windows cut out and measured.
Every opening measured off these
terminalglb2room.py + winfix.py / real run
$ python3 kit/glb2room.py scans/VanOost_Zuid.glb data/zuid --rot 3 room-tex.glb 12.6 MB, clay 169738 triangles real 5.3 s $ python3 kit/winfix.py data/zuid --walls x0,x1,z0 windows 28, triangles removed 19008 of 377196 real 5.2 s
03
Clean build New
The room rebuilt from the scan: walls, openings, every chair placed by measure.
The two line up, chair for chair
terminalfurnscan.py + mkrebuild.py / real run
seat 55 # 0.33 to 0.58 m table 46 # 0.62 to 0.86 m bar 6 # 0.92 to 1.20 m, upward faces only real 6.8 s fitz 44 items 6 openings noord 31 items 18 openings zuid 82 items 29 openings real 0.1 s

The back bar is a black wall


04
Cameras & lenses
Real sensors and real focal lengths, so the frame matches the shoot.
Frame and spec bar follow the lens

template.htmlJS / field of view from the real sensor
raven: { sensor:[23.04, 10.80], fmt:'4.5K · 4608×2160' }
zr: { sensor:[35.9, 20.19], fmt:'FX 5.3K · 16:9' }
function camFov(id){
const s = CAMS[id], f = s.f;
return { h: 2*Math.atan(s.sensor[0]/(2*f)),
v: 2*Math.atan(s.sensor[1]/(2*f)) };
}
05
Sun & north
Light for the shoot date and hour, north checked on site.

Where north really is
Slider, azimuth and shadows move together
Light patches cross the floor
Window shadows turn with the day

06
Share & export
One private link. Stamped frames and a setup file come back.
Stamped with lens, format and sun
terminalgen.py + deploy / 17 Nov
$ python3 kit/gen.py project.json out built: out/pillows | rooms: fitz, noord, zuid real 0.17 s # scans encrypted, page written Uploaded 7 files (14 already uploaded) (4.51 sec) Deployment complete! # five deploys between 10:31 and 10:44, # each one a change asked for in the call
Where the machine was not allowed
- The rebuildFurniture, walls and windows placed from the scan's geometry and checked by eye against the photos. A generated room would look nicer and be half a metre off.
- The lensesField of view from the real sensor sizes and focal lengths, not a model's idea of "wide".
- The sunComputed for the shoot date and place. North checked on site with a sun path app.
- The contentAI wrote and changed the code and ran the pipeline. Nothing in the scene was generated.
The client changeda decision before the shoot,not on the day.
Rooms rebuilt3
Items placed by measure157
Change to live, fastest1 min
Counted from the build logs and deploy times. 13 to 17 Nov 2026, one location.