placeforge-landmark
ASecurityRebuild any real place or landmark in 3D from reference photos, a map pin and a radius - a photoreal Blender (Cycles) scene on real OpenStreetMap data (streets, footprints, water, coast, railways, parks, trees), with the landmark modelled from the photos, improved by a recursive render-compare-fix loop until it matches the photo. Outputs stills, a film of any length (day, sunset, night, moving traffic and people) and an interactive Three.js page (Blender to Three.js). Renders on the user's ow...
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added December 5, 2026
Works with
Security analysis
100/100Pro scans all 19 files and shows the line behind each finding
npx -y skills add bishrulhaq/placeforge-landmark --agent claude-codeAre you the author of placeforge-landmark?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bishrulhaq-placeforge-landmark)---
name: placeforge-landmark
description: Rebuild any real place or landmark in 3D from reference photos, a map pin and a radius - a photoreal Blender (Cycles) scene on real OpenStreetMap data (streets, footprints, water, coast, railways, parks, trees), with the landmark modelled from the photos, improved by a recursive render-compare-fix loop until it matches the photo. Outputs stills, a film of any length (day, sunset, night, moving traffic and people) and an interactive Three.js page (Blender to Three.js). Renders on the user's own GPU or CPU, on a rented Vast.ai GPU, or on any SSH machine, with keys in a .env file. Use when the user asks to recreate, rebuild or model a real place, landmark, building, tower, monument, neighbourhood or city view in 3D or Blender, wants a render "like this photo", a 3D map or digital twin of a location, a flythrough or drone-style film of a place, a web 3D viewer of a place, or wants to render Blender on a rented GPU. Worked example - the Lotus Tower, Colombo.
---
# placeforge-landmark
Photos + a map pin + a radius in; a 3D place out. Three things are produced from one scene description:
1. **Stills** in Blender Cycles, matched to a reference photo.
2. **A film**, any length, with day, sunset and night, traffic, people and trains moving.
3. **An interactive Three.js page** (one HTML file) made from the same scene.
Everything runs through one command, `bin/pf` (this folder). Run `python3 <skill>/bin/pf` with no arguments for the
list. In this document `pf` means that command and `P` means the project folder.
What is generated and what is not:
| Part | Where it comes from |
|---|---|
| Streets, building footprints and heights, water, coast, railways, parks, mapped trees | OpenStreetMap inside the radius, as mapped (`pf map`) |
| Unmapped streets, and the land out to the horizon | The generator, by the region's rules in `place.json` |
| The landmark itself | **You model it** in `P/landmark.py` from the photos. This is the craft; the loop is how it gets good |
| The named buildings round it | The map's outline and height; their look is looked up and overridden, or modelled in `P/neighbours.py`, when the user wants the neighbourhood real (section 5b) |
| Cars, vans, buses, people, trains, a helicopter | Downloaded CC0 models (`pf assets`). Never hand-built boxes: no model, no object. In the film and in the Three.js page they move the same way |
## Rules
1. **Ask before spending money.** Renting a GPU costs money by the hour. Rent only when the user has chosen
`PF_COMPUTE=vast` and said go. Say the GPU and the hourly price when renting. Never rent above `VAST_MAX_PRICE`.
2. **Destroy what you rent.** When the last file is pulled: `pf gpu P down`, then `pf gpu P status` and show that
no machine of this project is left. Never touch a machine this project did not rent.
3. **Keys stay in `.env`.** Never print, copy, commit or send an API key. `.env` is in `.gitignore`.
4. **Follow the user's standing preference for where renders run.** Some users never want renders on their own
machine. `pf build` (no rendering) is fine anywhere.
5. **Real before invented.** Use the map before generating, a downloaded model before modelling, a measured number
before a guessed one. Look up what the local thing really looks like (buses, trains, roofs, street lamps).
6. **Say what is true.** Map data is (c) OpenStreetMap contributors (ODbL): credit it wherever a result is shown.
Record every downloaded asset's licence in `P/assets/assets.json`; credit CC-BY authors. Do not publish other
people's photos; they are references only. Photos the skill found under a stated licence (`refs/cc_*`) may be
shown with the credit in `refs/CREDITS.md`; photos from a web image search (`refs/web_*`) never.
7. **Never claim a match you did not check.** Every "it matches" comes with a `pf compare` number and the
side-by-side you looked at.
8. **Small things decide whether it reads as real.** Once the big shapes match, do a detail pass at every scale:
list what the photos show that the model does not, and add it. Do this without being asked, and do not call
the place finished while the list has open rows (see "The detail pass" under the loop).
9. **Detail must reach every output.** The user opens the web page as readily as the still. A floor line, a window
or an arch that exists only in a Cycles node shader is missing from the page: build it as geometry, or hand the
viewer its numbers (`pf.viewer_facade`). Check each detail in a Cycles view and in `pf shot` of the same view.
10. **A photo shows the place on the day it was taken.** Places change: towers go up next door, a facade is re-clad
after a fire, a square is rebuilt. Before modelling from a photo, know its capture date (`pf photos P --dates`)
and the dates of the place's big changes; use the newest photos, and an older one only for what has not changed
since. Say in the report which photo, of which year, stands behind each modelled detail.
## 0. Intake: what to ask the user
Ask only for what is missing. Use one round of questions.
- **Photos** of the place: a folder. One of them is the **target** (the view the still must match): wide, sharp,
level horizon. Close-ups of the landmark matter more than extra wide shots. Minimum: 1 wide + 2 close-ups.
If they have none, or too few, the skill can look for them (see "No photos" below): say so and ask if they
also allow a web image search.
- **Where it is**: a name, a Google Maps or OpenStreetMap link, or `lat,lon`. Check with `pf locate`.
- **Radius** in metres of full detail round the pin. Guide: 300 to 500 for a building and its streets, 800 to
1,000 for a landmark in its district (default 800), 1,500+ only if the photo's foreground needs it.
- **Outputs**: still, interactive page, film. For a film: how many seconds, 16:9 or 9:16, which times of day,
music or not.
- **The neighbours**: how real must the buildings round the landmark be? After the map is in, show the user the list from
`pf neighbours P` and ask, with three choices: *as mapped* (the map's outlines, generic walls; fine for a distant view),
*true heights and colours* (each named neighbour looked up and overridden; recommended), or *modelled* (the named
ones built by hand like the landmark; needed when the camera goes to street level or close past them). Say what
each costs: a few minutes of research per building for the second, an hour or more of modelling and render loops
for the third. If they say yes to either, section 5b is not optional.
- **Where to render**: this machine (GPU or CPU), a rented Vast.ai GPU (they add `VAST_API_KEY` to `P/.env`), or
an SSH machine they already have. `pf doctor` reports what this machine can do. A film on a CPU takes hours to
days; say so and recommend renting for films.
## 1. Set up
```bash
pf doctor # Blender, GPU, ffmpeg, Chrome
pf locate "Lotus Tower Colombo" # lat, lon (and the height, if the map knows it)
pf init P --name "Lotus Tower" --lat 6.92703 --lon 79.85828 --radius 900 --height 351.5 \
--photos <their folder> --target <the wide photo>
```
`pf init` makes `P/place.json` (the whole scene description), `P/.env` (compute and keys), `P/landmark.py` (a
template), `P/refs/`, `P/assets/assets.json`, `P/renders/LOOPS.md`. Tell the user to open `P/.env` if they chose
Vast or SSH. Every key of `place.json`: [references/config.md](references/config.md).
### No photos, or too few
```bash
pf photos P --query "Lotus Tower Colombo" # licensed sources: Wikimedia Commons, Wikidata, Openverse -> refs/cc_*.jpg
pf photos P --browser # only if the user agreed: + a public image-search page -> refs/web_*.jpg
pf refs P # contact sheet: look at every photo
pf photos P --drop cc_04,web_12 # set aside what is not the place (paintings, interiors, other subjects)
```
- **Tier 1** is always allowed. Each photo's licence and author go to `refs/_sources.json` and `refs/CREDITS.md`;
these may be shown with that credit. Wikidata facts (height, year) land in `refs/_facts.json`.
- **Tier 2** needs the user's yes (`--browser`, or `PF_PHOTO_BROWSER=1` in `P/.env`). It reads a public image-search
results page in CloakBrowser, which the command installs on first use (about 550 MB in all, outside the project;
pinned to 0.6.3, the version whose free build needs no licence key; tell the user before the first run). If it
cannot install or start, the Chrome on their machine is used instead, with a fresh empty profile. Its rules are fixed: read-only, public
pages, no login, one page at a time, 10 s between searches, three searches and 30 images at most, and on a
verification wall or an empty page it stops: no retry, no other engine. Never work round a block.
- `web_*` photos have **no known licence**. They are references only: never put them in a film, a page, a
thumbnail, a repository or any message that leaves the machine. They are git-ignored.
- Search results are noisy. Look at the contact sheet, drop what is not the place, then choose the target yourself
(wide, level, daylight) and write it to `place.json` `refs.target`. Tell the user what was found, from where, and
which photo you chose.
- Still short of one wide view and two close-ups: ask the user. Do not model a landmark from one photo.
### How old is each photo
```bash
pf photos P --dates # capture date of every photo in refs/, newest first; fills in what is missing
pf photos P --since 2019 # fetch again, photos from 2019 on first
```
- Every fetched photo carries its capture date in `refs/_sources.json`: the source's own field, else the file's
EXIF, else a year in its title (`date_from` says which). Undated photos stay undated: judge them by what they show
(a crane, a missing neighbour, an old car), never assume they are recent.
- Research when the place last changed (the landmark's completion, a re-cladding, new towers beside it, a rebuilt
waterfront) and write the year to `place.json` `refs.since`. Photos older than that are marked `OLD` on the contact
sheet and in `--dates`, and newer ones are fetched first.
- An OLD photo is still good for what did not change (a stone facade's style, the terrain). It is wrong for the
skyline round it, for anything rebuilt, and for the target photo if the view has changed.
- Too few recent photos: search by the neighbour's or the new part's own name (`--query "Dubai Opera"`), which finds
what a search for the landmark does not.
## 2. Dig, then look
- Facts first: total height, heights of the parts, materials, year (Wikipedia, Structurae, Skyscraper Center, the
architect). Put the height in `place.json` `landmark.height_m`.
- `pf refs P` writes `refs/_contact.jpg` (all photos) and `refs/_target_grid.jpg` (the target with a 50 px grid).
Read both at full size. Then crop and zoom the close-ups: they fix shapes the wide shot cannot.
- Note the region: which side traffic drives on, roof types and colours, wall colours, tree kinds, water colour,
rooftop water tanks or not. These go in `place.json` `region` (colours are linear RGB, 0 to 1).
## 3. The map
```bash
pf map P # -> P/map/osm.json and P/map/preview.png
```
Read `map/preview.png`: the pin must sit on the landmark, the red ring is the radius. Overpass is tried first and
is often down; the OpenStreetMap API is the fallback (complete inside the radius, no far ring). `pf map P --reuse`
later adds the far ring (coast, big water, land use out to `far_radius_m`) when Overpass answers. If the report
says only a few buildings are mapped, the generator fills the streets; raise `infill.density`.
## 4. Match the camera to the target photo
Read four numbers off `refs/_target_grid.jpg`: the horizon row, the row where the landmark meets the ground, the
row of its top, and its column. Then:
```bash
pf camera P --horizon 482 --base-row 647 --top-row 92 --col 790 --height 351.5 --focal-mm 28 --bearing 355
```
- It solves the camera's distance and height (a level camera with lens shift, like most architecture photos).
- `--bearing` is the compass direction the photo looks. Find it on `map/preview.png` from what is left and right
of the landmark in the photo. Or give `--feature X,Y,COL`: one map feature (metres east, north of the pin) and
the photo column where it appears; the bearing is solved.
- No EXIF focal length: start at 28 mm for a wide view and let the first blend tell you (surroundings too spread
out = lens too short).
- Then look at `map/preview.png` again: the blue wedge is the camera's view. It must contain what the photo shows.
No target photo, or only close-ups: skip this; the views `hero`, `wide`, `close`, `top`, `street` exist anyway.
## 5. Model the landmark
Write `P/landmark.py`: `build(mp)` makes the landmark at the origin and returns `{"height": metres}`; `KEEP_OUT`
lists the discs the generator must leave empty. How to measure, the helpers, materials, night lighting and what
travels to the web viewer: [references/landmark.md](references/landmark.md). A complete example:
[examples/lotus-tower/landmark.py](examples/lotus-tower/landmark.py).
Check the scripts before every render, on any machine, for free:
```bash
pf build P # ends with "pf: BUILD OK"
pf web P && pf shot P hero # a quick look in the Three.js viewer: shapes, placement, the map. Not the final look
```
## 5b. The neighbours
A landmark between generic blocks reads as a model, however good the landmark is. People who know the place check
the mall, the hotel and the opera house next to it before they look at anything else.
```bash
pf neighbours P # the notable buildings round the pin, most prominent first -> map/neighbours.md
```
1. **List.** Read the table. "Height **not mapped**" means the engine guesses a height. Add by hand what the table
misses: a low but famous building (a souk, a temple, a market) scores low and may carry only a local-script name.
2. **Ask** the user which level they want (see Intake), unless they already said. Do not decide for them that the
neighbours do not matter.
3. **Research each one** the user wants real: height and floors, plan shape, facade material and colour, the crown,
the one feature that makes it recognisable from 500 m, how it is lit at night. Published facts first; photos for
the look (`pf photos P --query "<its name>"`, then the contact sheet). Note the source beside each number.
4. **Override** what the map has right in outline but wrong in look, in `place.json`:
`"neighbours": [{"match": "Address Downtown", "height_m": 306, "walls": [0.55, 0.52, 0.46], "glass": 1, "roof": [0.4, 0.4, 0.4]}]`.
`match` is part of the building's name or English name; `"at": [x, y]` points at an unnamed one (x, y from the
table). Colours are linear RGB. The build log names any entry that matched nothing.
5. **Model by hand** the ones the camera comes close to, in `P/neighbours.py`: `build(mp)` as in `landmark.py`, each
building at its mapped place (take the outline from `map/osm.json`, as the landmark does when the map has it).
Give its mapped stand-in `"drop": true` in `place.json` `neighbours`, so the two do not stand inside each other.
What you build here travels to the web viewer and is kept clear of by the helicopter, like the landmark.
6. **Check each** with its own view in `place.json` `views` (looking at the neighbour, not at the landmark) in
Cycles and in the viewer, then once more in the wide view. Add each neighbour as a row of the detail pass table.
The order of worth: the two or three a local would name, then whatever stands between the camera and the
landmark in the delivered views, then the tall ones on the skyline. Stop where the delivered views stop seeing.
## 6. The recursive perfection loop
This is the heart of the skill. One loop:
```bash
pf assets P # once: CC0 vehicles, people, helicopter, ground textures (--remote on a rented machine)
pf render P --name loop01 --view photo,close # previews (half size, 64 samples)
pf compare P loop01_photo # numbers + _sbs.jpg, _blend.jpg, _diff.jpg
pf log P loop01 "what changed" "the worst gap now"
```
1. Read the table and **look** at `_sbs.jpg` (side by side) and `_blend.jpg` (50% overlay).
2. Rank the gaps in this order and fix only the top one to three:
geometry and placement (doubled edges in the blend; `edge match` low) > exposure and sky > materials and
colours > detail density > small props.
3. Fix by argument first, code second. Any `place.json` key can be overridden for one run:
`pf render P --name loop02 look.exposure.day=0.6 look.haze.day=0.00003 region.pitched_share=0.1`.
When a value wins, write it into `place.json`.
4. Render again. Stop when the diff stops falling and nothing in the side-by-side reads as fake. Then
`pf render P --name final --final`.
The loop is recursive in three ways:
- **Down the scales.** Converge the wide view first, then descend: district (`view=wide`, an 85 mm crop), the
landmark (`view=close`), the street (`view=street`, eye level), a single detail. Each level has its own
cameras in `place.json` `views` and its own loop. A gap found close up sends you back into the model, and the
wide view is rendered again afterwards. Users judge at street level as well as from the air.
- **Across outputs.** Each film shot and each viewer view is checked the same way (`pf film render P pick=...`,
`pf shot`), and fixes go back to the one scene description.
- **Across projects.** When a project ends, add what made it real, in two or three lines, to
[references/lessons.md](references/lessons.md). Read that file before starting the next place. The skill gets
better each time it is used.
### The detail pass
A viewer forgives a wrong tone long before a missing railing. After the wide view converges, zoom each close-up
photo to full size and write a table in `renders/LOOPS.md`: one row per small thing seen, a column "in the model"
(yes, no, cannot be seen from any view), and close each "no" before the finals. Look for:
- **On the landmark:** parapets and railings on every terrace, the crown or cap of each setback, plant rooms, antennas,
lightning rods, cleaning rigs, louvre bands, panel joints, recesses between volumes, entrances, canopies, steps,
signs. Count repeated things on the photo; do not guess the number.
- **At its foot:** paving patterns, kerbs, planters, palms or trees in rows, flag poles, bollards, lamp posts, benches,
fountains and their nozzles, pools, bridges, boats, the edge detail where land meets water.
- **Round it:** the neighbours, at the level the user chose (section 5b). Check how the map stores them: a building
mapped under another tag can be missing altogether.
- **At night:** aviation lights (red, steady or blinking) on every tall thing, strobes, the landmark's own lighting
scheme as it is on an ordinary night, lit entrances, lamps along the water.
- **In motion (film and viewer):** whatever moves in the real place and is missing here, as long as it can move
honestly: fountain jets, boats, lifts, blinking lights. A frozen thing that should move is worse than no thing.
Fountain jets registered with `pf.jet(...)` run the same show in the film and on the page.
**The identity check (`pf inspect`) closes the detail pass.** Run `pf inspect <project> --pages` after every change to
`landmark.py` or `neighbours.py` (and `pf web` first, so the page shows the current model). It must pass, and its
sheets must be looked at by eye, before any render, page or film is shown to the user. Each modelled or named building
is checked in Blender (loose parts that float, slabs that pierce another part or end inside one, large undersides with
nothing below, flipped normals, z-fighting faces, height and footprint against the map) and shot from every direction on
the page: 8 compass views at street level and at mid height, 4 high obliques, straight down, 4 ground-up views at the
faces, and a close-up at each issue. Output in `renders/inspect/`: `<building>.json` (clustered issues plus the raw list),
`<building>_sheet.jpg` (issues circled and numbered, a licensed `refs/cc_*` photo beside them), `index.html` with
`--pages`. Exit code 2 means a blocking issue (floating or piercing part): fix the model, never the threshold, and rerun.
`--only A,B` limits it to some buildings, `--blocks N` also audits generated blocks within N m, `--selftest` proves the
checks still catch a deliberately floating box and piercing slabs. A part smaller than 1 m that floats is a warning,
and a part within 20 cm of any surface counts as held by it. Mark an intended cantilever with the object property
`pf_cantilever` or `inspect.cantilever` in place.json. Look at the sheets even when the exit code is 0: the geometry
checks cannot see a crown of the wrong shape.
### What makes a render read as fake (check these before the detail pass)
A scene can have every railing and still look like a model. These five decide it, in this order:
1. **Where the sun is.** The faces the camera sees must be lit from the side, 30 to 70 degrees off the view line.
A sun behind the subject gives grey, flat fronts; a sun on the camera's shoulder gives no shape. Pick a real sun
position for the place (`pf sun`) that side-lights the delivered views, and check that tall neighbours do not
shadow the whole foreground at that elevation.
2. **Glass that mirrors.** Tower glass is a tinted mirror of the sky and of the towers opposite, each pane a hair
out of plane. The engine's curtain walls do this (`region.glass_share`, one tint and band style per tower); a
landmark's own glass should too. Grey noise where glass should be is the first thing a viewer rejects.
3. **A true skyline.** `pf map` fetches every mapped building out to `far_radius_m` and the engine places them at
their mapped heights: the towers stand where they stand, the low districts stay low. Check the count in the build
log; raise `far_radius_m` (to 6,000 or 8,000) when a delivered view looks toward a skyline.
4. **Upright verticals.** Give ground-level views `"level": true`: a level camera with the lens shifted, as an
architecture photographer shoots. A wide lens tilted up at a tower makes every building lean.
5. **Air.** Far things fade toward the horizon's colour, not toward a dark wall: `look.haze` with `look.haze_glow`.
At night the sky over a city is never black (`look.night_glow`), and lit windows are few, warm and uneven
(`look.window_light`).
Render each added detail close up (`views` in `place.json`), then again in the wide view to check it survives the
distance without flicker. Then look at the same view in the web viewer (`pf web P && pf shot P <view>`): give the table
a column for it. What the viewer lacks is one of two things. Openings, bands, railings and crowns are geometry: build
them as faces, a hand's breadth proud of the wall, and they are in both outputs. A repeating grid (floors, mullions,
fins, lit rooms) is `pf.viewer_facade(mat, floor=, panel=, sill=, fin=, spandrel=, fin_color=, lit=)`: the viewer
draws the same grid from world position, with the numbers the Cycles shader uses. A detail smaller than a pixel in every delivered view is not worth its render time: say so
in the table and move on.
What to tune and what each knob does: [references/look.md](references/look.md).
## 7. Film
Ask: seconds, aspect, times of day, music. Then:
```bash
pf film plan P --seconds 30 --tod day,sunset,night # -> P/film/shots.json: edit the shots
pf build P anim=1 # checks every shot and the per-frame update
pf film render P pick=1,150,400 # stills of chosen frames, while you work on a shot
pf film preview P # one frame from the middle of every shot -> renders/film_preview.jpg
pf film render P # all frames (on a rented GPU: runs in the background)
pf film encode P --music track.mp3 --music-start 12 # -> P/film/<name>_film.mp4, fades in and out
```
**Preview before every big render, on this machine or a rented one.** `pf film preview P` renders one frame from the
middle of every shot onto one sheet. Show the sheet to the user and wait for their OK; only then run the full
`pf film render P`. The command enforces it: it refuses while `film/shots.json`, `place.json`, `landmark.py` or
`neighbours.py` differ from what the last preview was made from (a fresh preview after every change), and it refuses
options it does not know. `--confirmed` skips the check only when the user has said to go ahead without one. The same
goes for a batch of 4K finals: show one first. Check each preview frame for: the camera inside a tree or a building
(a flash of leaves), a move that ends on empty sky, a sun behind the landmark (its glare eats it), and low flight over
the generated land outside the mapped radius (it reads as empty sand).
Shots are `orbit`, `dolly`, `topdown`, `photo` or `heli` moves in metres and compass bearings (`engine/pf_cam.py` has the
fields). One Blender process renders one time of day; frames can render in any order on several machines because
every mover's position is a function of time. Portrait: `film.w` 1080, `film.h` 1920 in `place.json`. Music needs
a licence the user holds; put the credit line in the video description.
A `heli` shot flies beside the helicopter with the landmark behind it: `{"move": "heli", "out": [36, 27], "back": [12, 4],
"up": [3, 2], "lens": 35}` (metres off its outer side, behind it, above it).
## 8. Interactive page (Blender to Three.js)
```bash
pf web P # -> P/web/index.html, one self-contained file
pf shot P photo --t 40 # headless Chrome screenshot (view name, sun elevation); also prints the frame rate
```
The page shows the same city and landmark with orbit controls, view buttons and a time-of-day slider, and the same
life as the film: traffic keeping to its side of the road, parked cars, people walking, trains, the helicopter
circling with both rotors turning (a "follow helicopter" button rides beside it), head lamps at night. It is a real-time look, not Cycles. Shader detail made
with nodes does not travel: give such materials an average colour with `pf.viewer_color(...)`, and their floors and
mullions with `pf.viewer_facade(...)`; make arches, windows and bands real geometry (see the landmark reference and
rule 9). Vehicle models are thinned to about 1,100 triangles for the page; people are kept whole (a thinned
figure falls apart).
**Baked Cycles light.** The page cannot path-trace, so `pf bake` lets Cycles do it once, at the project's day sun, and
the page borrows the answer: sun, shadows, sky light, contact darkness and colour bounce, stored relative to open sunlit
ground and multiplied by the page's own light (so its exposure stays). Three top-down maps (streets and lawns; roofs and
terraces; the height that tells which surface is on top) plus light per vertex on every building and model inside
the radius. It is on while the time slider sits at the bake's sun and the weather is Clear or Fair, fades out as the
slider moves away (real-time shadows return), and never touches glass reflections, water, cars, people or the helicopter.
`#bake=0` in the page URL shows the page without it.
```bash
pf gpu P up # once, if it runs remotely
pf bake P --remote # -> P/web/bake/ (ground.jpg, top.jpg, z.png, bake.json, bake.bin.gz). res=0.5 r=1000 samples=256 cell=4
pf web P && pf shot P hero # the page now carries it; run pf bake again after the city or a model changes
```
## 9. Where renders run
`P/.env` decides: `PF_COMPUTE=local | vast | ssh`. `pf render` and `pf film render` do the same thing on all three.
```bash
pf gpu P offers # vast: what is on offer under VAST_MAX_PRICE
pf gpu P up # vast: rent + install Blender (about 3 minutes). ssh: install Blender there
pf assets P --remote # the machine downloads the models itself
pf render P ... # scripts go up, previews come down
pf gpu P down # vast: destroy. Then: pf gpu P status
```
Traps and their fixes (slow hosts, OptiX failures, killed jobs, transfers): [references/compute.md](references/compute.md).
## Limits to state plainly
- Ground is flat. Hilly sites need terrain; not built yet.
- Flyovers and tunnels are drawn at grade; only bridges over water get a deck.
- The far ring uses every building the map has out to `far_radius_m`, as its smallest enclosing box (towers: their
footprint) at the mapped height; where the map gives no height, low ones are guessed from the footprint. Where
fewer than `far.mapped_min` (400) are mapped, the ring is generated instead.
- A coast stretch that stops inside the far radius (a canal bank mapped as coastline) cannot be closed into sea;
the engine drops a sea polygon that would cover the pin and says so in the build log.
- A camera with a tilted horizon or strong lens distortion will not match exactly.
- Traffic follows lanes at one speed per lane: no junction rules, no overtaking. People walk; they do not stand, sit or cross.
- One helicopter on a circle (`life.helicopter`, `life.heli_radius`, `life.heli_height`, `life.heli_bearing`, `life.heli_speed`). It flies
nose first, banked for its speed and radius, and its circle is moved out or up to stay `life.heli_clear_m` (60 m) clear of the
landmark and of every building by its track; the build log says when it was moved. It does not weave between buildings, land or hover.
No birds or aircraft (frozen wings read as fake).
- Tested with Blender 5.2 on macOS (build, export, viewer). The rented-GPU path is ported from the scripts that
rendered the Lotus Tower; check the first preview before queuing a film.
Files in this skill
- .claude-plugin/marketplace.json
- .claude-plugin/plugin.json
- .env.example
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- SECURITY.md
- SKILL.md
- assets.default.json
- bin/pf
- compute/gpu.sh
- engine/landmark_template.py
- engine/pf_bake.py
- engine/pf_cam.py
- engine/pf_cams.py
- engine/pf_city.py
- engine/pf_core.py
- engine/pf_export.py
- engine/pf_inspect.py
- engine/pf_life.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.