Hi everyone,
We’ve been building Tutelia, a browser app where you draw a floor plan in 2D and walk through it in 3D. The 3D side is three.js (r185, WebGLRenderer) all the way through.
You can try it without an account: https://tutelia.io/en/esempio
It’s our example house, a 17 × 12 m villa on two floors plus a basement. Open the plan, orbit the model or walk inside, on a computer or on a phone.
A few things that might interest this forum:
- Geometry from 2D. Walls are lines with a thickness. Every time the plan changes, the house is rebuilt from them: wall joins, door and window openings, curved walls, floor slabs, and stairs you can walk up and down.
- Real-time light only, nothing baked. The sun is placed for the chosen hour and season, with PCF shadows, GTAO and a LUT colour curve at the end of the chain. Exposure doesn’t adapt as you move: only the time of day changes it.
- Lamps without shader recompiles. Every lamp is a real light. They live in a fixed pool, and dimming one to zero just sets its intensity to 0: changing the number of active lights recompiles every material, and that once froze the walk for about two seconds halfway up a staircase.
- The pool reflects the house through a small cube camera (256 px per face) that renders one face per frame. Desktop only.
- A quality governor. Phones start on a light profile; computers start from the GPU name. One slow frame in ten (over 22 ms in a 2 s window) lowers the pixel ratio, which can recover; two heavy windows in a row (median over 22 ms) or one over 45 ms drop a quality level, and levels never go back up, so the image doesn’t flicker between them.
What we’d most like feedback on: the first-person controls (mouse, touch and keyboard), and anything in the lighting that still looks fake to you.
Thanks for looking!
The Tutelia team



