Skip to content

Add O2, the round glass tower; Settings > About shows the build - #41

Merged
Sagyam merged 2 commits into
mainfrom
claude/o2-round-tower
Nov 21, 2026
Merged

Sagyam merged 2 commits into
mainfrom
claude/o2-round-tower

Conversation

@Sagyam

@Sagyam Sagyam commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

This adds the next model on the roadmap. Until now every downtown office lot built O1; O2 gives the mayor a second office design. It also republishes the model pack with O2 in it and adds an About section to Settings.

The model (ui/blender/real/o2_round.py)

  • A twenty-sided drum, 12 m across. The curtain wall is tinted glass with a mullion fin on every joint, and a thin aluminium sunshade ring sits at each storey's head, so the tower reads as a stack of discs.
  • ground (6.0 m): ten granite columns stand around a double-height glass lobby drum. A cantilevered steel canopy on tie rods carries the building's name (from the shared towerNames sheet), over a revolving door with swing doors on either side. The back of the drum is granite, with the service door and a louvre.
  • floor (3.7 m): a typical storey.
  • plant (3.7 m): louvres behind a deep ring. Towers of 12 storeys or more get one, a little over halfway up.
  • crown: the fins rise past the roof to a ring that lights up at night. Inside it are a louvred plant drum, the stair head, condensers and a mast with a warning light.
  • 6.5 k triangles over the four pieces, so a 14-storey tower is about 17 k.

Wiring

  • real.ts: O2's DEFS entry (12.8 × 12.8 footprint; the stack includes the plant storey) and a new halo material role. O2's lobby glass uses the atrium room, as O1's does.
  • plan.ts: O2 maps to office / classic, so it is also O1's sibling for office lots that have no blueprint.
  • models.ts: a paved plaza around the drum, with trees and benches at the front corners, bollards and bins.
  • plan.rs + mockcity.ts: a new blueprint, "Round glass tower": downtown, level 2, 1800 coins.
  • names/offices.txt: a new [o2] section, added at the end so names already dealt don't change.

Model pack

  • Published models-67ed122f1a08e081 and committed src-tauri/models.json. Compared with the previous pack, only o2.glb and o2_ao.bc7 are new; every other file has the same hash.
  • pack --upload confirmed the sizes of all 148 assets. I downloaded both O2 files and their SHA-256 sums match the manifest.

Settings > About

  • A new section shows the app's CalVer, the commit it was built from, when that commit was made, and when the app was built. That makes an old install easy to tell from the latest one.
  • vite.config.ts defines __BUILD__ from the workspace Cargo.toml and git. DEEPWORK_COMMIT and SOURCE_DATE_EPOCH override them.
  • Like Appearance, About lives in the app, so it shows even when the daemon's settings can't be loaded.

Checked

  • cargo test, cargo clippy --all-targets, cargo fmt --check, tsc and bun test pass.
  • Viewed O2 in proto.html?model=o2 from the hero, street, roof, night and damage views, at 8 and 14 floors.
  • Checked the About section in the mock UI, in both light and dark themes.

🤖 Generated with Claude Code

Sagyam and others added 2 commits November 21, 2026 08:43
A second office design, so downtown's office lots no longer all build O1.
A twenty-sided drum 12 m across: tinted curtain wall with a mullion fin on
every joint and a thin sunshade ring at each storey's head, a colonnaded
double-height lobby drum under a cantilevered canopy that carries the
name, a revolving door, a plant storey with a deep ring on tall towers,
and a crown of fins ending in a ring that is lit at night.

- o2_round.py: pieces ground, floor, plant, crown (6.5 k triangles)
- real.ts: O2's def and stack; a "halo" role for the lit crown ring
- models.ts: a paved plaza round the drum with trees and benches at the
  front corners
- plan.rs: blueprint "Round glass tower", downtown, level 2, 1800 coins;
  an [o2] section in the office names

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e build

The pack adds O2's glb and AO bake; every other file is unchanged.

Settings has an About section with the app's CalVer, the commit it was
built from, when that commit was made and when the app was built, so an
old install is easy to tell from the latest. Vite defines __BUILD__ from
the workspace Cargo.toml and git (DEEPWORK_COMMIT and SOURCE_DATE_EPOCH
override). About lives in the app like Appearance: it shows without the
daemon's settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Sagyam Sagyam changed the title Add O2, the realistic round glass tower Add O2, the round glass tower; Settings > About shows the build Nov 21, 2026
@Sagyam
Sagyam merged commit 459e5ad into main Nov 21, 2026
6 checks passed
@Sagyam
Sagyam deleted the claude/o2-round-tower branch November 21, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant