From a site visit to an interactive architectural study
A practical handoff for the Projeto team and its Claude or GPT assistant. The example is the former club in Espírito Santo do Pinhal. The same sequence works for a different building if you replace the photographs, recorded intentions, dimensions and design references. Start with one space that the owner knows well. A successful test should let that person recognize the place from the camera position alone.
1. Establish what each source can tell you
Keep the original phone files. Give the plans, walkthrough, voice memo and design references distinct names. Extract the audio from the walkthrough, transcribe it, and listen again around statements about entrances, room uses and retained features. Record who supplied a dimension and which drawing or timestamp supports it. A number in a message is a design input whose location you can check against a plan.
Use PDF text extraction to find labels, then rasterize each plan to see where those labels sit. On this project the first two sheets helped establish the courtyard and hall. A third sheet explored commercial subdivisions. Our walkable model explores the option that retains the rear hall. Floor heights and room arrangements remain assumptions. For a new project, keep a short ledger with a source, proposed interpretation and confidence for each decision that affects the route.
2. Pick camera positions before designing finishes
Export a contact sheet of the walkthrough using FFmpeg. Find a street view, a threshold, a courtyard view at eye height and one interior. Choose a sharp frame for each. A camera beside a veranda column tells you which way it leans, how the bench meets its base and how much of the shopfront disappears behind it. A view from above answers different questions about circulation and building depth.
For each position, write down three or four visible anchors. At Pinhal the front anchors were the paired wings, balconies, gate and central palms. The rear anchors were the long low wall, its small grilled openings, the roof behind it and the utility pole. Keep these anchors in both the image-editing prompt and the comparison sheet. If an illustration changes the number of windows, the photograph retains precedence for the existing building.
3. Use image editing to explore the proposed use
Pass the actual photograph to an image generator capable of reference-image editing. Describe the camera, what stays, what changes, the finish and one activity that explains the use. For the shop we kept the high ceiling, central louvered window, timber wainscot and herringbone floor. One version adds coffee and wine tasting. A second places flowers and ceramics on freestanding shelves. The two images can be compared because they answer the same question from the same position.
A style reference is most useful when translated into a design decision. At Pinhal we explored shops at ground level, suites above, planting along the lodging approach and a florist as one possible tenant. Keep the local club’s roof profile and street relationship in the prompt. For the rear entry we asked for an open gate beside the pole, preserving the existing roof behind the wall and leaving the entry itself open to the sky.
Generate individual views or split a storyboard into independently addressable images. Keep originals and concept proposals accessible from the same gallery. Use precise captions such as “proposed access” or “existing room”. Record assumptions that a persuasive image can conceal, especially the width of a stair, the position of a landing and what lies behind a wall.
4. Test what the video can reconstruct
Before reconstructing an entire property, try a short sequence in which the camera moves past a stationary object. Translation gives the views a baseline for estimating depth. Select sharp frames with overlapping features and inspect them for moving people and changes in exposure. This is the extraction command for our test, run in a folder containing the video.
mkdir -p frames
ffmpeg -ss 48 -i walk.mp4 -t 30 -vf fps=3 -q:v 2 frames/%04d.jpgThe Pinhal test extracted 90 frames. OpenCV SIFT found image features, descriptor matching proposed pairs, and RANSAC filtered matches that conflicted with a common camera motion. We estimated focal length, recovered a relative camera pose and triangulated points for candidate pairs. We dropped long triangles and triangles bridging abrupt changes in depth. A Blender Python script built the mesh, assigned texture coordinates from the source frame and exported a textured GLB. The selected pair covered roughly 46 percent of one image with 601 triangles. That percentage describes a view, not the floor area of the club. The fragment has relative scale and holes. It is available under Captura.
For another building, change the clip start, frame selection and camera calibration. Inspect from an oblique angle as well as from the source camera. For a larger multi-view survey, COLMAP is a candidate for camera recovery and dense reconstruction. The published Pinhal fragment was made with OpenCV and Blender. Scaling any survey to metres requires a reliable measured distance and an alignment check against further dimensions.
Download the actual capture scripts · COLMAP tutorial
5. Build the proposed architecture as editable geometry
In Three.js, use metres consistently for walls, openings, floor plates, furniture and the walking camera. Start with one bay. Compare a fixed eye-level camera to the real frame before multiplying the bay down a corridor. At Pinhal, the offset between a pier’s foot and capital, the curved bench and the open gap along the veranda mattered more for recognition than intricate distant furniture. Use separate meshes or material groups for elements that need independent revisions.
For vegetation, we brought reusable Kenney tree assets into Blender to normalize their scale and added finer fronds and leaves in the web scene. Check a trunk from a pedestrian’s viewpoint before populating the site. In the walkthrough, preserve passages between obstacles, set the camera at walking height, supply touch controls and offer named viewpoints. Keep the hypothetical restored scene and the video-derived fragment independently selectable.
Kenney Nature Kit · Three.js materials
6. Separate surface colour, roughness and relief
On the first pass, a crop containing dark joinery repeated over a wall. The error was obvious from the street even though the small texture swatch looked plausible. Inspect every swatch repeated over several metres. For individual features such as the crest or a door panel, mark four corners, rectify the perspective with OpenCV and apply the result to the corresponding face only.
For the veranda pilot we extracted fine tonal variation from a plaster photograph and a floor frame of the original hall. A blurred version of each sample estimates broad lighting; subtracting it retains finer variation. We keep only the fine pattern and choose a new colour for the restored finish. For paving, a staggered joint pattern sets brick size and joint position. A synthetic height field combines the joints with the fine surface variation. Local height gradients generate a normal map. A separate roughness map varies the response to light. The stone and plaster have their own colour, normal and roughness maps. These are estimated finishes with physical-scale mapping. No material scanner or Substance subscription was used for the pilot.
Colour maps use sRGB. Normal and roughness maps contain data and retain a linear data interpretation. Avoid baking a tree shadow into the base colour and then casting a second shadow over it. Keep the illumination and camera fixed during A/B testing. At normal walking distance, inspect the joints, column foot and the transition between materials. Check that the wall still reads as freshly painted from the far end of the court. For future surfaces with too little usable detail in the video, a licensed scanned material can supply grain while site evidence governs colour, pattern and scale.
7. Decide what to extend after the pilot
The pilot covers a single left-hand veranda bay, a pier, the bench and a patch of paving. Open Teste da varanda and switch the finish twice without moving. Then walk towards the pier and turn back into the light. If the Projeto team approves the effect, record which traits they liked. Extend the paving with the same bond and scale across the court, then the plaster along one wing. Evaluate the hall separately and make a dedicated herringbone material for the rooms. Keep the pilot as a comparison point until the adjoining surfaces have been checked on a phone.
A starter prompt for the next property
Use my site photographs, dimensioned plans and narrated walkthrough to propose a reversible adaptive reuse. Make an evidence table for one camera view. Choose one bay and name the visible details that identify it. Produce two reference-guided illustrations with the same camera and one variable between them. Build that bay in metres in Blender or Three.js, with separate finish groups. Where the video has overlap, test a short reconstruction and report its coverage and scale. Compare the source, the preferred illustration and the walkable model at eye level. Show me a finish toggle before applying changes across the property. Deliver the input list, assumptions, editable source, reproduction commands and a public test link.
The work can be split into roles in an assistant that supports skills: PDF and drawing inspection, media extraction, reference-based image editing, geometric reconstruction, material authoring, web integration and browser verification. Give each role a concrete output that the next one can inspect. Save the camera positions, image prompts, editable model and deployment files together. Verify the public page loads both the model and its textures after publication.