Painted Ladies: a procedural San Francisco street
I love living in San Francisco, and walking around admiring the beautiful houses is a constant source of inspiration. In an effort to brush up on my procedural modelling skills, but also to build agentic pipelines that actually work for me, I built a procedural generator for the city's painted Victorians, along with my own Houdini MCP to help me iterate.

Overview
The result is a Houdini digital asset that builds a three-storey Victorian from a seed, plus a street system that lays any number of them down a hill with sidewalks, driveways, trees and Muni wires.









Nine houses from nine seeds
The idea
Victorians look like they're all different, but they actually follow a lot of rules. Builders in the 1870s–1900s worked from pattern books: a narrow lot, a stack of bay windows, a door column, a cornice or gable on top, and a small set of ornaments applied in a set order. There are three main styles in SF:
- Italianate: flat roofline with a bracketed cornice, slanted bays, tall arched windows.
- Stick: squared bays, vertical trim boards, false fronts.
- Queen Anne: front gables, round towers and bays, fish-scale shingles, the most ornament.
That made it a good fit for a procedural tool, since there's a clear structure with lots of room for variation inside it. Before building anything I wrote the rules down in a design doc (a bay never floats without a corbel, a garage never sits under a bay, brackets line up with the structure below), and each stage of the tool enforces some of them.




My reference photos from walks around the city.
The tool
The house is a single HDA, victorian_house, with 96 parameters across nine tabs: House, Size, Bays, Windows, Entry & Stairs, Roof, Paint, Interior and Ornament. Every menu defaults to Auto, so the seed and the style decide. If you set a value yourself, it only overrides that one choice and everything else stays random.

How a house is built
Each stage is a VEX wrangle that reads the attributes from the stage before it and writes its own. That made each step easy to debug on its own, and I could add new stages without touching the earlier ones.
1. Layout: a rule table
building_params picks the lot width, depth and floor heights, then picks a layout from a small rule table. Each row in the table is a valid house (how many bays over the door, how many over the garage, which floor the door is on). Picking a whole row, instead of rolling each feature separately, means you never get something like a bay hanging over a garage door.
- Flat window
- Door
- Garage
- Bay window
- Stairs
2. Bays, openings and the entry
Bay windows (angled or round) are swept from a plan outline. Windows, doors and garages are cut out with Booleans and then dressed with casings, hoods (flat, pediment or arched), sills, jamb liners so the siding doesn't show inside the recess, and keystones. The stoop and porch are their own unit, with newels, balusters, flares and cheek walls.
Anything that needs to line up is built from the same numbers. For example, the wall cut for the front door and the door frame inside it both read the same opening attributes, so no mix of porch, stairs or bays can make them drift apart. Every box also goes through one shared function that bevels its edges by an Edge Bevel parameter, so every edge picks up a thin highlight. That small bevel does a lot to stop the trim looking CG.

3. Roof and cornice
The cornice is a moulding profile swept along the actual outline of the top floor, bays included, so it wraps around every curve. Gable houses get a full-width entablature first, which is how real SF Queen Annes deal with a triangle sitting over a round bay: the bays rise into a box, and the gable sits on top of the box.
Brackets were the most obvious repetition, so each house picks one of four bracket profiles (scroll, console, block, quarter-sweep) and one of four layouts (even, paired, corners, big and small), weighted by style.

4. Ornament
The carved ornament (vines, acanthus scrolls, garlands, corner sprays, sunbursts in the gable) grows from slot points that the roof and porch stages leave behind. A slot just says something like "a 3 m × 0.3 m frieze panel goes here, facing this way", and the ornament wrangle decides what to put there based on the house's style. Because of that split, I could add ornament late without reworking the roof.

5. Windows that look lived in
With black glass every house looked abandoned, so each window got a shallow room behind it, with walls in one of eight paint colours and a few furniture silhouettes (a sofa back, a bookshelf, a pendant lamp, a plant). In front of that hangs a window treatment: sheers, tied drapes, a half-drawn blind, closed drapes, or a plant on the sill. Each floor is treated as its own flat, since in SF they usually are, so one floor might have burgundy drapes and the one above cream sheers. Curtains are fitted to curved bay glass with a small least-squares curve per window, using only the glass facets that face the same way as the window.

Every face in a room (walls, furniture, the glowing shade of a floor lamp) shares the same room ID, and the paint stage works everything out from it: whether the room is lit, how bright, and whether the bulb leans orange incandescent or warm-white LED. That keeps each room looking like one space, and it's why about 3 in 4 rooms glow at night, each a slightly different colour, like a real street.

6. Paint and materials
Every face gets a paint role (body, trim, accent, pop, sash, door) from the groups the earlier stages wrote, then a colour from one of twelve palettes, or a custom one. The rules come from real restorations: trim is almost always cream, the pop colour only goes on small details, big brackets are usually trim or body colour, and the stair cheek walls carry the body colour down to the sidewalk.
The materials are MaterialX, fully procedural and in world space, with no UVs anywhere: clapboard siding with lap shadows, brick, fish-scale shingles, granite, marble and asphalt. A Python script generates them into a versioned .mtlx file, so changing a material just means regenerating it.

The street
One house on its own doesn't look like San Francisco, so the street system takes any row of houses and builds everything around them. It reads the houses' own geometry rather than hard-coded positions:
- The row steps down a 6% hill, each house set at the height of the ground under it, so the cornice line staggers.
- The sidewalk widens to fit the deepest stoop, in whole 1.5 m slabs.
- Driveways slope from each garage sill to a curb cut that's found from the garage doors.
- Trees, gardens, bins, lamp posts, hydrants and a Muni stop all place themselves and slide clear of stoops, driveways and each other.
- Overhead trolley wires, low-detail houses continuing the block, a hazy city below the crest, and Twin Peaks with Sutro Tower fill the background.
If you change one house's seed, its neighbours shift, the driveways move and the trees re-space.

Lighting and rendering
It's rendered in Karma (CPU) through Solaris, with four looks on one switch: sunny, golden hour, dusk and night. Golden hour is a low sun raking across the facades, so every moulding and bevel casts a shadow. Night took the most work. A physical sky doesn't actually go dark, and darkening the dome light darkens the whole street too. So for night I split them: a dim dome and a moon light the scene, and a navy gradient dome that only the camera can see (Karma render visibility primary) gives the sky. The room glow lives in the materials, so it behaves consistently across looks (washed out in the sun, carrying the picture at night). The street lamps only turn on for dusk and night, and there's a real light under each lamp head so it casts a pool on the sidewalk.



How I worked with AI on this
This project was me getting back into Houdini, and I built about half of the house HDA by hand. Early on I used Claude a lot like a senior TD I could ask anything: it answered VEX and Houdini questions, talked through how to structure stages with me, and helped me debug. The rules, the network and the design decisions were mine.
Once the base was in place, the slow part was the back-and-forth: pasting code in, cooking, taking screenshots, and explaining what looked wrong. So I built my own Houdini MCP server (more below) so the agent could work in the live scene directly. It could read the network, make small edits, render a preview and look at it, while I made the decisions.
A few things made this work well:
- The project keeps its own notes. The agent starts every session from scratch, so I kept a design-rules doc and a
CLAUDE.mdwith the file map, scene layout, conventions and every VEX pitfall I'd run into. A new session could pick up where the last one stopped. - Every edit the agent makes is backed up first, is one undo step, and never changes a value I've set by hand, so I never worried about losing work.
- The agent checks its own work. After a change it re-cooks the asset and the stage, checks real geometry values, and looks at a viewport capture or a quick render before saying something's fixed.
- I still review everything. Turning my notes into rules (bracket variety weighted by style, lamps tied to the lighting look, one light per room) was most of the design work.
Building my own Houdini MCP
I built it to learn how MCP works, and to speed up iterating on this scene. There are two parts: a small listener that runs inside my open Houdini session, and a server the agent connects to. Through it the agent can read the network, set parameters, cook and check for errors, take viewport captures and render a Karma preview it can look at, and I can watch every change happen in the viewport.
I added the guardrails I wanted for my own scene: every edit is backed up first and is a single undo step, every edit has a dry run, the agent can only write to the parts of the scene I allow, and its undo won't touch anything I changed by hand. The first live test actually found a bug in my scene: two Python LOPs were adding a step to Houdini's undo history every time they cooked.
It works on any scene, not just this one: houdini-mcp. I used it for the later detail passes and for the captures on this page, and the synthetic data work is next.
What's next
- Synthetic data: every window, door and bay is already labelled, so the generator can produce annotated training images.
- Gaussian splats and simulation: capture the street as a splat scene, then drop a robot into it.
Houdini 20.5 (Apprentice) · VEX · Python · Solaris / USD · Karma CPU · MaterialX
Rendered at 1280×720 under a non-commercial licence.












