Nuestra Finca
A small hillside farm, rebuilt in 3D from 17 phone photos and a few tape-measure numbers. There's a kitchen, a wooden house on posts and the covered bridge between them. Walk it, or fly over the roofs.
Getting around
Press H inside for this list. On a touchscreen: left-thumb stick to move, drag to look, double-tap to jump.
- W A S DWalk
- MouseLook around
- ShiftRun (or fly faster)
- SpaceJump (or rise, when flying)
- FSwitch walking and flying
- CSink down, when flying
- 1–8Jump to a place: kitchen, bridge, house, patio…
- LLamps on or off
How we built it
-
From photos to a plan
No drawings, just photos and measurements. We worked out where each photo was taken from. Then we adjusted the model until most corners and posts sit within about 30 cm of where the photos put them.
-
One table of numbers
A script generates everything from a single list of dimensions. When the house room turned out to be 4 by 4 meters, the fix was one number and a one-minute rebuild.
-
Light worked out in advance
Sunlight, lamps and soft shadows are calculated once in Blender and painted onto the surfaces. It runs at around 50–60 frames per second, even on basic laptop graphics.
-
Made to be played
Walls and railings stop you, stairs and the bridge can be climbed, and the picture adjusts its sharpness to keep motion smooth.
Credits
-
Blender
The model is built and its lighting calculated in Blender (opens in a new tab), driven entirely by script.
-
three.js and three-mesh-bvh
The walkthrough draws the model with three.js (opens in a new tab) and handles collisions with three-mesh-bvh (opens in a new tab), both under the MIT license.
This is our own experiment, not client work. The model is approximate: sizes come from photos and a few measurements, and the furniture is placed by eye.