Official Codebase of 3DCodeVerse
Python
teaser: the showcase page, and the prompts that actually produced it
gaoypengc016e95c624c
diff --git a/harness/bench/prompts/teaser_v1_articulated.yaml b/harness/bench/prompts/teaser_v1_articulated.yamlindex a4df79d8..96e0197e 100644--- a/harness/bench/prompts/teaser_v1_articulated.yaml+++ b/harness/bench/prompts/teaser_v1_articulated.yaml@@ -62,3 +62,60 @@ prompts:width: 1.0depth: 0.5height: 1.05++# ===========================================================================+# SHARPENED RE-RUNS — these are the prompts the teaser page actually ships.+# The original id each one replaces is kept above it, so the pair stays legible;+# see docs/TEASER.md for the picture each attempt produced.+# NOTE: BenchPrompt (bench/run_bench.py) carries only id/prompt/tier/category/+# must_have/dimensions_m/tags/language. The re-runs also used --style, --must-not+# and --candidates on the CLI; those are recorded as comments here rather than as+# keys, because an unknown key is dropped silently.+# ===========================================================================+# SHIPPED. Supersedes tsr_art_grandfather_clock (0.600), which rendered the trunk door pane as an+# OPAQUE white panel, hiding the pendulum and weights — the whole reason the prompt was picked.++# CLI flags used, not expressible in this schema:+# --style "English 18th-century longcase clock, dark chocolate walnut with near-black mouldings against warm polished brass, high material contrast"+# --candidates 2+# --profile quality+- id: tsr_art_grandfather_clock_v2+ tier: hard+ category: furniture+ tags:+ - teaser+ - rerun+ - motion+ prompt: 'a longcase grandfather clock in dark figured walnut with working articulation: a broken-arch bonnet+ with two turned finials over reeded columns, a warm brass dial with a silvered chapter ring and blued+ steel hour and minute hands, a glazed trunk door on brass hinges with CLEAR TRANSPARENT glass so the movement+ is visible through it, a long pendulum with a large polished brass lenticular bob swinging on a pivot,+ and two brass cylindrical driving weights hanging on either side of the pendulum inside the trunk, all+ on a stepped plinth base with bracket feet++ '+ must_have:+ - case about 2.05 m tall; bonnet 0.56 m wide, waisted trunk 0.40 m wide, plinth 0.50 m wide, so the silhouette+ steps in at the trunk and back out at the base+ - the trunk door pane is CLEAR GLASS with base-colour alpha at most 0.25, so the pendulum bob and both weights+ are visible THROUGH the closed door+ - hinged trunk door with a revolute joint on one side swinging at least 90 degrees open, with two visible+ brass hinge barrels on the hinge edge+ - 'pendulum: a slim rod hanging from a revolute pivot behind the dial, limits -0.30 to +0.30 rad, carrying+ a polished brass LENTICULAR bob about 0.14 m across near the bottom of the trunk'+ - two brass cylindrical driving weights about 0.07 m across and 0.22 m long hanging inside the trunk, one+ either side of the pendulum rod, not touching it+ - hour hand and minute hand on the dial axis, each on its own CONTINUOUS joint (not revolute), spinning+ about the dial normal+ - brass dial about 0.30 m across with a distinctly lighter silvered chapter ring band around its outer edge+ and dark hands against it+ - 'broken-arch bonnet: two arched crestings with a gap between them, two turned finials, and a reeded column+ each side of the dial'+ - stepped plinth base with bracket feet, standing on the ground plane+ - 'four visibly distinct materials: dark chocolate walnut case, near-black mouldings and plinth edges, warm+ polished brass dial/bob/weights, and clear glass'+ - the door and the pendulum clear the case through their whole joint range+ dimensions_m:+ width: 0.56+ depth: 0.3+ height: 2.05diff --git a/harness/bench/prompts/teaser_v1_graphics.yaml b/harness/bench/prompts/teaser_v1_graphics.yamlindex 38aa2225..a63f104a 100644--- a/harness/bench/prompts/teaser_v1_graphics.yaml+++ b/harness/bench/prompts/teaser_v1_graphics.yaml@@ -98,3 +98,45 @@ prompts:- dark treeline or ridge silhouette along the bottom edge- the flock shape changes noticeably between the sampled frames while staying one flock- no bird sprites frozen or clipped at the frame edges++# ===========================================================================+# SHARPENED RE-RUNS — these are the prompts the teaser page actually ships.+# The original id each one replaces is kept above it, so the pair stays legible;+# see docs/TEASER.md for the picture each attempt produced.+# NOTE: BenchPrompt (bench/run_bench.py) carries only id/prompt/tier/category/+# must_have/dimensions_m/tags/language. The re-runs also used --style, --must-not+# and --candidates on the CLI; those are recorded as comments here rather than as+# keys, because an unknown key is dropped silently.+# ===========================================================================+# SHIPPED. Supersedes v1 (0.780, flat magenta wash over a speckle-noise ridge) and v2 (0.527, good+# sky but the ridge drawn as a barcode of vertical grey stripes). The one paragraph that fixed it+# in a single round is the LOWER THIRD spec plus the must_have below.++# CLI flags used, not expressible in this schema:+# --candidates 3+# --profile quality+- id: tsr_gfx_aurora_ridge_v3+ tier: hard+ category: natural_phenomena+ tags:+ - teaser+ - rerun+ - graphics+ prompt: 'an aurora over a snowy ridge on a black winter night, painted in three clean horizontal bands.+ TOP TWO THIRDS — the sky: near-black deep-blue, crowded with thousands of small crisp white stars, and+ across it hang layered aurora curtains made of many thin bright vertical rays of varying height that ripple+ slowly sideways; the curtains are saturated emerald green at their lower edge, fading up through teal+ into violet-magenta tips, with dark gaps of empty starry sky visible between the folds, and a soft green+ glow spilling onto the air around them. LOWER THIRD — the ridge: a single SOLID mountain silhouette, filled+ with ONE flat near-black colour and nothing else. The ridge must be smooth and uniform inside: no vertical+ stripes, no bars, no banding, no noise, no texture, no visible pixels or scan lines inside the silhouette+ — only a crisp jagged outline of peaks against the sky, with a thin clean line of pale snow lying along+ the sunlit upper edges of the peaks. BOTTOM FIFTH — the frozen lake: a smooth flat mirror below the ridge+ that shows a softly blurred vertical reflection of the green and violet curtains and the black ridge,+ dimmer than the sky, with a few faint horizontal shimmer lines and no hard seam where it meets the shore.+ Strong contrast, saturated light against true darkness, edges of the frame falling off to black.++ '+ must_have:+ - the mountain ridge is a solid flat near-black silhouette with no stripes, bars or noise inside it+ - near-black starry sky with saturated green-to-violet curtainsdiff --git a/harness/bench/prompts/teaser_v1_scene.yaml b/harness/bench/prompts/teaser_v1_scene.yamlindex 43973e1b..d4e43f17 100644--- a/harness/bench/prompts/teaser_v1_scene.yaml+++ b/harness/bench/prompts/teaser_v1_scene.yaml@@ -103,3 +103,186 @@ prompts:0.15-0.40)- rain falling visibly through the sign light between the sampled times- camera dollies down the alley toward the billboard without clipping the walls, cables or props++# ===========================================================================+# SHARPENED RE-RUNS — these are the prompts the teaser page actually ships.+# The original id each one replaces is kept above it, so the pair stays legible;+# see docs/TEASER.md for the picture each attempt produced.+# NOTE: BenchPrompt (bench/run_bench.py) carries only id/prompt/tier/category/+# must_have/dimensions_m/tags/language. The re-runs also used --style, --must-not+# and --candidates on the CLI; those are recorded as comments here rather than as+# keys, because an unknown key is dropped silently.+# ===========================================================================+# SHIPPED — round r01, NOT the harness best_round r02 (r02 scored 0.286 vs 0.273 and lost the pond+# reflections). Supersedes tsr_scn_temple_night, which the judge scored 0.729 on a washed-out+# pale-blue frame with no ripples, no reflections and no koi.++# CLI flags used, not expressible in this schema:+# --candidates 2+# --profile quality+- id: tsr_scn_temple_night_v2+ tier: hard+ category: multi_language+ tags:+ - teaser+ - rerun+ - hero+ - multi_language+ - blender_glb+ - glsl+ - motion+ prompt: 'a small temple courtyard on a koi pond at NIGHT — a deep indigo night (background 0x0b1026), lit+ ONLY by warm lantern flame. LIGHTING IS THE POINT AND IT IS LOW-KEY: the ONLY lights are warm point lights+ (colour 0xffb156, decay 2) inside the stone lanterns and paper lamps, plus one very dim cool moon fill+ (DirectionalLight, intensity <= 0.15, colour 0x3a5a8c). Do NOT add an AmbientLight and do NOT add a HemisphereLight,+ and use no more than that one dim directional — the courtyard must fall off into darkness away from each+ lantern, so the frame is mostly deep blue-black with small warm pools. The stone paving is DARK wet granite+ (base colour 0x2a2b30, roughness 0.5) that is nearly black between the lantern pools; it must NEVER read+ as white, pale grey or snow.++ TWO HERO PROPS ARE AUTHORED IN BLENDER WITH bpy AND COMPILED TO GLB (asset kind blender_glb), then loaded+ into the three.js scene: (1) StoneLantern — a carved granite lantern about 1.7 m tall with a chamfered+ cap, a pierced fire box, a lotus-carved plinth and moss-worn edges, in DARK weathered grey-green granite+ (0x4a4f48), never white; place three of them along the path, each with a warm point light in its fire+ box. (2) BronzeCenser — a three-legged bronze incense burner about 0.9 m tall with a domed pierced lid,+ two ring handles and a relief band, in dark patinated bronze with warm specular highlights.++ Everything else is procedural three.js: maple trees with deep crimson foliage (0x7d1f2b) and pines in+ very dark green (0x16261c) — never mint or pastel — the arched wooden bridge in dark stained timber, stone+ paving, railings and the temple hall with warm glowing shoji panels.++ A custom GLSL water material is the HERO EFFECT and must be unmistakable: the pond is dark (0x081018)+ and highly reflective, with visible travelling ripples, the warm lantern lights reflected in it as long+ wobbling vertical streaks, and several koi visible moving under the surface. Make the ripples and the+ reflected lantern streaks large enough to read clearly in a 1024x576 frame.++ Incense smoke rises from the censer and falling maple leaves drift through the frame; the camera dollies+ across the bridge toward the hall.++ '+ # must_have restated here from the prompt body so the battery is re-runnable;+ # the original CLI run carried these as prose inside --prompt, not as --must clauses.+ must_have:+ - 'a deep indigo night: the frame is mostly near-black blue with small warm pools, and the stone paving never+ reads as white, pale grey or snow'+ - the only lights are warm point lights inside the lanterns and paper lamps plus one dim cool directional+ moon fill; no AmbientLight and no HemisphereLight+ - StoneLantern and BronzeCenser are authored in Blender bpy and loaded into the scene as blender_glb assets,+ not rebuilt procedurally+ - three StoneLantern instances stand along the path, each with a warm point light in its fire box+ - the pond uses a custom GLSL material with travelling ripples, the lantern lights reflected as long vertical+ streaks, and koi visible under the surface+ - incense smoke rises from the censer and maple leaves fall through the frame+# SHIPPED. Supersedes tsr_scn_boat_workshop (0.465), whose PLAN contained no walls and no roof —+# an open truss frame in a pine forest — so refining could not make it an interior.++# CLI flags used, not expressible in this schema:+# --candidates 2+# --profile quality+- id: tsr_scn_boat_workshop_v2+ tier: hard+ category: multi_language+ tags:+ - teaser+ - rerun+ - multi_language+ - blender_glb+ - glsl+ - motion+ prompt: 'INSIDE a boatbuilder''s workshop at dusk — a FULLY ENCLOSED INTERIOR. THE ENCLOSURE IS THE ENVIRONMENT+ AND MUST BE BUILT FIRST: a rectangular timber shed about 16 m x 10 m x 6 m high with FOUR SOLID WALLS+ of dark weathered plank cladding (0x3a2e22), a plank FLOOR (0x4a3b2a), and a closed pitched ROOF of dark+ boards carried on exposed trusses. Every camera is INSIDE this box and always sees walls and ceiling —+ never open sky, never a horizon, and there is NO terrain, NO grass and absolutely NO trees or outdoor+ vegetation anywhere in the scene.++ The entire LONG WALL on one side is a grid of dusty single-glazed windows in a dark timber frame, and+ a LOW ORANGE SUN outside it (0xffa64d) throws long hard light shafts diagonally across the interior. LIGHT+ IS THE POINT AND IT MUST BE TWO-COLOURED: the sunbeams and the stove glow are WARM orange, while the shadowed+ depths of the shed are COOL desaturated blue (0x2b3a4a) from a dim blue fill — the frame must show warm+ light against cool shadow, never a single orange wash over everything.++ TWO HERO PROPS ARE AUTHORED IN BLENDER WITH bpy AND COMPILED TO GLB (asset kind blender_glb), then loaded+ into the three.js scene: (1) ClinkerSkiff — a lapstrake wooden skiff about 4 m long, upturned on trestles,+ with overlapping planks, visible ribs and a bevelled stem; (2) PotbellyStove — a cast-iron potbelly stove+ about 1.1 m tall with a bellied body, a bevelled door with a latch, claw feet and a flue collar, its door+ glowing hot orange with a flue pipe running up to the roof.++ Everything else is procedural three.js: workbenches, wall tool racks hung with saws and planes, stacked+ timber, sawhorses, clamps, buckets, shavings on the floor, and the roof trusses.++ A GLSL shader makes the window sunbeams VOLUMETRIC — visible cones of hazy light crossing the room, brightest+ near the glass.++ Sawdust motes drifting in those beams must be FINE, SMALL and SOFT: draw them as tiny additive-blended+ sprites using a radial-gradient DataTexture with low opacity (0.15-0.35) and a size of only a few centimetres,+ so they read as floating dust. NEVER render them as large opaque white squares or untextured Points.++ The stove glow flickers, a hanging work lamp sways, and the camera cranes up from the floor along the+ hull.++ '+ # must_have restated here from the prompt body so the battery is re-runnable;+ # the original CLI run carried these as prose inside --prompt, not as --must clauses.+ must_have:+ - 'a fully enclosed interior: four solid plank walls, a plank floor and a closed pitched roof on exposed trusses,+ with every camera inside the box'+ - no terrain, no grass, no trees and no open sky anywhere in the scene+ - one long wall is a grid of dusty windows with a low orange sun outside throwing long diagonal light shafts+ across the interior+ - 'two-coloured light: warm orange sunbeams and stove glow against cool desaturated blue shadow'+ - ClinkerSkiff and PotbellyStove are authored in Blender bpy and loaded into the scene as blender_glb assets,+ not rebuilt procedurally+ - a GLSL shader makes the window sunbeams volumetric, and sawdust motes in them are fine soft additive sprites,+ never large opaque white squares+# SHIPPED. Supersedes tsr_scn_neon_alley (0.632), whose census showed custom_materials [''] — the+# wet-asphalt ShaderMaterial the prompt is about never existed.++# CLI flags used, not expressible in this schema:+# --candidates 2+# --profile quality+- id: tsr_scn_neon_alley_v2+ tier: hard+ category: materials+ tags:+ - teaser+ - rerun+ - glsl+ - motion+ prompt: 'a rain-soaked neon alley at night, seen down a narrow corridor between two TALL buildings whose+ walls fill the left and right thirds of the frame and rise out of the top of shot. MATERIALS AND LIGHTING+ ARE THE POINT: the ground is NEAR-BLACK wet asphalt (base colour 0x0a0c10, roughness 0.08-0.15, metalness+ 0.6) that acts as a MIRROR — every sign above is reflected in it as a sharp, vertically-stretched coloured+ streak, with darker matte patches between shallow puddles so the reflection is broken up, never a uniform+ glossy sheet. The asphalt must stay DARK: it is lit only by the signs, so most of the ground is black+ and the reflections are the bright part. Do NOT put a bright ambient or hemisphere light on the ground+ and do NOT let it wash out to pale grey, white or milky cyan.++ Stacked kanji and script signs in hot pink (0xff2d95) and cyan (0x00e5ff) are bolted up both walls at+ many heights, each an emissive panel with its own small point light spilling onto the brickwork beside+ it; a flickering holographic billboard faces the camera at the far end. Fire escapes, ladders, air-con+ units, hanging cables and a steam grate dress the walls.++ Rain is THIN BRIGHT VERTICAL STREAKS, not dots: draw it as LineSegments or as very narrow elongated quads+ about 0.4 m long and 0.01 m wide, a few thousand of them, falling fast and re-seeding at the top, catching+ the sign colours. NEVER render rain as square point sprites or large white squares. Steam from the grate+ is a soft, low-opacity translucent wisp (opacity 0.12-0.25) that does not read as a solid white blob.++ Keep the overall frame dark and saturated — deep blacks, hot magenta and cyan, no grey haze — and let+ the reflections and the signage carry the exposure.++ '++ # must_have restated here from the prompt body so the battery is re-runnable;+ # the original CLI run carried these as prose inside --prompt, not as --must clauses.+ must_have:+ - 'the ground is near-black wet asphalt acting as a mirror: every sign above is reflected as a sharp vertically-stretched+ streak, broken by matte patches'+ - the asphalt stays dark and never washes out to pale grey, white or milky cyan; no bright ambient or hemisphere+ light on it+ - tall building walls fill the left and right thirds of the frame and rise out of the top of shot+ - stacked hot-pink and cyan emissive signs at many heights up both walls, each spilling a small point light+ onto the brickwork+ - rain is drawn as thin bright vertical streaks (LineSegments or narrow elongated quads), never square point+ sprites or white squares+ - a flickering holographic billboard faces the camera at the far end of the alley\ No newline at end of filediff --git a/harness/bench/prompts/teaser_v1_static.yaml b/harness/bench/prompts/teaser_v1_static.yamlindex e9e95c9f..a0a4e64d 100644--- a/harness/bench/prompts/teaser_v1_static.yaml+++ b/harness/bench/prompts/teaser_v1_static.yaml@@ -200,3 +200,107 @@ prompts:width: 0.9depth: 0.9height: 1.1++# ===========================================================================+# SHARPENED RE-RUNS — these are the prompts the teaser page actually ships.+# The original id each one replaces is kept above it, so the pair stays legible;+# see docs/TEASER.md for the picture each attempt produced.+# NOTE: BenchPrompt (bench/run_bench.py) carries only id/prompt/tier/category/+# must_have/dimensions_m/tags/language. The re-runs also used --style, --must-not+# and --candidates on the CLI; those are recorded as comments here rather than as+# keys, because an unknown key is dropped silently.+# ===========================================================================+# SHIPPED. Supersedes tsr_cad_radial_engine (same judged 0.600, broken picture: one barrel+# buried through the ground plane, exhaust stubs reading as detached sticks, no stand, all grey).++# CLI flags used, not expressible in this schema:+# --style "clean machined-metal product shot: pale satin aluminium fins, dark grey cast steel crankcase, warm polished brass pushrod tubes and black rocker covers, crisp fillets and chamfers on every machined edge"+# --must-not "a cylinder barrel buried in or passing through the ground plane"+# --must-not "exhaust stubs or pushrods detached from the heads, floating in space, or pointing in inconsistent directions"+# --must-not "an all-grey untextured look with no colour separation between crankcase, barrels and pushrods"+# --candidates 2+# --profile quality+- id: tsr_cad_radial_engine_v2+ tier: hard+ category: mechanisms+ tags:+ - teaser+ - rerun+ - hero+ language: cadquery+ prompt: 'a five-cylinder radial aero engine displayed on a low steel stand, in the correct museum orientation:+ ONE cylinder points straight UP at top dead centre and the other four are at 72 degree steps, so there+ is NO cylinder pointing straight down and the engine sits clear of the ground on its stand. A dark grey+ machined steel crankcase carries a bolted circular front cover and a splined propeller hub on the axis;+ each of the five barrels is a pale satin aluminium tube wrapped in evenly pitched square cooling fins,+ capped by a domed head with a black rocker cover; a slim brass pushrod tube lies flush along the front+ of each barrel from the crankcase to its rocker cover; a short polished steel exhaust stub leaves each+ head, all five swept the same way around the ring.++ '+ must_have:+ - one cylinder barrel pointing straight up at top dead centre, the other four at 72 degree steps around+ the crankcase axis+ - no cylinder barrel pointing straight down; the lowest part of the engine is the steel stand, and the stand+ sits flat on the ground plane+ - a low steel stand under the crankcase, welded to it, carrying the whole engine clear of the ground+ - at least 8 cooling fins on every barrel, all the same pitch and the same outer diameter+ - a domed head with a black rocker cover on each cylinder, sitting flush on the top of its barrel+ - one brass pushrod tube per cylinder, lying flush along the barrel from the crankcase to its rocker cover,+ touching both+ - circular crankcase about 0.36 m in diameter with a front cover carrying at least 8 bolt heads on a circular+ pattern+ - propeller hub on the crankcase axis with at least 6 bolt holes+ - one exhaust stub per head, each rooted flush in its head, all five angled the same way around the ring+ - pale aluminium barrels, a darker steel crankcase, brass pushrod tubes and black rocker covers as four+ clearly distinct part colours+ - no barrel, pushrod or exhaust stub intersects or floats away from a neighbour+ dimensions_m:+ width: 0.9+ depth: 0.42+ height: 0.98+# SHIPPED at a LOWER judged score than the run it replaces (0.600 vs 0.841): v1 was a clean brass+# armature with plain white shades and ZERO hanging crystal, i.e. none of the sparkle the prompt+# was picked for.++# CLI flags used, not expressible in this schema:+# --style "expensive lighting-catalogue product shot: warm polished brass against clear cut crystal and frosted glass, every facet catching a highlight, strong specular sparkle, no flat matte surfaces"+# --must-not "a chandelier with no hanging crystal drops, or with the drops too small or too few to see"+# --must-not "plain white cylinder shades with no finial"+# --must-not "drops merged into the arms or hidden inside the tiers"+# --candidates 2+# --profile quality+- id: tsr_tjs_deco_chandelier_v2+ tier: hard+ category: lighting+ tags:+ - teaser+ - rerun+ language: threejs+ prompt: 'an art-deco brass chandelier dripping with cut crystal: a stepped brass ceiling canopy and a chain+ drop to a fluted central stem; two tiers of curved brass arms, six above and eight below, each ending+ in a frosted glass candle sleeve with a small tapered flame-tip finial; and hanging from the rim of BOTH+ tiers, in even concentric rings, more than forty stepped faceted crystal drops - long slender prisms with+ cut facets, each hanging free on its own short brass link so the whole lower half of the fixture reads+ as a curtain of glass; a fluted clear glass bowl at the crown under the stem.++ '+ must_have:+ - central fluted brass stem with a stepped ceiling canopy and a chain of at least 5 visible links above+ it+ - an upper tier of 6 curved brass arms and a lower tier of 8 curved brass arms, each tier evenly spaced+ - a frosted glass candle sleeve with a small tapered flame-tip finial at the end of every arm+ - MORE THAN 40 faceted crystal drops, clearly visible as separate slender prisms, hanging in even concentric+ rings from the rims of BOTH tiers+ - each crystal drop is at least 0.06 m long, hangs vertically on its own short brass link, and hangs free+ below its tier+ - the rings of drops are the dominant visual feature of the lower half of the chandelier+ - fluted clear glass bowl at the crown under the stem+ - overall diameter about 0.90 m and overall height about 1.10 m+ - warm brass arms and stem clearly distinct in colour from the clear crystal drops and the frosted white+ shades+ - no drop intersects an arm, a shade or another drop+ dimensions_m:+ width: 0.9+ depth: 0.9+ height: 1.1diff --git a/harness/bench/teaser/build_media.py b/harness/bench/teaser/build_media.pynew file mode 100644index 00000000..ea680b07--- /dev/null+++ b/harness/bench/teaser/build_media.py@@ -0,0 +1,114 @@+"""Copy + downscale the curated teaser stills into bench/out/teaser/site/media."""+from __future__ import annotations++import json+import os+import shutil+from pathlib import Path++from PIL import Image++HARNESS = Path(__file__).resolve().parents[2]+R = HARNESS / "bench/out/teaser/runs"+TT = HARNESS / "bench/out/teaser/turntables"+# Turntables for the four Blender heroes (bench/teaser/render_turntables.py writes them here).+ASSET_TT = Path(os.environ.get("TEASER_ASSET_TURNTABLES", str(TT / "assets")))+OUT = HARNESS / "bench/out/teaser/site/media"+OUT.mkdir(parents=True, exist_ok=True)++def jpg(src: Path, name: str, maxw: int = 1280, q: int = 88) -> None:+ im = Image.open(src).convert("RGB")+ if im.width > maxw:+ im = im.resize((maxw, round(im.height * maxw / im.width)), Image.LANCZOS)+ im.save(OUT / f"{name}.jpg", quality=q, optimize=True, progressive=True)++def gif(src: Path, name: str) -> None:+ shutil.copy2(src, OUT / f"{name}.gif")++# ---- static objects -------------------------------------------------------+OBJ = {+ "penny_farthing": ("tsr_obj_penny_farthing", "r01", "view_left.png"),+ "arcade": ("tsr_tjs_arcade_cabinet", "r00", "view_low_front_left.png"),+ "lighthouse": ("tsr_obj_lighthouse", "r02", "view_low_front_left.png"),+ "gramophone": ("tsr_obj_gramophone", "r00", "view_front_right_34.png"),+ "radial": ("tsr_cad_radial_engine_v2", "r02", "view_front_right_34.png"),+ "chandelier": ("tsr_tjs_deco_chandelier_v2", "r02", "view_front_right_34.png"),+}+for name, (slug, rnd, view) in OBJ.items():+ d = R / slug / "artifacts" / "renders" / rnd+ jpg(d / view, name, 900)+ jpg(d / "sheet.png", f"{name}_sheet", 1400)++for name, slug in [("penny_farthing", "tsr_obj_penny_farthing"), ("arcade", "tsr_tjs_arcade_cabinet"),+ ("lighthouse", "tsr_obj_lighthouse"), ("gramophone", "tsr_obj_gramophone"),+ ("radial", "tsr_cad_radial_engine_v2"), ("chandelier", "tsr_tjs_deco_chandelier_v2")]:+ src = TT / f"{slug}.gif"+ if src.is_file():+ gif(src, f"tt_{name}")++# ---- articulated ----------------------------------------------------------+rc = R / "tsr_art_roll_cabinet"+jpg(rc / "deliverable/hero_cascade.png", "rollcab", 900)+jpg(rc / "artifacts/renders/r00/sheet.png", "rollcab_sheet", 1400)+jpg(rc / "deliverable/articulation_sheet.png", "rollcab_art", 1400)+gif(rc / "deliverable/joint_sweep.gif", "tt_rollcab")++ck = R / "tsr_art_grandfather_clock_v2"+jpg(ck / "deliverable/hero_door_open.png", "clock", 900)+jpg(ck / "artifacts/renders/r01/sheet.png", "clock_sheet", 1400)+jpg(ck / "deliverable/motion_strip.png", "clock_strip", 1400)+gif(ck / "deliverable/joint_motion.gif", "tt_clock")++# ---- scenes ---------------------------------------------------------------+SCN = {+ "temple": ("tsr_scn_temple_night_v2", "r01",+ [("Establishing_t0.png", "a"), ("Establishing_t1p5.png", "b"),+ ("CenserDetail_t0.png", "censer"), ("BridgeEye_t0.png", "bridge")]),+ "boat": ("tsr_scn_boat_workshop_v2", "r03",+ [("Establishing_t0.png", "a"), ("Establishing_t1p5.png", "b"),+ ("WorkbenchEye_t0.png", "bench"), ("SkiffDetail_t0.png", "skiff"),+ ("StoveCornerDetail_t0.png", "stove")]),+ "alley": ("tsr_scn_neon_alley_v2", "r04",+ [("Establishing_t0.png", "a"), ("Establishing_t1p5.png", "b"),+ ("LowAngleReflections_t0.png", "low"), ("SignDetail_t0.png", "sign")]),+}+for key, (slug, rnd, shots) in SCN.items():+ d = R / slug / "artifacts" / "renders" / rnd+ for fn, tag in shots:+ jpg(d / fn, f"{key}_{tag}", 1024)+ jpg(d / "sheet.png", f"{key}_sheet", 1400)++# ---- graphics -------------------------------------------------------------+GFX = {+ "aurora": ("tsr_gfx_aurora_ridge_v3", "r00", "frame_t02.50.png"),+ "murmur": ("tsr_ogl_murmuration", "r03", "frame_t01.00.png"),+ "accretion": ("tsr_gfx_accretion_disc", "r01", "frame_t02.50.png"),+ "rain": ("tsr_gfx_rain_window", "r00", "frame_t02.50.png"),+}+for name, (slug, rnd, frame) in GFX.items():+ d = R / slug / "artifacts" / "renders" / rnd+ jpg(d / frame, name, 1100)+ jpg(d / "sheet.png", f"{name}_strip", 1400)+ gif(R / slug / "deliverable" / "preview.gif", f"tt_{name}")++# ---- blender heroes (multi-language panel) --------------------------------+ASSETS = {+ "lantern": ("tsr_scn_temple_night_v2", "stone_lantern"),+ "censer": ("tsr_scn_temple_night_v2", "bronze_censer"),+ "skiff": ("tsr_scn_boat_workshop_v2", "clinker_skiff"),+ "stove": ("tsr_scn_boat_workshop_v2", "potbelly_stove"),+}+sizes = {}+for name, (slug, snake) in ASSETS.items():+ d = R / slug / "_assets" / snake / "artifacts" / "renders" / "r00" / "assets" / snake+ jpg(d / "view_front_right_34.png", f"asset_{name}", 700)+ jpg(d / "sheet.png", f"asset_{name}_sheet", 1400)+ g = ASSET_TT / f"{snake}.gif"+ if g.is_file():+ gif(g, f"tt_asset_{name}")+ sizes[name] = (R / slug / "public" / "assets" / f"{snake}.glb").stat().st_size++(OUT.parent / "asset_glb_sizes.json").write_text(json.dumps(sizes, indent=1))+tot = sum(p.stat().st_size for p in OUT.iterdir())+print(f"{len(list(OUT.iterdir()))} files, {tot/1e6:.1f} MB")+print(json.dumps(sizes))diff --git a/harness/bench/teaser/build_page.py b/harness/bench/teaser/build_page.pynew file mode 100644index 00000000..34c97806--- /dev/null+++ b/harness/bench/teaser/build_page.py@@ -0,0 +1,473 @@+"""Render docs/teaser.html from content.py. Run: python bench/teaser/build_page.py"""+from __future__ import annotations++import html+import sys+from pathlib import Path++sys.path.insert(0, str(Path(__file__).parent))+from content import ARTIC, GFX, LEAD, ML_ASSETS, SCENES, STATIC, M # noqa: E402++OUT = Path(__file__).resolve().parents[2] / "docs" / "teaser.html"++def esc(s: str) -> str:+ return html.escape(s, quote=False)++def chips(langs):+ return "".join(f'<span class="chip">{esc(x)}</span>' for x in langs)++def verdict_badge(v, score):+ cls = "ok" if v == "reads" else "mid"+ word = "reads" if v == "reads" else "usable"+ return (f'<span class="verdict {cls}"><b>{word}</b>'+ f'<span class="score">judge {score:.3f}</span></span>')++def viewer(card_id, media):+ tabs, panes = [], []+ for i, (kind, name, label) in enumerate(media):+ act = " on" if i == 0 else ""+ tabs.append(f'<button class="tab{act}" data-t="{card_id}-{i}">{esc(label)}</button>')+ ext = "gif" if kind == "gif" else "jpg"+ src = f"{M}{name}.{ext}"+ attr = "data-src" if kind == "gif" else "src" # GIFs are heavy: fetch on demand+ img = f'<img {attr}="{src}" alt="{esc(label)}" loading="lazy">'+ panes.append(f'<figure class="pane{act}" id="{card_id}-{i}">{img}</figure>')+ return (f'<div class="viewer" data-card="{card_id}">'+ f'<div class="tabs">{"".join(tabs)}</div>'+ f'<div class="stage">{"".join(panes)}</div></div>')++def card(c, kind="object"):+ rerun = f'<span class="chip warn">{esc(c["rerun"])}</span>' if c.get("rerun") else ""+ if kind == "scene":+ shots = "".join(+ f'<figure class="shot"><img src="{M}{n}.jpg" alt="{esc(cap)}" loading="lazy">'+ f'<figcaption>{esc(cap)}</figcaption></figure>' for n, cap in c["shots"])+ sn, sl = c["sheet"]+ media_block = (+ f'<div class="shots">{shots}</div>'+ f'<details class="sheetwrap"><summary>Contact sheet — {esc(sl)}</summary>'+ f'<img data-src="{M}{sn}.jpg" alt="contact sheet" loading="lazy"></details>')+ else:+ media_block = viewer(c["id"], c["media"])+ return f'''+<article class="card" id="c-{c['id']}">+ <div class="card-media">{media_block}</div>+ <div class="card-body">+ <h3>{esc(c['title'])}</h3>+ <div class="chips">{chips(c['langs'])}{rerun}</div>+ {verdict_badge(c['verdict'], c['score'])}+ <details class="prompt"><summary>prompt</summary><p>{esc(c['prompt'])}</p></details>+ <p class="note">{c['note']}</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>{esc(c['gen'])}</dd></div>+ <div><dt>run</dt><dd>{esc(c['rounds'])} · {esc(c['mins'])}</dd></div>+ <div><dt>slug</dt><dd><code>{esc(c['slug'])}</code></dd></div>+ </dl>+ </div>+</article>'''++def asset_tile(a):+ flag = ('<span class="pill ok">in scene from the GLB</span>' if a["verified"]+ else '<span class="pill warn">GLB not used in scene</span>')+ return f'''+<div class="asset{'' if a['verified'] else ' caveat'}">+ <div class="asset-pics">+ <img src="{M}asset_{a['key']}.jpg" alt="{esc(a['name'])}" loading="lazy" class="still">+ <img data-src="{M}tt_asset_{a['key']}.gif" alt="{esc(a['name'])} turntable" loading="lazy" class="turn">+ </div>+ <h4>{esc(a['name'])} {flag}</h4>+ <p>{esc(a['desc'])}</p>+ <ul class="files">+ <li><span>bpy</span><code>{esc(a['src'])}</code></li>+ <li><span>glb</span><code>{esc(a['glb'])}</code> <span class="kb">{a['kb']} KB</span></li>+ <li><span>js</span><code>{esc(a['use'])}</code></li>+ </ul>+ <details class="sheetwrap"><summary>the object on its own · 8 views</summary>+ <img data-src="{M}asset_{a['key']}_sheet.jpg" alt="{esc(a['name'])} contact sheet" loading="lazy">+ </details>+</div>'''++HEAD = '''<!doctype html>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width,initial-scale=1">+<title>3dcodeverse — teaser</title>+<style>+:root{+ --bg:#08090c; --bg2:#0d0f14; --surface:#11141a; --line:#1e222c; --line2:#2a3040;+ --fg:#e7e9ef; --dim:#98a0b0; --dim2:#6b7385;+ --amber:#f2a94b; --cyan:#5ed2e4; --green:#6fd08c; --pink:#ff5fa8;+ --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;+ --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,"Helvetica Neue",Arial,sans-serif;+}+*{box-sizing:border-box}+html{scroll-behavior:smooth}+body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 var(--sans);+ -webkit-font-smoothing:antialiased;overflow-x:hidden}+img{max-width:100%;display:block}+code{font-family:var(--mono);font-size:.85em;color:var(--cyan)}+a{color:var(--amber)}+.wrap{max-width:1240px;margin:0 auto;padding:0 28px}++/* ---- nav ---- */+nav{position:sticky;top:0;z-index:40;background:rgba(8,9,12,.86);+ backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}+nav .wrap{display:flex;align-items:center;gap:26px;height:54px}+nav .mark{font-weight:800;letter-spacing:-.03em;font-size:15px}+nav .mark i{color:var(--amber);font-style:normal}+nav a{color:var(--dim);text-decoration:none;font:500 12.5px/1 var(--mono);+ letter-spacing:.06em;text-transform:uppercase}+nav a:hover{color:var(--fg)}+nav .sp{flex:1}++/* ---- masthead ---- */+header{padding:96px 0 56px;position:relative;overflow:hidden}+header::before{content:"";position:absolute;inset:-40% -20% auto -20%;height:120%;+ background:radial-gradient(60% 60% at 30% 0%,rgba(242,169,75,.13),transparent 70%),+ radial-gradient(50% 50% at 80% 20%,rgba(94,210,228,.10),transparent 70%);+ pointer-events:none}+header .wrap{position:relative}+h1{margin:0;font-size:clamp(44px,7.4vw,96px);line-height:.94;letter-spacing:-.045em;+ font-weight:820}+h1 em{font-style:normal;color:var(--amber)}+.kicker{font:600 12px/1 var(--mono);letter-spacing:.22em;text-transform:uppercase;+ color:var(--dim2);margin:0 0 22px}+.lede{max-width:66ch;margin:26px 0 0;font-size:19px;color:var(--dim)}+.lede b{color:var(--fg);font-weight:600}+.stats{display:flex;flex-wrap:wrap;gap:0;margin:44px 0 0;border-top:1px solid var(--line);+ border-bottom:1px solid var(--line)}+.stats div{flex:1 1 130px;padding:18px 22px 16px;border-right:1px solid var(--line)}+.stats div:last-child{border-right:0}+.stats b{display:block;font-size:30px;font-weight:750;letter-spacing:-.03em}+.stats span{font:500 11px/1.4 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--dim2)}++/* ---- sections ---- */+section{padding:76px 0 8px}+.shead{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;+ border-top:1px solid var(--line2);padding-top:20px;margin-bottom:34px}+.shead h2{margin:0;font-size:30px;letter-spacing:-.03em;font-weight:760}+.shead p{margin:0;color:var(--dim2);font:500 12px/1.5 var(--mono);letter-spacing:.06em;+ text-transform:uppercase}+.shead .num{font:700 12px/1 var(--mono);color:var(--amber);letter-spacing:.14em}++/* ---- cards ---- */+.card{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:36px;+ padding:34px 0 40px;border-bottom:1px solid var(--line)}+.card:last-child{border-bottom:0}+.card-body h3{margin:0 0 12px;font-size:25px;letter-spacing:-.025em;font-weight:720}+.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}+.chip{font:600 11px/1 var(--mono);letter-spacing:.05em;padding:6px 9px;border-radius:3px;+ background:#161a22;border:1px solid var(--line2);color:var(--cyan)}+.chip.warn{color:var(--amber);border-color:#3a2f1c;background:#1a1610}+.verdict{display:inline-flex;align-items:center;gap:10px;margin-bottom:16px;+ font:700 11px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;+ padding:7px 11px;border-radius:3px}+.verdict.ok{background:rgba(111,208,140,.10);color:var(--green);border:1px solid rgba(111,208,140,.3)}+.verdict.mid{background:rgba(242,169,75,.10);color:var(--amber);border:1px solid rgba(242,169,75,.32)}+.verdict .score{color:var(--dim2);letter-spacing:.08em;font-weight:500}+.note{color:var(--dim);font-size:15px;margin:0 0 18px}+.note b{color:var(--fg)}+details.prompt{margin:0 0 18px;border-left:2px solid var(--line2);padding-left:14px}+details.prompt summary{cursor:pointer;font:600 11px/1 var(--mono);letter-spacing:.14em;+ text-transform:uppercase;color:var(--dim2);list-style:none}+details.prompt summary::-webkit-details-marker{display:none}+details.prompt summary::before{content:"▸ ";color:var(--amber)}+details.prompt[open] summary::before{content:"▾ "}+details.prompt p{margin:12px 0 2px;font-size:14px;color:var(--dim);font-style:italic}+dl.meta{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:13px 26px;+ border-top:1px solid var(--line);padding-top:14px}+dl.meta div{min-width:0}+dl.meta dt{font:600 10px/1.6 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--dim2)}+dl.meta dd{margin:0;font:500 11.8px/1.6 var(--mono);color:var(--dim);+ word-break:normal;overflow-wrap:anywhere}++/* ---- viewer ---- */+.viewer{position:sticky;top:74px}+.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}+.tab{font:600 10.5px/1 var(--mono);letter-spacing:.09em;text-transform:uppercase;+ padding:8px 11px;border-radius:3px;border:1px solid var(--line2);background:transparent;+ color:var(--dim2);cursor:pointer;transition:.14s}+.tab:hover{color:var(--fg);border-color:#3a4356}+.tab.on{background:var(--fg);color:#0a0b0e;border-color:var(--fg)}+.stage{background:var(--bg2);border:1px solid var(--line);border-radius:5px;overflow:hidden}+.pane{margin:0;display:none}+.pane.on{display:block}+.pane img{width:100%;cursor:zoom-in}++/* ---- scene shots ---- */+.shots{display:grid;grid-template-columns:1fr 1fr;gap:10px}+.shots .shot:first-child,.shots .shot:nth-child(2){grid-column:span 1}+.shot{margin:0;background:var(--bg2);border:1px solid var(--line);border-radius:5px;overflow:hidden}+.shot img{width:100%;cursor:zoom-in}+.shot figcaption{font:600 10.5px/1.5 var(--mono);letter-spacing:.06em;color:var(--dim2);+ padding:8px 10px;border-top:1px solid var(--line)}+details.sheetwrap{margin-top:12px}+details.sheetwrap summary{cursor:pointer;font:600 10.5px/1 var(--mono);letter-spacing:.12em;+ text-transform:uppercase;color:var(--dim2);padding:9px 0}+details.sheetwrap img{border:1px solid var(--line);border-radius:5px;margin-top:8px}++/* ---- lead ---- */+.lead{border:1px solid var(--line2);border-radius:8px;background:+ linear-gradient(180deg,rgba(242,169,75,.045),transparent 40%);padding:0 30px}+.lead .card{border-bottom:0}+.lead-tag{font:700 11px/1 var(--mono);letter-spacing:.22em;text-transform:uppercase;+ color:var(--amber);padding:22px 0 0}++/* ---- multi-language panel ---- */+#multilang{background:+ radial-gradient(70% 100% at 50% 0%,rgba(94,210,228,.07),transparent 70%),var(--bg2);+ border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);+ margin-top:70px;padding:70px 0 78px}+.pipe{display:flex;align-items:stretch;gap:0;flex-wrap:wrap;margin:30px 0 46px;+ border:1px solid var(--line2);border-radius:6px;overflow:hidden}+.pipe .step{flex:1 1 200px;padding:20px 22px;border-right:1px solid var(--line2);+ background:var(--surface)}+.pipe .step:last-child{border-right:0}+.pipe .n{font:700 10px/1 var(--mono);letter-spacing:.2em;color:var(--amber);display:block;margin-bottom:9px}+.pipe .step h5{margin:0 0 6px;font-size:15px;font-weight:680;letter-spacing:-.01em}+.pipe .step p{margin:0;font-size:13px;color:var(--dim2);line-height:1.55}+.pipe .step code{font-size:11.5px}+.assets{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}+.asset{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:14px}+.asset.caveat{border-color:#3a2f1c;background:#14110d}+.asset-pics{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}+.asset-pics img{background:#0a0b0e;border-radius:4px;cursor:zoom-in}+.asset h4{margin:0 0 8px;font-size:15px;font-weight:700;letter-spacing:-.01em;+ display:flex;flex-wrap:wrap;gap:8px;align-items:center}+.pill{font:600 9.5px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;+ padding:4px 7px;border-radius:3px}+.pill.ok{background:rgba(111,208,140,.12);color:var(--green)}+.pill.warn{background:rgba(242,169,75,.14);color:var(--amber)}+.asset p{margin:0 0 12px;font-size:13.5px;color:var(--dim);line-height:1.55}+ul.files{list-style:none;margin:0;padding:10px 0 0;border-top:1px solid var(--line)}+ul.files li{display:flex;gap:9px;font-size:11.5px;line-height:1.7;align-items:baseline}+ul.files span{font:700 9.5px/1.7 var(--mono);letter-spacing:.1em;text-transform:uppercase;+ color:var(--dim2);min-width:26px}+ul.files .kb{min-width:0;white-space:nowrap;text-transform:none;letter-spacing:0;+ font-weight:500;color:var(--dim2)}+ul.files code{color:var(--dim);word-break:normal;overflow-wrap:anywhere;line-height:1.65}+.inscene{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:34px}+.inscene figure{margin:0;background:var(--surface);border:1px solid var(--line);+ border-radius:6px;overflow:hidden}+.inscene img{cursor:zoom-in}+.inscene figcaption{padding:12px 14px;font-size:13px;color:var(--dim);line-height:1.5}+.inscene figcaption b{display:block;font:700 10px/1.6 var(--mono);letter-spacing:.12em;+ text-transform:uppercase;color:var(--cyan);margin-bottom:4px}+.caveatbox{margin-top:30px;border-left:2px solid var(--amber);padding:4px 0 4px 18px;+ color:var(--dim);font-size:14.5px;max-width:82ch}+.caveatbox b{color:var(--amber)}++/* ---- footer ---- */+footer{border-top:1px solid var(--line2);margin-top:78px;padding:56px 0 90px;color:var(--dim2)}+footer h4{margin:0 0 12px;font-size:16px;color:var(--fg);font-weight:700}+.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:38px}+footer ul{margin:0;padding-left:18px;font-size:14px;line-height:1.75}+footer li b{color:var(--dim)}+footer p{font-size:14px;line-height:1.7;margin:0 0 12px}+footer pre{background:var(--surface);border:1px solid var(--line);border-radius:5px;+ padding:13px 15px;overflow-x:auto;font-family:var(--mono);font-size:12px;color:var(--dim)}++/* ---- lightbox ---- */+#lb{position:fixed;inset:0;z-index:100;background:rgba(5,6,8,.96);display:none;+ align-items:center;justify-content:center;padding:26px;cursor:zoom-out}+#lb.on{display:flex}+#lb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}++@media(max-width:920px){+ .card{grid-template-columns:1fr;gap:22px}+ .viewer{position:static}+ .wrap{padding:0 18px}+ .lead{padding:0 16px}+ header{padding:60px 0 40px}+}+</style>+'''++def build() -> str:+ p = [HEAD]+ a = p.append++ # nav+ a('''<nav><div class="wrap">+ <span class="mark">3dcodeverse<i>.</i></span>+ <a href="#multilang">multi-language</a>+ <a href="#static">objects</a>+ <a href="#artic">articulated</a>+ <a href="#scenes">scenes</a>+ <a href="#gfx">graphics</a>+ <span class="sp"></span>+ <a href="#notes">what is not here</a>+</div></nav>''')++ # masthead+ a('''<header><div class="wrap">+ <p class="kicker">a language model writes the code · the harness builds, measures and renders it</p>+ <h1>Fifteen things<br>made out of <em>raw 3D code</em>.</h1>+ <p class="lede">No mesh generator, no asset store, no SDK. Every artefact on this page is a model writing+ <b>ordinary source</b> — Blender <code>bpy</code>, CadQuery, three.js, URDF, GLSL, Python OpenGL — into a+ workspace with spatial tools, then looking at its own renders and fixing what it sees. The harness owns the+ build, the gates, the eight canonical cameras and the judge. <b>Every caption below is honest about what is+ still wrong.</b></p>+ <div class="stats">+ <div><b>15</b><span>artefacts shown</span></div>+ <div><b>6</b><span>languages</span></div>+ <div><b>4</b><span>tracks</span></div>+ <div><b>2</b><span>generators</span></div>+ <div><b>1</b><span>scene proving bpy → GLB → three.js</span></div>+ </div>+</div></header>''')++ # lead+ a('<div class="wrap"><div class="lead"><p class="lead-tag">the lead</p>')+ a(card(LEAD))+ a('</div></div>')++ # ---- multi-language panel ----+ a('''<section id="multilang"><div class="wrap">+ <div class="shead"><span class="num">01</span><h2>One scene, three languages</h2>+ <p>bpy → glb → three.js + glsl</p></div>+ <p class="lede" style="margin-top:-14px">This is the thing a single-language pipeline cannot show. Two hero props+ per scene are authored as <b>real Blender Python</b> in their own sub-workspace, with their own plan, their own+ agent session and their own eight-view review. The harness compiles each to <b>GLB</b>. A separate three.js+ session then loads those GLBs and composes them into a scene whose water, sky, sunbeams and particles are+ <b>hand-written GLSL</b>. Below: the assets alone, then the same assets inside the assembled frame.</p>++ <div class="pipe">+ <div class="step"><span class="n">01 · PYTHON</span><h5>Blender bpy</h5>+ <p>A per-asset agent session writes <code>bmesh</code> geometry and Principled BSDF materials in+ <code>_assets/<name>/src/model.py</code>, and reviews its own renders before finishing.</p></div>+ <div class="step"><span class="n">02 · BINARY</span><h5>GLB</h5>+ <p>The harness runs Blender headless, takes a census and exports+ <code>artifacts/object.glb</code>, then copies it to <code>public/assets/<name>.glb</code>.</p></div>+ <div class="step"><span class="n">03 · JAVASCRIPT</span><h5>three.js</h5>+ <p><code>src/scene.js</code> loads each GLB with <code>loaders.gltf.loadAsync</code> and the zone modules+ clone it into place beside procedural trees, bridges, benches and racks.</p></div>+ <div class="step"><span class="n">04 · GLSL</span><h5>Shaders</h5>+ <p>Raw vertex/fragment pairs in <code>src/shaders/</code> drive the pond, the sky and the volumetric+ sunbeams, each with a live <code>uTime</code> uniform the render rig samples at two times.</p></div>+ </div>++ <div class="assets">''')+ for asset in ML_ASSETS:+ a(asset_tile(asset))+ a('''</div>++ <div class="inscene">+ <figure><img src="''' + M + '''temple_censer.jpg" alt="censer in scene" loading="lazy">+ <figcaption><b>Blender in the frame</b>The BronzeCenser GLB, lit by its own charcoal glow inside the+ three.js temple courtyard. Pierced dome, ring handles and relief band all survive the trip through+ glTF — the best single detail frame in the wave.</figcaption></figure>+ <figure><img src="''' + M + '''temple_bridge.jpg" alt="pond shader" loading="lazy">+ <figcaption><b>GLSL in the frame</b>The custom pond <code>ShaderMaterial</code>+ (<code>src/shaders/water.js</code>, uniforms <code>uTime/uDeep/uShallow/uSunDir</code>) carrying the+ lantern flames as long warm reflection streaks, with three StoneLantern GLB instances along the path.+ </figcaption></figure>+ <figure><img src="''' + M + '''boat_stove.jpg" alt="stove in scene" loading="lazy">+ <figcaption><b>Both at once</b>The PotbellyStove GLB in the workshop corner — bellied cast iron from bpy,+ the flue and the hot door glow from three.js, and the hazy shafts from+ <code>VolumetricSunbeamShader</code>.</figcaption></figure>+ </div>++ <p class="caveatbox"><b>Verified, and one caveat.</b> Nothing in the harness enforces asset kind, so this was+ checked by hand rather than trusted. In the temple, both heroes are genuine end to end:+ <code>plan.json → assets[].kind = blender_glb</code>, the GLBs exist, and+ <code>src/assets/stone_lantern.js</code> is a loader that <i>throws</i> if the GLB is missing. In the boat+ workshop, PotbellyStove is genuine — but <b>ClinkerSkiff is not</b>: the GLB is authored, compiled and still+ loaded at <code>src/scene.js:12</code>, yet <code>src/zones/central_bay.js:59</code> calls a+ <i>procedural</i> three.js rebuild that a refine round wrote over the asset slot, so the hull you see in the+ workshop frames is JavaScript, not Blender. The standalone skiff card above is the real bpy asset. Filed as a+ defect; the temple is the clean demonstration.</p>+</div></section>''')++ def section(anchor, num, title, sub, cards, kind="object"):+ a(f'<section id="{anchor}"><div class="wrap"><div class="shead">'+ f'<span class="num">{num}</span><h2>{title}</h2><p>{sub}</p></div>')+ for c in cards:+ a(card(c, kind))+ a('</div></section>')++ section("static", "02", "Static objects", "blender · cadquery · three.js", STATIC)+ section("artic", "03", "Articulated", "urdf + blender · joints that move", ARTIC)+ section("scenes", "04", "Scenes", "three.js + glsl · authored cameras at two times", SCENES, "scene")+ section("gfx", "05", "Graphics", "glsl fragment shaders · python opengl", GFX)++ # footer+ a('''<footer id="notes"><div class="wrap">+ <div class="cols">+ <div>+ <h4>What is not on this page</h4>+ <ul>+ <li><b>Espresso portafilter (CadQuery)</b> — rated <i>no</i> and left out. Two attempts; the second is+ better geometry (the perforated basket resolves, the lugs became tabs) but the body is still flat+ white on stubby legs. The cause is structural: the CadQuery track's only material channel is+ <code>cq.Color(r,g,b)</code>, so "polished stainless" is unreachable by construction, and its texture+ pass produced zero textures. A third attempt would fail the same way.</li>+ <li><b>Ten superseded attempts</b> — the first radial engine, the first chandelier, the first clock, the+ first temple / workshop / alley, two extra rain windows, two extra auroras and a second accretion disc.+ Each is on disk; each lost to the version shown here, and the caption of the winner says why.</li>+ <li><b>mp4 turntables</b> — ffmpeg is not installed on this machine, so every motion clip here is an+ animated GIF via the PIL fallback. Nothing about the harness requires that.</li>+ <li><b>Scene textures</b> — tileable texture packs were generated for two scenes and could not be wired+ in without re-planning the passing run.</li>+ </ul>+ </div>+ <div>+ <h4>How to read the score</h4>+ <p>The number on each card is the harness judge (<code>gemini-3.1-pro-preview</code>, falling back to+ flash × 3), and on this page it is a <b>filter, not the point</b> — it decided whether a piece was worth+ looking at, and then a human looked. Two cards ship at a <i>lower</i> judged score than the run they+ replace, because the higher-scoring run did not contain the thing the prompt was chosen for. The temple+ courtyard is the sharpest case: the washed-out first attempt scored 0.729 and the correct-looking night+ scored 0.286.</p>+ <h4 style="margin-top:26px">Regenerate</h4>+ <pre>pip install -e harness+cd harness+3dcv bench run bench/prompts/teaser_v1_static.yaml \\+ --generator api-agent:gemini:gemini-3.7-flash+3dcv render <slug> # 8 canonical views+3dcv texture pass <slug> # text-to-image material pass+python -m http.server -d . 8931 # this page: /docs/teaser.html</pre>+ <p>Prompt sheets: <code>bench/prompts/teaser_v1_{static,articulated,scene,graphics}.yaml</code> —+ the sharpened re-runs are in the same files, suffixed <code>_v2</code> / <code>_v3</code>.+ Full method notes: <code>docs/TEASER.md</code>.</p>+ </div>+ </div>+</div></footer>++<div id="lb"><img alt=""></div>+<script>+// lazy panes: only fetch a tab's image when it is first shown (the GIFs are heavy)+function show(el){ if(el && el.dataset.src){ el.src = el.dataset.src; delete el.dataset.src; } }+document.querySelectorAll('.viewer').forEach(v=>{+ v.querySelectorAll('.tab').forEach(t=>t.addEventListener('click',()=>{+ v.querySelectorAll('.tab').forEach(x=>x.classList.remove('on'));+ v.querySelectorAll('.pane').forEach(x=>x.classList.remove('on'));+ t.classList.add('on');+ const pane = document.getElementById(t.dataset.t);+ pane.classList.add('on'); show(pane.querySelector('img'));+ }));+});+// everything else: load when it scrolls near+const io = new IntersectionObserver((es)=>es.forEach(e=>{+ if(e.isIntersecting){ show(e.target); io.unobserve(e.target); }+}),{rootMargin:'400px'});+document.querySelectorAll('img[data-src]').forEach(i=>{+ if(!i.closest('.pane')) io.observe(i);+});+document.querySelectorAll('details').forEach(d=>d.addEventListener('toggle',()=>{+ if(d.open) d.querySelectorAll('img[data-src]').forEach(show);+}));+// lightbox+const lb = document.getElementById('lb'), lbi = lb.querySelector('img');+document.addEventListener('click',e=>{+ const t = e.target;+ if(t.tagName==='IMG' && t.closest('.pane,.shot,.asset-pics,.inscene,.sheetwrap')){+ lbi.src = t.currentSrc || t.src; lb.classList.add('on');+ } else if(t.closest('#lb')){ lb.classList.remove('on'); lbi.removeAttribute('src'); }+});+addEventListener('keydown',e=>{ if(e.key==='Escape'){ lb.classList.remove('on'); lbi.removeAttribute('src'); }});+</script>''')+ return "\n".join(p)++OUT.parent.mkdir(parents=True, exist_ok=True)+OUT.write_text(build(), encoding="utf-8")+print(f"{OUT} {OUT.stat().st_size/1024:.0f} KB")diff --git a/harness/bench/teaser/content.py b/harness/bench/teaser/content.pynew file mode 100644index 00000000..6d162f42--- /dev/null+++ b/harness/bench/teaser/content.py@@ -0,0 +1,328 @@+"""Curated teaser content — one entry per shipped artefact."""++M = "../bench/out/teaser/site/media/"++LEAD = dict(+ id="penny", title="Penny-farthing", slug="tsr_obj_penny_farthing",+ langs=["Blender · bpy"], gen="codex:gpt-5.6-sol", score=0.863, verdict="reads",+ rounds="2 rounds", mins="31 min", track="static_object",+ prompt="a Victorian penny-farthing bicycle: a very tall spoked front wheel, a small rear wheel, "+ "a curved backbone frame, a sprung leather saddle above the front hub, pedals on the front "+ "hub, curved handlebars and polished brass fittings",+ note="Kept as the first run. The spoke web is pure line art and the silhouette reads instantly from "+ "all eight canonical views; both wheels sit on the ground, nothing floats or explodes. "+ "<b>Honest miss:</b> the saddle and grips came out fire-engine red instead of tan leather, so the "+ "promised black-lacquer / brass / leather trio reads black / brass / <i>red</i>. The text-to-image "+ "texture pass ran and was correctly <i>refused</i> (Δ overall −0.290, materials 0.7 → 0.2) — what you "+ "see is <code>object.glb</code> with the raw bpy materials.",+ media=[("img", "penny_farthing", "hero · left elevation"),+ ("gif", "tt_penny_farthing", "turntable · 36 frames"),+ ("img", "penny_farthing_sheet", "8 canonical views")],+)++STATIC = [+ dict(id="arcade", title="Arcade cabinet", slug="tsr_tjs_arcade_cabinet",+ langs=["three.js"], gen="api-agent:gemini:gemini-3.7-flash", score=0.948, verdict="reads",+ rounds="1 round", mins="34 min",+ prompt="an upright 1980s arcade cabinet: a sloped control panel with a ball-top joystick and six "+ "buttons, a recessed CRT screen behind a bezel, a glowing backlit marquee, a speaker grille, "+ "side art panels, a coin door and T-molding trim",+ note="Best card in the lane and it landed on the first try — no refine round, no re-run. Sloped panel "+ "with ball-top stick and six buttons, recessed CRT behind a bezel, backlit marquee, saturated "+ "pink/cyan side art, coin door, red T-molding down both cabinet edges. Poster-bright, and it "+ "reads at thumbnail size from every angle. <b>Nits:</b> the marquee and CRT are authored emissive "+ "but the shaded render rig draws them as flat bright colour rather than glowing, and the speaker "+ "holes do not resolve. The plain black back and top are correct for a real cabinet.",+ media=[("img", "arcade", "hero · low front left"), ("gif", "tt_arcade", "turntable"),+ ("img", "arcade_sheet", "8 canonical views")]),+ dict(id="lighthouse", title="Coastal lighthouse", slug="tsr_obj_lighthouse",+ langs=["Blender · bpy", "text-to-image texture"], gen="api-agent:gemini:gemini-3.7-flash",+ score=0.7277, verdict="reads", rounds="3 rounds", mins="51 min",+ prompt="a coastal lighthouse on a rock plinth: a tapered stone tower with painted bands, a corbelled "+ "gallery with a railing, a glazed lantern room with a fresnel lens and a domed copper roof with "+ "a weathervane, and a keeper's door at the base",+ note="<b>The only piece in the whole wave where <code>--texture</code> paid.</b> The generated "+ "<code>weathered_granite_rock</code> map on the stepped plinth cleared the ship gate at "+ "Δ +0.065, so this card is rendered from <code>object_textured.glb</code>. Tapered banded tower, "+ "corbelled gallery with a full baluster railing, a brass fresnel drum visible inside the glazed "+ "lantern room, verdigris copper dome with weathervane. <b>Nits:</b> the winning round shows two "+ "white bands where an earlier round had three, and the coral/white livery is a touch cartoonish.",+ media=[("img", "lighthouse", "hero · low front left"), ("gif", "tt_lighthouse", "turntable"),+ ("img", "lighthouse_sheet", "8 canonical views")]),+ dict(id="gramophone", title="Wind-up gramophone", slug="tsr_obj_gramophone",+ langs=["Blender · bpy"], gen="api-agent:gemini:gemini-3.7-flash", score=0.75, verdict="reads",+ rounds="1 round", mins="48 min",+ prompt="an antique wind-up gramophone: a big flared brass horn on an elbow, an oak case with a felted "+ "turntable and a shellac record, a curved tonearm with a sound box, a crank handle on the side "+ "and turned feet",+ note="The horn flare is the reason this prompt was picked, and it delivered: a continuous specular "+ "sweep that travels across the bell as the turntable spins. Oak case with a moulded lip and four "+ "turned feet, green felt platter, black shellac record with a red centre label, curved tonearm "+ "with sound box, side crank — four distinct materials in one frame, and the horn does not "+ "intersect the case. <b>Nits:</b> the brass is a pale greenish gold rather than warm polished "+ "brass, and the case reads pine-pale rather than dark oak. Texture pass refused (Δ −0.371).",+ media=[("img", "gramophone", "hero · front right ¾"), ("gif", "tt_gramophone", "turntable"),+ ("img", "gramophone_sheet", "8 canonical views")]),+ dict(id="radial", title="Radial aero engine", slug="tsr_cad_radial_engine_v2",+ langs=["CadQuery"], gen="codex:gpt-5.6-sol", score=0.60, verdict="usable",+ rounds="3 rounds", mins="65 min", rerun="second attempt",+ prompt="a five-cylinder radial aero engine displayed on a low steel stand, in the correct museum "+ "orientation: ONE cylinder points straight UP at top dead centre and the other four are at 72 "+ "degree steps, so there is NO cylinder pointing straight down and the engine sits clear of the "+ "ground on its stand. A dark grey machined steel crankcase carries a bolted circular front cover "+ "and a splined propeller hub on the axis; each of the five barrels is a pale satin aluminium tube "+ "wrapped in evenly pitched square cooling fins, capped by a domed head with a black rocker cover; "+ "a slim brass pushrod tube lies flush along the front of each barrel from the crankcase to its "+ "rocker cover; a short polished steel exhaust stub leaves each head, all five swept the same way "+ "around the ring.",+ note="<b>Shown honestly as <i>usable</i>, not <i>reads</i>.</b> The first attempt scored the same 0.60 and "+ "was a broken picture — one barrel buried straight down through the ground plane, exhaust stubs "+ "reading as detached sticks, no stand, all grey. The sharpened re-run above added the museum "+ "orientation, an explicit stand, flush pushrods and a four-colour call-out, and now the star, the "+ "evenly-pitched fins, the black rocker covers and the splined prop hub all read from every view — "+ "<i>at the same judged score</i>. The remaining flaw is structural, not a bad draw: the CadQuery "+ "track's only material channel is <code>cq.Color(r,g,b)</code>, with no metalness, so the "+ "\"polished steel\" exhaust stubs render bone-white and the crankcase face is a flat grey disc.",+ media=[("img", "radial", "hero · front right ¾"), ("gif", "tt_radial", "turntable"),+ ("img", "radial_sheet", "8 canonical views")]),+ dict(id="chandelier", title="Art-deco chandelier", slug="tsr_tjs_deco_chandelier_v2",+ langs=["three.js"], gen="api-agent:gemini:gemini-3.7-flash", score=0.60, verdict="usable",+ rounds="4 rounds", mins="86 min", rerun="second attempt",+ prompt="an art-deco brass chandelier dripping with cut crystal: a stepped brass ceiling canopy and a "+ "chain drop to a fluted central stem; two tiers of curved brass arms, six above and eight below, "+ "each ending in a frosted glass candle sleeve with a small tapered flame-tip finial; and hanging "+ "from the rim of BOTH tiers, in even concentric rings, more than forty stepped faceted crystal "+ "drops — long slender prisms with cut facets, each hanging free on its own short brass link so "+ "the whole lower half of the fixture reads as a curtain of glass; a fluted clear glass bowl at "+ "the crown under the stem.",+ note="<b>Shipped despite a lower score than the run it replaces</b> (0.60 against 0.841). The "+ "higher-scoring first attempt was a competent brass armature with plain white cylinder shades and "+ "<i>zero</i> hanging glass — none of the sparkle the prompt was chosen for. This re-run made the "+ "drops the dominant feature and now has real candle sleeves with flame-tip finials, a clear fluted "+ "crown bowl, two proper tiers of curved arms on rings, and visible hanging crystal. <b>Nits:</b> "+ "the drops read as pale thin icicles rather than a curtain of cut glass, and the arms look "+ "slightly flat and ribbon-like.",+ media=[("img", "chandelier", "hero · front right ¾"), ("gif", "tt_chandelier", "turntable"),+ ("img", "chandelier_sheet", "8 canonical views")]),+]++ARTIC = [+ dict(id="rollcab", title="Rolling tool chest", slug="tsr_art_roll_cabinet",+ langs=["URDF", "Blender · bpy"], gen="api-agent:gemini:gemini-3.7-flash", score=0.957,+ verdict="reads", rounds="1 round", mins="31 min",+ prompt="a red steel rolling tool chest: seven drawers of three different heights on slides, full-width "+ "chrome pulls, a hinged top lid over a shallow tray, a push handle on one end and four castors",+ note="Passed at round zero, first try. Three materials genuinely separate — red carcass, chrome "+ "full-width pulls, black castors — and the articulation is the real prize: seven drawers on seven "+ "independent prismatic joints plus a hinged lid over a grey tray. The cascade still is the money "+ "shot the prompt was chosen for; it reads as <i>articulated</i> with no caption. <b>Honest miss "+ "the judge did not catch:</b> the brief asked for drawers in three distinct heights and they came "+ "out all the same height — <code>meshes/drawer1-6.glb</code> are byte-identical. Shipping "+ "<code>object.glb</code>, not the textured build: the texture pass painted one red powdercoat over "+ "all 28 parts including the chrome pulls and the castors, and shipped anyway on Δ 0.000.",+ media=[("img", "rollcab", "hero · seven drawers cascaded"),+ ("gif", "tt_rollcab", "joint sweep · 40 frames"),+ ("img", "rollcab_art", "articulation sheet · every joint"),+ ("img", "rollcab_sheet", "8 canonical views")]),+ dict(id="clock", title="Longcase clock", slug="tsr_art_grandfather_clock_v2",+ langs=["URDF", "Blender · bpy"], gen="api-agent:gemini:gemini-3.7-flash", score=0.9469,+ verdict="reads", rounds="2 rounds", mins="98 min", rerun="second attempt",+ prompt="a longcase grandfather clock in dark figured walnut with working articulation: a broken-arch "+ "bonnet with two turned finials over reeded columns, a warm brass dial with a silvered chapter "+ "ring and blued steel hour and minute hands, a glazed trunk door on brass hinges with CLEAR "+ "TRANSPARENT glass so the movement is visible through it, a long pendulum with a large polished "+ "brass lenticular bob swinging on a pivot, and two brass cylindrical driving weights hanging on "+ "either side of the pendulum inside the trunk, all on a stepped plinth base with bracket feet",+ note="The first attempt scored 0.600 and rendered the trunk door pane as an <i>opaque white panel</i>, "+ "hiding the pendulum and weights — the entire reason the prompt was picked. The re-run demanded "+ "base-colour alpha ≤ 0.25 on the glass, named the brass bob and weights, and asked for a stepped "+ "silhouette and four materials separated by <i>value</i>, not just hue. Now the movement is visible "+ "through the closed door, the door swings 90° onto it, the bob ticks left and right, and the hands "+ "turn on the silvered chapter ring. Round 1 also tightened the pendulum limits to ±0.09 rad, which "+ "fixed a round-0 flaw where the bob swung out <i>through</i> the case wall. <b>Nits:</b> the "+ "broken-arch crestings read as thin dark horns rather than crisp swan-neck mouldings, and the "+ "plinth front panel reads slightly as a hole. Shipping <code>object.glb</code> — the texture pass "+ "painted walnut burl over the brass dial <i>and</i> the transparent glass and shipped on Δ 0.000.",+ media=[("img", "clock", "hero · door open on the movement"),+ ("gif", "tt_clock", "48-frame loop · pendulum, hands, door"),+ ("img", "clock_strip", "motion strip"),+ ("img", "clock_sheet", "8 canonical views")]),+]++SCENES = [+ dict(id="alley", title="Neon alley", slug="tsr_scn_neon_alley_v2",+ langs=["three.js", "GLSL"], gen="api-agent:gemini:gemini-3.7-flash", score=0.8267,+ verdict="reads", rounds="5 rounds", mins="75 min", rerun="second attempt",+ prompt="a rain-soaked neon alley at night, seen down a narrow corridor between two TALL buildings whose "+ "walls fill the left and right thirds of the frame and rise out of the top of shot. MATERIALS AND "+ "LIGHTING ARE THE POINT: the ground is NEAR-BLACK wet asphalt (base colour 0x0a0c10, roughness "+ "0.08-0.15, metalness 0.6) that acts as a MIRROR — every sign above is reflected in it as a sharp, "+ "vertically-stretched coloured streak … Rain is THIN BRIGHT VERTICAL STREAKS, not dots: draw it as "+ "LineSegments or as very narrow elongated quads about 0.4 m long and 0.01 m wide … NEVER render "+ "rain as square point sprites or large white squares.",+ note="The first attempt was only <i>usable</i>, and a scene census said why: <code>custom_materials</code> "+ "was empty — there was no wet-asphalt <code>ShaderMaterial</code> at all, so \"every sign mirrored in "+ "the asphalt\", the whole point of the prompt, never existed. The re-run spelled the material out "+ "numerically and the rain out geometrically. Round 0 then overshot into an 89 %-black frame at mean "+ "luminance 0.001; the refine loop pulled it back by round 4. The final frame is genuinely "+ "teaser-grade — near-black wet ground carrying long hot-pink and cyan reflection columns, rain as "+ "thin vertical streaks, a pixelated holo billboard. <b>Weaknesses:</b> the upper walls are a smooth "+ "washed lavender gradient with no surface detail, and the litter props are crude low-poly boxes.",+ shots=[("alley_a", "Establishing · t = 0 s"), ("alley_b", "Establishing · t = 1.5 s"),+ ("alley_low", "LowAngleReflections · the wet-asphalt mirror"),+ ("alley_sign", "SignDetail · emissive signage")],+ sheet=("alley_sheet", "all authored cameras, both times")),+ dict(id="boat", title="Boatbuilder's workshop", slug="tsr_scn_boat_workshop_v2",+ langs=["three.js", "GLSL", "Blender · bpy"], gen="api-agent:gemini:gemini-3.7-flash", score=0.747,+ verdict="reads", rounds="4 rounds", mins="81 min", rerun="second attempt", ml=True,+ prompt="INSIDE a boatbuilder's workshop at dusk — a FULLY ENCLOSED INTERIOR. THE ENCLOSURE IS THE "+ "ENVIRONMENT AND MUST BE BUILT FIRST: a rectangular timber shed about 16 m x 10 m x 6 m high with "+ "FOUR SOLID WALLS … A GLSL shader makes the window sunbeams VOLUMETRIC — visible cones of hazy "+ "light crossing the room, brightest near the glass. Sawdust motes drifting in those beams must be "+ "FINE, SMALL and SOFT … NEVER render them as large opaque white squares.",+ note="A large win over the first attempt (0.465 → 0.747), and not a lighting fix: attempt one built an "+ "open-air truss frame standing in a <i>pine forest</i> under a flat red sky — no walls, no roof skin, "+ "trees inside the workshop. The scene planner's environment section is written for exteriors and "+ "treats interiors as a parenthetical, so the plan never contained walls and refining could not add "+ "them. Forcing the enclosure first produced the most complete scene in the wave: real interior, "+ "dusty window wall with cool blue dusk outside against warm raking sunbeams and stove glow, plank "+ "floor, timber stacks, tool racks, shavings. The sawdust motes render as soft additive sprites here, "+ "fixing the white-square particle bug that spoiled the first neon run. <b>Not shown:</b> a pack of 8 "+ "tileable textures (seam ≈ 0.0007) was generated for this scene and could not be wired in — a passed "+ "run refuses <code>resume</code> without <code>--force</code>, and <code>--force</code> re-plans and "+ "overwrites the passing artefact.",+ shots=[("boat_a", "Establishing · t = 0 s"), ("boat_b", "Establishing · t = 1.5 s"),+ ("boat_bench", "WorkbenchEye · volumetric GLSL sunbeams"),+ ("boat_skiff", "SkiffDetail · the lapstrake hull"),+ ("boat_stove", "StoveCornerDetail · the Blender stove, in scene")],+ sheet=("boat_sheet", "all authored cameras, both times")),+ dict(id="temple", title="Temple courtyard at night", slug="tsr_scn_temple_night_v2",+ langs=["three.js", "GLSL", "Blender · bpy"], gen="codex:gpt-5.6-sol", score=0.286,+ verdict="usable", rounds="3 rounds", mins="85 min", rerun="second attempt", ml=True,+ prompt="a small temple courtyard on a koi pond at NIGHT — a deep indigo night (background 0x0b1026), lit "+ "ONLY by warm lantern flame … TWO HERO PROPS ARE AUTHORED IN BLENDER WITH bpy AND COMPILED TO GLB "+ "(asset kind blender_glb), then loaded into the three.js scene: (1) StoneLantern … (2) BronzeCenser "+ "… A custom GLSL water material is the HERO EFFECT and must be unmistakable: the pond is dark and "+ "highly reflective, with visible travelling ripples, the warm lantern lights reflected in it as "+ "long wobbling vertical streaks, and several koi visible moving under the surface.",+ note="<b>The clearest evidence in this wave that the judge cannot see what the picture is doing.</b> The "+ "first attempt scored <b>0.729</b> and \"passed\": a washed-out pale blue-grey courtyard that reads "+ "as snow at dawn, a flat grey pond, no ripples, no reflections, no koi. The light census for a scene "+ "specified as lit by stone lanterns was 1 ambient + 1 hemisphere + 2 directional + 10 point — the "+ "fill added to clear the frame-luminance floor was drowning the water shader, which had existed with "+ "a live time uniform the whole time. Re-prompting for dark granite, banning hemisphere light and "+ "promoting the water to hero effect produced the correct deep-indigo night, warm lantern pools, the "+ "pond finally reading as long warm reflection streaks, and the best single detail frame in the wave "+ "— and scored <b>0.286</b>. This card ships round 1 rather than the harness's best round 2, which "+ "scored marginally higher and lost the pond reflections. <b>Still honestly <i>usable</i>:</b> the "+ "paving is <i>still</i> pale lavender-white despite an explicit base-colour instruction, an unshaded "+ "white lamp sphere reads as a bug bottom-right, and the maple leaves render as flat red diamonds.",+ shots=[("temple_a", "Establishing · t = 0 s"), ("temple_b", "Establishing · t = 1.5 s"),+ ("temple_censer", "CenserDetail · the Blender censer, in scene"),+ ("temple_bridge", "BridgeEye · GLSL pond, lantern streaks")],+ sheet=("temple_sheet", "all authored cameras, both times")),+]++GFX = [+ dict(id="aurora", title="Aurora over a ridge", slug="tsr_gfx_aurora_ridge_v3",+ langs=["GLSL · fragment shader"], gen="api-agent:gemini:gemini-3.7-flash", score=0.94,+ verdict="reads", rounds="1 round", mins="14 min", rerun="third attempt",+ prompt="an aurora over a snowy ridge on a black winter night, painted in three clean horizontal bands. "+ "TOP TWO THIRDS — the sky: near-black deep-blue, crowded with thousands of small crisp white stars, "+ "and across it hang layered aurora curtains made of many thin bright vertical rays … LOWER THIRD — "+ "the ridge: a single SOLID mountain silhouette, filled with ONE flat near-black colour and nothing "+ "else … no vertical stripes, no bars, no banding, no noise, no texture … BOTTOM FIFTH — the frozen "+ "lake: a smooth flat mirror below the ridge …",+ note="Third attempt, and the story is in what changed. Attempt one was a flat magenta wash over a "+ "speckle-noise ridge. Attempt two fixed the sky beautifully — emerald-to-violet rays, crisp stars, "+ "dark gaps — but drew the ridge as a barcode of vertical grey stripes mirrored into the lake; it "+ "looked like a rendering bug. Attempt three kept that sky language and added one paragraph "+ "specifying the ground as three named bands with the ridge as <i>one flat near-black fill</i>, plus "+ "a hard <code>--must</code> clause. That single instruction fixed it in one round. <b>Residue:</b> "+ "the star field is sparse, the lake band is a little muddy, and a faint horizontal band artifact "+ "survives in the lower third.",+ media=[("img", "aurora", "t = 2.5 s"), ("gif", "tt_aurora", "animated preview"),+ ("img", "aurora_strip", "frames at 0 / 1 / 2.5 / 4 / 6 s")]),+ dict(id="murmur", title="Starling murmuration", slug="tsr_ogl_murmuration",+ langs=["Python · OpenGL", "GLSL"], gen="api-agent:gemini:gemini-3.7-flash", score=0.865,+ verdict="reads", rounds="4 rounds", mins="43 min",+ prompt="a starling murmuration at dusk: several thousand instanced birds flocking with cohesion, "+ "separation and alignment around a slowly moving attractor, their dark silhouettes thickening and "+ "thinning into shifting shapes against a graded orange to deep-blue sky, with a low dark treeline "+ "along the bottom edge",+ note="The frame strip is the proof: the flock genuinely morphs — a dense column at 0.75 s, spread wide "+ "and thinning at 3 s, re-tightening and drifting left by 5–6 s. That is real flocking, not a "+ "scrolling texture. Worth saying that the baseline round scored a hard <b>0.0</b> — a flat mauve "+ "frame with no birds at all — and the harness's own refine loop recovered it to 0.865 over three "+ "rounds with no intervention. <b>Weaknesses:</b> the nearer birds are chunky arrowheads rather than "+ "fine specks, the flock edge sprays individuals across the whole sky instead of holding a tight "+ "murmuration shape, and the bottom silhouette reads as a rocky ridge rather than the treeline asked "+ "for.",+ media=[("img", "murmur", "t = 1 s"), ("gif", "tt_murmur", "animated preview"),+ ("img", "murmur_strip", "frames at 0 / 1 / 2.5 / 4 / 6 s")]),+ dict(id="accretion", title="Accretion disc", slug="tsr_gfx_accretion_disc",+ langs=["GLSL · fragment shader"], gen="api-agent:gemini:gemini-3.7-flash", score=0.753,+ verdict="reads", rounds="2 rounds", mins="33 min",+ prompt="a black hole with a glowing accretion disc: a pure black sphere ringed by a thin bright photon "+ "ring, a hot orange-white disc of turbulent filaments orbiting it with the approaching side "+ "visibly brighter, the far side of the disc lensed up and over the shadow into an arc, and a star "+ "field warping near the edge",+ note="The most dramatic image in the wave, and it got there in one refine round (0.242 → 0.753). The far "+ "side of the disc is lensed up and over the shadow into a bright arc — the Gargantua geometry "+ "actually reads correctly, which is the hard part — and across the sample strip the filaments "+ "visibly shear and swirl. A follow-up run specifically to clean the background <i>did</i> deliver "+ "true black vacuum with stars, but flattened the composition into a symmetric halo, drew the stars "+ "as cheap four-point sparkles and left a grey band bisecting the black shadow, so this one ships. "+ "<b>Blemishes:</b> the background is a lavender-purple haze rather than black vacuum, and there is "+ "a faint grey smear in the top-left corner.",+ media=[("img", "accretion", "t = 2.5 s"), ("gif", "tt_accretion", "animated preview"),+ ("img", "accretion_strip", "frames at 0 / 1 / 2.5 / 4 / 6 s")]),+ dict(id="rain", title="Rain on a window", slug="tsr_gfx_rain_window",+ langs=["GLSL · fragment shader"], gen="api-agent:gemini:gemini-3.7-flash", score=0.9087,+ verdict="usable", rounds="1 round", mins="7 min",+ prompt="raindrops running down a dark window in front of an out-of-focus neon city: each drop refracts a "+ "tiny inverted image of the lights behind it, drops grow until they break loose and cut clean "+ "trails downward, trails merge as they cross, the glass carries a fine mist between the drops and "+ "the city bokeh drifts slowly",+ note="<b>The highest score on this page that is not the best picture on this page</b> — shown as "+ "<i>usable</i> on purpose. It reads immediately as rain on a window over a neon city, the big drops "+ "genuinely refract tiny inverted images of the lights, and the bokeh drifts between frames. But the "+ "whole pane sits in a pale lavender-grey haze instead of the dark glass the brief asked for, the "+ "bokeh are washy blobs rather than tight light sources, and the trails do not read as clean streaks. "+ "Attractive but soft. Two re-runs to fix the contrast were both worse: pushing this model toward "+ "\"dark / high-contrast / saturated\" collapses it out of photographic softness into flat vector "+ "shapes — one attempt came back as cartoon confetti discs on black with no drops at all.",+ media=[("img", "rain", "t = 2.5 s"), ("gif", "tt_rain", "animated preview"),+ ("img", "rain_strip", "frames at 0 / 1 / 2.5 / 4 / 6 s")]),+]++ML_ASSETS = [+ dict(key="lantern", name="StoneLantern", scene="Temple courtyard", kb=443,+ src="_assets/stone_lantern/src/model.py",+ glb="public/assets/stone_lantern.glb",+ use="src/assets/stone_lantern.js → loaders.gltf.loadAsync, cloned into 3 zones",+ desc="Carved granite, chamfered cap, pierced fire box, lotus plinth, moss-worn edges — "+ "the sculpted-stone case a stack of three.js primitives cannot fake.",+ verified=True),+ dict(key="censer", name="BronzeCenser", scene="Temple courtyard", kb=367,+ src="_assets/bronze_censer/src/model.py",+ glb="public/assets/bronze_censer.glb",+ use="src/scene.js:12 assetFiles → cloned in src/zones/courtyard_veranda.js:32",+ desc="Three-legged cast bronze, domed pierced lid, two ring handles, relief band. "+ "The best single detail frame in the wave is this object lit by its own charcoal glow.",+ verified=True),+ dict(key="stove", name="PotbellyStove", scene="Boat workshop", kb=131,+ src="_assets/potbelly_stove/src/model.py",+ glb="public/assets/potbelly_stove.glb",+ use="src/scene.js:12 assetFiles → cloned in src/zones/stove_corner.js:130",+ desc="Bellied cast iron, bevelled door with a latch, claw feet, flue collar. "+ "In scene the flue runs to the roof and the door glows.",+ verified=True),+ dict(key="skiff", name="ClinkerSkiff", scene="Boat workshop", kb=400,+ src="_assets/clinker_skiff/src/model.py",+ glb="public/assets/clinker_skiff.glb",+ use="loaded into ctx.assets — but NOT used: the in-scene hull is procedural three.js",+ desc="Lapstrake planking, visible ribs, bevelled stem, upturned on trestles. Real bpy, real GLB, "+ "and a good standalone object — but see the caveat below.",+ verified=False),+]diff --git a/harness/bench/teaser/render_turntables.py b/harness/bench/teaser/render_turntables.pynew file mode 100644index 00000000..6d256b64--- /dev/null+++ b/harness/bench/teaser/render_turntables.py@@ -0,0 +1,76 @@+"""Render every turntable the teaser page uses.++ python bench/teaser/render_turntables.py # all+ python bench/teaser/render_turntables.py penny_farthing++Writes bench/out/teaser/turntables/<slug>.gif for the shipped object deliverables and+<TEASER_ASSET_TURNTABLES>/<snake>.gif for the four Blender heroes of the scene lane.+mp4 is requested first; on a box without ffmpeg `assemble_turntable` falls back to GIF.+"""+from __future__ import annotations++import json+import os+import sys+from pathlib import Path++from codeverse.spatial.render import render_turntable++HARNESS = Path(__file__).resolve().parents[2]+RUNS = HARNESS / "bench/out/teaser/runs"+OUT = HARNESS / "bench/out/teaser/turntables"+ASSET_OUT = Path(os.environ.get("TEASER_ASSET_TURNTABLES", str(OUT / "assets")))++# shipped object deliverables (slug -> nothing; the GLB is resolved below)+OBJECTS = [+ "tsr_obj_penny_farthing", "tsr_obj_lighthouse", "tsr_obj_gramophone",+ "tsr_cad_radial_engine_v2", "tsr_tjs_arcade_cabinet", "tsr_tjs_deco_chandelier_v2",+]+# Blender heroes authored inside a scene run's per-asset sub-workspace+ASSETS = [+ ("tsr_scn_temple_night_v2", "stone_lantern"),+ ("tsr_scn_temple_night_v2", "bronze_censer"),+ ("tsr_scn_boat_workshop_v2", "clinker_skiff"),+ ("tsr_scn_boat_workshop_v2", "potbelly_stove"),+]+++def shipped_glb(artifacts: Path) -> Path:+ """object_textured.glb ONLY when the texture ship gate accepted it.++ The texture pass writes object_textured.glb whether or not it ships, so resolving by+ filename alone renders the build the judge measured as worse (DEFECTS.md S-OBJ-3).+ """+ tj = artifacts / "textures" / "texturing.json"+ if tj.is_file():+ try:+ if json.loads(tj.read_text()).get("shipped") and (artifacts / "object_textured.glb").is_file():+ return artifacts / "object_textured.glb"+ except (OSError, ValueError):+ pass+ return artifacts / "object.glb"+++def clip(glb: Path, out: Path) -> None:+ if not glb.is_file():+ print(f" SKIP {out.stem}: no {glb}")+ return+ p = render_turntable(glb, out, n=36, elevation_deg=18.0, width=640, height=640, fps=15)+ print(f" {p} ({p.stat().st_size // 1024} KB) from {glb.name}")+++def main(only: list[str]) -> None:+ OUT.mkdir(parents=True, exist_ok=True)+ ASSET_OUT.mkdir(parents=True, exist_ok=True)+ for slug in OBJECTS:+ if only and not any(o in slug for o in only):+ continue+ clip(shipped_glb(RUNS / slug / "artifacts"), OUT / f"{slug}.mp4")+ for slug, snake in ASSETS:+ if only and not any(o in snake for o in only):+ continue+ clip(RUNS / slug / "_assets" / snake / "artifacts" / "object.glb", ASSET_OUT / f"{snake}.mp4")+++if __name__ == "__main__":+ main(sys.argv[1:])diff --git a/harness/docs/TEASER.md b/harness/docs/TEASER.mdnew file mode 100644index 00000000..cd105313--- /dev/null+++ b/harness/docs/TEASER.md@@ -0,0 +1,169 @@+# TEASER — the showcase page, what is on it, and how to rebuild it++`docs/teaser.html` is a self-contained showcase page for fifteen artefacts produced by the+harness in the `teaser_v1` wave. It is **not a measurement**: the judge score is a filter+("was this good enough to be worth looking at"), and every card was then looked at by a+human and captioned with what is still wrong with it. Two cards ship at a *lower* judged+score than the run they replace, because the higher-scoring run did not contain the thing+the prompt was chosen for.++> Defect ids below (`D1`, `D5`, `D9`, `D10`, `S-OBJ-3`, `S-OBJ-4` …) refer to the+> `teaser_v1` wave's defect log, kept with the wave scratchpad rather than in the repo:+> the wave was a generation task, so friction was recorded, not fixed.++## 1. Serve it++The page references stills and clips under `bench/out/teaser/site/media/` with the relative+path `../bench/out/teaser/site/media/…`, so it needs a server rooted at the harness+directory (opening the file directly works too, as long as `bench/out/teaser/` is present):++```+cd /home/yipeng/3dcodeverse/harness+python -m http.server 8931 --bind 127.0.0.1 -d .+# → http://localhost:8931/docs/teaser.html+```++`bench/out/` is git-ignored, so **only the page, the prompt sheets and this document are+committed** — the ~31 MB of stills and GIFs are not. On a fresh checkout the page renders+with empty image frames until the runs are regenerated (§4) and the media directory is+rebuilt (§5).++## 2. What is on the page++| section | artefact | languages | generator | judge | verdict |+|---|---|---|---|---|---|+| lead | Penny-farthing | Blender bpy | codex:gpt-5.6-sol | 0.863 | reads |+| 01 multi-language | StoneLantern · BronzeCenser · PotbellyStove · ClinkerSkiff | bpy → GLB → three.js + GLSL | both | — | see §3 |+| 02 static | Arcade cabinet | three.js | flash | 0.948 | reads |+| 02 static | Coastal lighthouse | Blender bpy + text-to-image texture | flash | 0.728 | reads |+| 02 static | Wind-up gramophone | Blender bpy | flash | 0.750 | reads |+| 02 static | Radial aero engine | CadQuery | codex:gpt-5.6-sol | 0.600 | usable |+| 02 static | Art-deco chandelier | three.js | flash | 0.600 | usable |+| 03 articulated | Rolling tool chest | URDF + bpy | flash | 0.957 | reads |+| 03 articulated | Longcase clock | URDF + bpy | flash | 0.947 | reads |+| 04 scenes | Neon alley | three.js + GLSL | flash | 0.827 | reads |+| 04 scenes | Boatbuilder's workshop | three.js + GLSL + bpy | flash | 0.747 | reads |+| 04 scenes | Temple courtyard at night | three.js + GLSL + bpy | codex:gpt-5.6-sol | 0.286 | usable |+| 05 graphics | Aurora over a ridge | GLSL | flash | 0.940 | reads |+| 05 graphics | Starling murmuration | Python OpenGL + GLSL | flash | 0.865 | reads |+| 05 graphics | Accretion disc | GLSL | flash | 0.753 | reads |+| 05 graphics | Rain on a window | GLSL | flash | 0.909 | usable |++`flash` = `api-agent:gemini:gemini-3.7-flash`. Judge = `gemini-3.1-pro-preview`+(flash × 3 fallback). Per card the page shows: the prompt, the language(s), the generator,+the judged score, the round count, the wall-clock, the run slug, and an honest note.++Each object card offers three views — a chosen hero view (**not** always `front_right_34`),+a turntable GIF, and the 8-view contact sheet. Articulated cards add the articulation+sheet and a joint-motion loop. Scene cards show the authored cameras at **t = 0 s and+t = 1.5 s** side by side so motion reads, plus detail cameras and the full sheet. Graphics+cards show a hero frame, an animated preview and the 0/1/2.5/4/6 s frame strip.++### Left out, and why++* **Espresso portafilter (CadQuery)** — rated *no*. Two attempts; the second has better+ geometry but the body is still flat white on stubby legs. The CadQuery track's only+ material channel is `cq.Color(r,g,b)` with no metalness, so "polished stainless" is+ unreachable by construction and the texture pass produced zero textures+ (`DEFECTS.md` S-OBJ-4). A third attempt would fail the same way.+* **Ten superseded attempts** — the first radial engine, chandelier, clock, temple,+ workshop and alley; two extra rain windows; two extra auroras; a second accretion disc.+ All are on disk under `bench/out/teaser/runs/`; the winner's caption says why each lost.+* **mp4 turntables** — ffmpeg is not installed on this machine, so `assemble_turntable`+ falls back to animated GIF (`DEFECTS.md` D3). Nothing in the harness requires that.+* **Scene textures** — `3dcv texture scene-pack` produced 8 tileable maps for the workshop+ (seam ≈ 0.0007) and 7 for the alley, and neither could be wired in: a passed run refuses+ `resume` without `--force`, and `--force` re-plans and overwrites the passing artefact+ (`DEFECTS.md` D9).++## 3. The multi-language panel (the centrepiece)++Two scene prompts force the pipeline no single-language generator can show:++```+_assets/<name>/src/model.py raw Blender bpy, its own plan + agent session + 8-view review+ ↓ blender -b --factory-startup, census, glTF export+artifacts/object.glb → public/assets/<name>.glb+ ↓ loaders.gltf.loadAsync in src/scene.js (or a per-asset loader module)+src/zones/*.js three.js composition beside procedural geometry+src/shaders/*.js raw GLSL vertex/fragment pairs with a live uTime uniform+```++Nothing in the harness enforces asset kind (`DEFECTS.md` D2/D3), so this was verified by+hand rather than trusted, and the page says exactly what held:++| asset | scene | bpy → GLB | GLB used in the shipped frames |+|---|---|---|---|+| StoneLantern | temple | yes, 443 KB | **yes** — `src/assets/stone_lantern.js` loads it and *throws* if missing; cloned into 3 zones |+| BronzeCenser | temple | yes, 367 KB | **yes** — `src/scene.js:12` → `src/zones/courtyard_veranda.js:32` |+| PotbellyStove | workshop | yes, 131 KB | **yes** — `src/scene.js:12` → `src/zones/stove_corner.js:130` |+| ClinkerSkiff | workshop | yes, 400 KB | **no** — loaded but unused; `src/zones/central_bay.js:59` calls a *procedural* three.js rebuild a refine round wrote over the asset slot |++The ClinkerSkiff case is filed as `DEFECTS.md` D10 and is captioned honestly on the page:+the standalone skiff card is the real bpy asset, the hull in the workshop frames is not.+**The temple is the clean end-to-end demonstration.**++GLSL in the shipped frames: the temple pond (`src/shaders/water.js`, a `ShaderMaterial`+named `Water` on `ReflectiveKoiPond` with `uTime/uDeep/uShallow/uSunDir`) and the workshop's+`VolumetricSunbeamShader` + `SawdustMotesShader`, all with live time uniforms the render rig+samples at two times.++## 4. Regenerate the runs++Prompt sheets live in `bench/prompts/teaser_v1_{static,articulated,scene,graphics}.yaml`+— one file per track, because a `Battery` binds exactly one track (`DEFECTS.md` D1). Each+sheet holds the original curated prompt **and** the sharpened re-run that actually shipped,+suffixed `_v2` / `_v3`, with the CLI flags that are not expressible in `BenchPrompt`+(`--style`, `--must-not`, `--candidates`, `--profile`) recorded as comments above it.++```+3dcv bench run bench/prompts/teaser_v1_static.yaml --generator api-agent:gemini:gemini-3.7-flash+3dcv bench run bench/prompts/teaser_v1_articulated.yaml --generator api-agent:gemini:gemini-3.7-flash+3dcv bench run bench/prompts/teaser_v1_scene.yaml --generator api-agent:gemini:gemini-3.7-flash+3dcv bench run bench/prompts/teaser_v1_graphics.yaml --generator api-agent:gemini:gemini-3.7-flash+```++The three hero pieces used `--generator codex:gpt-5.6-sol` instead (penny-farthing, radial+engine, temple courtyard). Note that `--profile quality` prices codex subscription usage as+API dollars and self-throttles the scene track (`DEFECTS.md` D5) — raise `--max-usd` well+above the profile default for a codex scene run.++Per-artefact extras used here:++```+3dcv render <slug> # 8 canonical views (--mode shaded|wire|normals|clay)+3dcv texture pass <slug> # text-to-image material pass; SHIPPED only on the lighthouse+3dcv texture scene-pack <slug> # tileable pack for a scene (see the D9 caveat above)+```++Turntables and the articulated loops were rendered with+`codeverse.spatial.render.render_turntable(glb, out, n=36, elevation_deg=18, width=640,+height=640, fps=15)` — resolve the GLB through `artifacts/textures/texturing.json`+→ `shipped`, never by filename, or you render the *rejected* textured build+(`DEFECTS.md` S-OBJ-3).++## 5. Rebuild the page++`docs/teaser.html` is generated, not hand-edited. Everything needed to rebuild it is+committed under `bench/teaser/`:++| file | what it does |+|---|---|+| `bench/teaser/content.py` | the curated content table — one entry per shipped artefact: title, languages, generator, score, verdict, prompt, honest note, chosen media |+| `bench/teaser/build_page.py` | renders `docs/teaser.html` from it (markup + CSS + the small JS) |+| `bench/teaser/build_media.py` | copies and downscales the chosen stills/clips into `bench/out/teaser/site/media/` |+| `bench/teaser/render_turntables.py` | renders every turntable, resolving the *shipped* GLB through `texturing.json` |++```+python bench/teaser/render_turntables.py # bench/out/teaser/turntables/*.gif (+ the 4 Blender heroes)+python bench/teaser/build_media.py # bench/out/teaser/site/media/ (~31 MB)+python bench/teaser/build_page.py # rewrites docs/teaser.html+```++`render_turntables.py` writes the four Blender-hero clips to+`$TEASER_ASSET_TURNTABLES` (default `bench/out/teaser/turntables/assets/`); point+`build_media.py` at the same directory with that variable.++The page is one file with no external dependencies: inline CSS, ~30 lines of vanilla JS for+the view tabs, a lightbox and deferred GIF loading. JPEGs (4.3 MB total) load normally;+the GIFs (26 MB) are fetched only when their tab is opened or they scroll into view.diff --git a/harness/docs/teaser.html b/harness/docs/teaser.htmlnew file mode 100644index 00000000..d34e90a2--- /dev/null+++ b/harness/docs/teaser.html@@ -0,0 +1,666 @@+<!doctype html>+<meta charset="utf-8">+<meta name="viewport" content="width=device-width,initial-scale=1">+<title>3dcodeverse — teaser</title>+<style>+:root{+ --bg:#08090c; --bg2:#0d0f14; --surface:#11141a; --line:#1e222c; --line2:#2a3040;+ --fg:#e7e9ef; --dim:#98a0b0; --dim2:#6b7385;+ --amber:#f2a94b; --cyan:#5ed2e4; --green:#6fd08c; --pink:#ff5fa8;+ --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;+ --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,"Helvetica Neue",Arial,sans-serif;+}+*{box-sizing:border-box}+html{scroll-behavior:smooth}+body{margin:0;background:var(--bg);color:var(--fg);font:16px/1.6 var(--sans);+ -webkit-font-smoothing:antialiased;overflow-x:hidden}+img{max-width:100%;display:block}+code{font-family:var(--mono);font-size:.85em;color:var(--cyan)}+a{color:var(--amber)}+.wrap{max-width:1240px;margin:0 auto;padding:0 28px}++/* ---- nav ---- */+nav{position:sticky;top:0;z-index:40;background:rgba(8,9,12,.86);+ backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}+nav .wrap{display:flex;align-items:center;gap:26px;height:54px}+nav .mark{font-weight:800;letter-spacing:-.03em;font-size:15px}+nav .mark i{color:var(--amber);font-style:normal}+nav a{color:var(--dim);text-decoration:none;font:500 12.5px/1 var(--mono);+ letter-spacing:.06em;text-transform:uppercase}+nav a:hover{color:var(--fg)}+nav .sp{flex:1}++/* ---- masthead ---- */+header{padding:96px 0 56px;position:relative;overflow:hidden}+header::before{content:"";position:absolute;inset:-40% -20% auto -20%;height:120%;+ background:radial-gradient(60% 60% at 30% 0%,rgba(242,169,75,.13),transparent 70%),+ radial-gradient(50% 50% at 80% 20%,rgba(94,210,228,.10),transparent 70%);+ pointer-events:none}+header .wrap{position:relative}+h1{margin:0;font-size:clamp(44px,7.4vw,96px);line-height:.94;letter-spacing:-.045em;+ font-weight:820}+h1 em{font-style:normal;color:var(--amber)}+.kicker{font:600 12px/1 var(--mono);letter-spacing:.22em;text-transform:uppercase;+ color:var(--dim2);margin:0 0 22px}+.lede{max-width:66ch;margin:26px 0 0;font-size:19px;color:var(--dim)}+.lede b{color:var(--fg);font-weight:600}+.stats{display:flex;flex-wrap:wrap;gap:0;margin:44px 0 0;border-top:1px solid var(--line);+ border-bottom:1px solid var(--line)}+.stats div{flex:1 1 130px;padding:18px 22px 16px;border-right:1px solid var(--line)}+.stats div:last-child{border-right:0}+.stats b{display:block;font-size:30px;font-weight:750;letter-spacing:-.03em}+.stats span{font:500 11px/1.4 var(--mono);letter-spacing:.1em;text-transform:uppercase;color:var(--dim2)}++/* ---- sections ---- */+section{padding:76px 0 8px}+.shead{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap;+ border-top:1px solid var(--line2);padding-top:20px;margin-bottom:34px}+.shead h2{margin:0;font-size:30px;letter-spacing:-.03em;font-weight:760}+.shead p{margin:0;color:var(--dim2);font:500 12px/1.5 var(--mono);letter-spacing:.06em;+ text-transform:uppercase}+.shead .num{font:700 12px/1 var(--mono);color:var(--amber);letter-spacing:.14em}++/* ---- cards ---- */+.card{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:36px;+ padding:34px 0 40px;border-bottom:1px solid var(--line)}+.card:last-child{border-bottom:0}+.card-body h3{margin:0 0 12px;font-size:25px;letter-spacing:-.025em;font-weight:720}+.chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}+.chip{font:600 11px/1 var(--mono);letter-spacing:.05em;padding:6px 9px;border-radius:3px;+ background:#161a22;border:1px solid var(--line2);color:var(--cyan)}+.chip.warn{color:var(--amber);border-color:#3a2f1c;background:#1a1610}+.verdict{display:inline-flex;align-items:center;gap:10px;margin-bottom:16px;+ font:700 11px/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;+ padding:7px 11px;border-radius:3px}+.verdict.ok{background:rgba(111,208,140,.10);color:var(--green);border:1px solid rgba(111,208,140,.3)}+.verdict.mid{background:rgba(242,169,75,.10);color:var(--amber);border:1px solid rgba(242,169,75,.32)}+.verdict .score{color:var(--dim2);letter-spacing:.08em;font-weight:500}+.note{color:var(--dim);font-size:15px;margin:0 0 18px}+.note b{color:var(--fg)}+details.prompt{margin:0 0 18px;border-left:2px solid var(--line2);padding-left:14px}+details.prompt summary{cursor:pointer;font:600 11px/1 var(--mono);letter-spacing:.14em;+ text-transform:uppercase;color:var(--dim2);list-style:none}+details.prompt summary::-webkit-details-marker{display:none}+details.prompt summary::before{content:"▸ ";color:var(--amber)}+details.prompt[open] summary::before{content:"▾ "}+details.prompt p{margin:12px 0 2px;font-size:14px;color:var(--dim);font-style:italic}+dl.meta{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:13px 26px;+ border-top:1px solid var(--line);padding-top:14px}+dl.meta div{min-width:0}+dl.meta dt{font:600 10px/1.6 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--dim2)}+dl.meta dd{margin:0;font:500 11.8px/1.6 var(--mono);color:var(--dim);+ word-break:normal;overflow-wrap:anywhere}++/* ---- viewer ---- */+.viewer{position:sticky;top:74px}+.tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}+.tab{font:600 10.5px/1 var(--mono);letter-spacing:.09em;text-transform:uppercase;+ padding:8px 11px;border-radius:3px;border:1px solid var(--line2);background:transparent;+ color:var(--dim2);cursor:pointer;transition:.14s}+.tab:hover{color:var(--fg);border-color:#3a4356}+.tab.on{background:var(--fg);color:#0a0b0e;border-color:var(--fg)}+.stage{background:var(--bg2);border:1px solid var(--line);border-radius:5px;overflow:hidden}+.pane{margin:0;display:none}+.pane.on{display:block}+.pane img{width:100%;cursor:zoom-in}++/* ---- scene shots ---- */+.shots{display:grid;grid-template-columns:1fr 1fr;gap:10px}+.shots .shot:first-child,.shots .shot:nth-child(2){grid-column:span 1}+.shot{margin:0;background:var(--bg2);border:1px solid var(--line);border-radius:5px;overflow:hidden}+.shot img{width:100%;cursor:zoom-in}+.shot figcaption{font:600 10.5px/1.5 var(--mono);letter-spacing:.06em;color:var(--dim2);+ padding:8px 10px;border-top:1px solid var(--line)}+details.sheetwrap{margin-top:12px}+details.sheetwrap summary{cursor:pointer;font:600 10.5px/1 var(--mono);letter-spacing:.12em;+ text-transform:uppercase;color:var(--dim2);padding:9px 0}+details.sheetwrap img{border:1px solid var(--line);border-radius:5px;margin-top:8px}++/* ---- lead ---- */+.lead{border:1px solid var(--line2);border-radius:8px;background:+ linear-gradient(180deg,rgba(242,169,75,.045),transparent 40%);padding:0 30px}+.lead .card{border-bottom:0}+.lead-tag{font:700 11px/1 var(--mono);letter-spacing:.22em;text-transform:uppercase;+ color:var(--amber);padding:22px 0 0}++/* ---- multi-language panel ---- */+#multilang{background:+ radial-gradient(70% 100% at 50% 0%,rgba(94,210,228,.07),transparent 70%),var(--bg2);+ border-top:1px solid var(--line2);border-bottom:1px solid var(--line2);+ margin-top:70px;padding:70px 0 78px}+.pipe{display:flex;align-items:stretch;gap:0;flex-wrap:wrap;margin:30px 0 46px;+ border:1px solid var(--line2);border-radius:6px;overflow:hidden}+.pipe .step{flex:1 1 200px;padding:20px 22px;border-right:1px solid var(--line2);+ background:var(--surface)}+.pipe .step:last-child{border-right:0}+.pipe .n{font:700 10px/1 var(--mono);letter-spacing:.2em;color:var(--amber);display:block;margin-bottom:9px}+.pipe .step h5{margin:0 0 6px;font-size:15px;font-weight:680;letter-spacing:-.01em}+.pipe .step p{margin:0;font-size:13px;color:var(--dim2);line-height:1.55}+.pipe .step code{font-size:11.5px}+.assets{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}+.asset{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:14px}+.asset.caveat{border-color:#3a2f1c;background:#14110d}+.asset-pics{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:12px}+.asset-pics img{background:#0a0b0e;border-radius:4px;cursor:zoom-in}+.asset h4{margin:0 0 8px;font-size:15px;font-weight:700;letter-spacing:-.01em;+ display:flex;flex-wrap:wrap;gap:8px;align-items:center}+.pill{font:600 9.5px/1 var(--mono);letter-spacing:.1em;text-transform:uppercase;+ padding:4px 7px;border-radius:3px}+.pill.ok{background:rgba(111,208,140,.12);color:var(--green)}+.pill.warn{background:rgba(242,169,75,.14);color:var(--amber)}+.asset p{margin:0 0 12px;font-size:13.5px;color:var(--dim);line-height:1.55}+ul.files{list-style:none;margin:0;padding:10px 0 0;border-top:1px solid var(--line)}+ul.files li{display:flex;gap:9px;font-size:11.5px;line-height:1.7;align-items:baseline}+ul.files span{font:700 9.5px/1.7 var(--mono);letter-spacing:.1em;text-transform:uppercase;+ color:var(--dim2);min-width:26px}+ul.files .kb{min-width:0;white-space:nowrap;text-transform:none;letter-spacing:0;+ font-weight:500;color:var(--dim2)}+ul.files code{color:var(--dim);word-break:normal;overflow-wrap:anywhere;line-height:1.65}+.inscene{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-top:34px}+.inscene figure{margin:0;background:var(--surface);border:1px solid var(--line);+ border-radius:6px;overflow:hidden}+.inscene img{cursor:zoom-in}+.inscene figcaption{padding:12px 14px;font-size:13px;color:var(--dim);line-height:1.5}+.inscene figcaption b{display:block;font:700 10px/1.6 var(--mono);letter-spacing:.12em;+ text-transform:uppercase;color:var(--cyan);margin-bottom:4px}+.caveatbox{margin-top:30px;border-left:2px solid var(--amber);padding:4px 0 4px 18px;+ color:var(--dim);font-size:14.5px;max-width:82ch}+.caveatbox b{color:var(--amber)}++/* ---- footer ---- */+footer{border-top:1px solid var(--line2);margin-top:78px;padding:56px 0 90px;color:var(--dim2)}+footer h4{margin:0 0 12px;font-size:16px;color:var(--fg);font-weight:700}+.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:38px}+footer ul{margin:0;padding-left:18px;font-size:14px;line-height:1.75}+footer li b{color:var(--dim)}+footer p{font-size:14px;line-height:1.7;margin:0 0 12px}+footer pre{background:var(--surface);border:1px solid var(--line);border-radius:5px;+ padding:13px 15px;overflow-x:auto;font-family:var(--mono);font-size:12px;color:var(--dim)}++/* ---- lightbox ---- */+#lb{position:fixed;inset:0;z-index:100;background:rgba(5,6,8,.96);display:none;+ align-items:center;justify-content:center;padding:26px;cursor:zoom-out}+#lb.on{display:flex}+#lb img{max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}++@media(max-width:920px){+ .card{grid-template-columns:1fr;gap:22px}+ .viewer{position:static}+ .wrap{padding:0 18px}+ .lead{padding:0 16px}+ header{padding:60px 0 40px}+}+</style>++<nav><div class="wrap">+ <span class="mark">3dcodeverse<i>.</i></span>+ <a href="#multilang">multi-language</a>+ <a href="#static">objects</a>+ <a href="#artic">articulated</a>+ <a href="#scenes">scenes</a>+ <a href="#gfx">graphics</a>+ <span class="sp"></span>+ <a href="#notes">what is not here</a>+</div></nav>+<header><div class="wrap">+ <p class="kicker">a language model writes the code · the harness builds, measures and renders it</p>+ <h1>Fifteen things<br>made out of <em>raw 3D code</em>.</h1>+ <p class="lede">No mesh generator, no asset store, no SDK. Every artefact on this page is a model writing+ <b>ordinary source</b> — Blender <code>bpy</code>, CadQuery, three.js, URDF, GLSL, Python OpenGL — into a+ workspace with spatial tools, then looking at its own renders and fixing what it sees. The harness owns the+ build, the gates, the eight canonical cameras and the judge. <b>Every caption below is honest about what is+ still wrong.</b></p>+ <div class="stats">+ <div><b>15</b><span>artefacts shown</span></div>+ <div><b>6</b><span>languages</span></div>+ <div><b>4</b><span>tracks</span></div>+ <div><b>2</b><span>generators</span></div>+ <div><b>1</b><span>scene proving bpy → GLB → three.js</span></div>+ </div>+</div></header>+<div class="wrap"><div class="lead"><p class="lead-tag">the lead</p>++<article class="card" id="c-penny">+ <div class="card-media"><div class="viewer" data-card="penny"><div class="tabs"><button class="tab on" data-t="penny-0">hero · left elevation</button><button class="tab" data-t="penny-1">turntable · 36 frames</button><button class="tab" data-t="penny-2">8 canonical views</button></div><div class="stage"><figure class="pane on" id="penny-0"><img src="../bench/out/teaser/site/media/penny_farthing.jpg" alt="hero · left elevation" loading="lazy"></figure><figure class="pane" id="penny-1"><img data-src="../bench/out/teaser/site/media/tt_penny_farthing.gif" alt="turntable · 36 frames" loading="lazy"></figure><figure class="pane" id="penny-2"><img src="../bench/out/teaser/site/media/penny_farthing_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Penny-farthing</h3>+ <div class="chips"><span class="chip">Blender · bpy</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.863</span></span>+ <details class="prompt"><summary>prompt</summary><p>a Victorian penny-farthing bicycle: a very tall spoked front wheel, a small rear wheel, a curved backbone frame, a sprung leather saddle above the front hub, pedals on the front hub, curved handlebars and polished brass fittings</p></details>+ <p class="note">Kept as the first run. The spoke web is pure line art and the silhouette reads instantly from all eight canonical views; both wheels sit on the ground, nothing floats or explodes. <b>Honest miss:</b> the saddle and grips came out fire-engine red instead of tan leather, so the promised black-lacquer / brass / leather trio reads black / brass / <i>red</i>. The text-to-image texture pass ran and was correctly <i>refused</i> (Δ overall −0.290, materials 0.7 → 0.2) — what you see is <code>object.glb</code> with the raw bpy materials.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>codex:gpt-5.6-sol</dd></div>+ <div><dt>run</dt><dd>2 rounds · 31 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_obj_penny_farthing</code></dd></div>+ </dl>+ </div>+</article>+</div></div>+<section id="multilang"><div class="wrap">+ <div class="shead"><span class="num">01</span><h2>One scene, three languages</h2>+ <p>bpy → glb → three.js + glsl</p></div>+ <p class="lede" style="margin-top:-14px">This is the thing a single-language pipeline cannot show. Two hero props+ per scene are authored as <b>real Blender Python</b> in their own sub-workspace, with their own plan, their own+ agent session and their own eight-view review. The harness compiles each to <b>GLB</b>. A separate three.js+ session then loads those GLBs and composes them into a scene whose water, sky, sunbeams and particles are+ <b>hand-written GLSL</b>. Below: the assets alone, then the same assets inside the assembled frame.</p>++ <div class="pipe">+ <div class="step"><span class="n">01 · PYTHON</span><h5>Blender bpy</h5>+ <p>A per-asset agent session writes <code>bmesh</code> geometry and Principled BSDF materials in+ <code>_assets/<name>/src/model.py</code>, and reviews its own renders before finishing.</p></div>+ <div class="step"><span class="n">02 · BINARY</span><h5>GLB</h5>+ <p>The harness runs Blender headless, takes a census and exports+ <code>artifacts/object.glb</code>, then copies it to <code>public/assets/<name>.glb</code>.</p></div>+ <div class="step"><span class="n">03 · JAVASCRIPT</span><h5>three.js</h5>+ <p><code>src/scene.js</code> loads each GLB with <code>loaders.gltf.loadAsync</code> and the zone modules+ clone it into place beside procedural trees, bridges, benches and racks.</p></div>+ <div class="step"><span class="n">04 · GLSL</span><h5>Shaders</h5>+ <p>Raw vertex/fragment pairs in <code>src/shaders/</code> drive the pond, the sky and the volumetric+ sunbeams, each with a live <code>uTime</code> uniform the render rig samples at two times.</p></div>+ </div>++ <div class="assets">++<div class="asset">+ <div class="asset-pics">+ <img src="../bench/out/teaser/site/media/asset_lantern.jpg" alt="StoneLantern" loading="lazy" class="still">+ <img data-src="../bench/out/teaser/site/media/tt_asset_lantern.gif" alt="StoneLantern turntable" loading="lazy" class="turn">+ </div>+ <h4>StoneLantern <span class="pill ok">in scene from the GLB</span></h4>+ <p>Carved granite, chamfered cap, pierced fire box, lotus plinth, moss-worn edges — the sculpted-stone case a stack of three.js primitives cannot fake.</p>+ <ul class="files">+ <li><span>bpy</span><code>_assets/stone_lantern/src/model.py</code></li>+ <li><span>glb</span><code>public/assets/stone_lantern.glb</code> <span class="kb">443 KB</span></li>+ <li><span>js</span><code>src/assets/stone_lantern.js → loaders.gltf.loadAsync, cloned into 3 zones</code></li>+ </ul>+ <details class="sheetwrap"><summary>the object on its own · 8 views</summary>+ <img data-src="../bench/out/teaser/site/media/asset_lantern_sheet.jpg" alt="StoneLantern contact sheet" loading="lazy">+ </details>+</div>++<div class="asset">+ <div class="asset-pics">+ <img src="../bench/out/teaser/site/media/asset_censer.jpg" alt="BronzeCenser" loading="lazy" class="still">+ <img data-src="../bench/out/teaser/site/media/tt_asset_censer.gif" alt="BronzeCenser turntable" loading="lazy" class="turn">+ </div>+ <h4>BronzeCenser <span class="pill ok">in scene from the GLB</span></h4>+ <p>Three-legged cast bronze, domed pierced lid, two ring handles, relief band. The best single detail frame in the wave is this object lit by its own charcoal glow.</p>+ <ul class="files">+ <li><span>bpy</span><code>_assets/bronze_censer/src/model.py</code></li>+ <li><span>glb</span><code>public/assets/bronze_censer.glb</code> <span class="kb">367 KB</span></li>+ <li><span>js</span><code>src/scene.js:12 assetFiles → cloned in src/zones/courtyard_veranda.js:32</code></li>+ </ul>+ <details class="sheetwrap"><summary>the object on its own · 8 views</summary>+ <img data-src="../bench/out/teaser/site/media/asset_censer_sheet.jpg" alt="BronzeCenser contact sheet" loading="lazy">+ </details>+</div>++<div class="asset">+ <div class="asset-pics">+ <img src="../bench/out/teaser/site/media/asset_stove.jpg" alt="PotbellyStove" loading="lazy" class="still">+ <img data-src="../bench/out/teaser/site/media/tt_asset_stove.gif" alt="PotbellyStove turntable" loading="lazy" class="turn">+ </div>+ <h4>PotbellyStove <span class="pill ok">in scene from the GLB</span></h4>+ <p>Bellied cast iron, bevelled door with a latch, claw feet, flue collar. In scene the flue runs to the roof and the door glows.</p>+ <ul class="files">+ <li><span>bpy</span><code>_assets/potbelly_stove/src/model.py</code></li>+ <li><span>glb</span><code>public/assets/potbelly_stove.glb</code> <span class="kb">131 KB</span></li>+ <li><span>js</span><code>src/scene.js:12 assetFiles → cloned in src/zones/stove_corner.js:130</code></li>+ </ul>+ <details class="sheetwrap"><summary>the object on its own · 8 views</summary>+ <img data-src="../bench/out/teaser/site/media/asset_stove_sheet.jpg" alt="PotbellyStove contact sheet" loading="lazy">+ </details>+</div>++<div class="asset caveat">+ <div class="asset-pics">+ <img src="../bench/out/teaser/site/media/asset_skiff.jpg" alt="ClinkerSkiff" loading="lazy" class="still">+ <img data-src="../bench/out/teaser/site/media/tt_asset_skiff.gif" alt="ClinkerSkiff turntable" loading="lazy" class="turn">+ </div>+ <h4>ClinkerSkiff <span class="pill warn">GLB not used in scene</span></h4>+ <p>Lapstrake planking, visible ribs, bevelled stem, upturned on trestles. Real bpy, real GLB, and a good standalone object — but see the caveat below.</p>+ <ul class="files">+ <li><span>bpy</span><code>_assets/clinker_skiff/src/model.py</code></li>+ <li><span>glb</span><code>public/assets/clinker_skiff.glb</code> <span class="kb">400 KB</span></li>+ <li><span>js</span><code>loaded into ctx.assets — but NOT used: the in-scene hull is procedural three.js</code></li>+ </ul>+ <details class="sheetwrap"><summary>the object on its own · 8 views</summary>+ <img data-src="../bench/out/teaser/site/media/asset_skiff_sheet.jpg" alt="ClinkerSkiff contact sheet" loading="lazy">+ </details>+</div>+</div>++ <div class="inscene">+ <figure><img src="../bench/out/teaser/site/media/temple_censer.jpg" alt="censer in scene" loading="lazy">+ <figcaption><b>Blender in the frame</b>The BronzeCenser GLB, lit by its own charcoal glow inside the+ three.js temple courtyard. Pierced dome, ring handles and relief band all survive the trip through+ glTF — the best single detail frame in the wave.</figcaption></figure>+ <figure><img src="../bench/out/teaser/site/media/temple_bridge.jpg" alt="pond shader" loading="lazy">+ <figcaption><b>GLSL in the frame</b>The custom pond <code>ShaderMaterial</code>+ (<code>src/shaders/water.js</code>, uniforms <code>uTime/uDeep/uShallow/uSunDir</code>) carrying the+ lantern flames as long warm reflection streaks, with three StoneLantern GLB instances along the path.+ </figcaption></figure>+ <figure><img src="../bench/out/teaser/site/media/boat_stove.jpg" alt="stove in scene" loading="lazy">+ <figcaption><b>Both at once</b>The PotbellyStove GLB in the workshop corner — bellied cast iron from bpy,+ the flue and the hot door glow from three.js, and the hazy shafts from+ <code>VolumetricSunbeamShader</code>.</figcaption></figure>+ </div>++ <p class="caveatbox"><b>Verified, and one caveat.</b> Nothing in the harness enforces asset kind, so this was+ checked by hand rather than trusted. In the temple, both heroes are genuine end to end:+ <code>plan.json → assets[].kind = blender_glb</code>, the GLBs exist, and+ <code>src/assets/stone_lantern.js</code> is a loader that <i>throws</i> if the GLB is missing. In the boat+ workshop, PotbellyStove is genuine — but <b>ClinkerSkiff is not</b>: the GLB is authored, compiled and still+ loaded at <code>src/scene.js:12</code>, yet <code>src/zones/central_bay.js:59</code> calls a+ <i>procedural</i> three.js rebuild that a refine round wrote over the asset slot, so the hull you see in the+ workshop frames is JavaScript, not Blender. The standalone skiff card above is the real bpy asset. Filed as a+ defect; the temple is the clean demonstration.</p>+</div></section>+<section id="static"><div class="wrap"><div class="shead"><span class="num">02</span><h2>Static objects</h2><p>blender · cadquery · three.js</p></div>++<article class="card" id="c-arcade">+ <div class="card-media"><div class="viewer" data-card="arcade"><div class="tabs"><button class="tab on" data-t="arcade-0">hero · low front left</button><button class="tab" data-t="arcade-1">turntable</button><button class="tab" data-t="arcade-2">8 canonical views</button></div><div class="stage"><figure class="pane on" id="arcade-0"><img src="../bench/out/teaser/site/media/arcade.jpg" alt="hero · low front left" loading="lazy"></figure><figure class="pane" id="arcade-1"><img data-src="../bench/out/teaser/site/media/tt_arcade.gif" alt="turntable" loading="lazy"></figure><figure class="pane" id="arcade-2"><img src="../bench/out/teaser/site/media/arcade_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Arcade cabinet</h3>+ <div class="chips"><span class="chip">three.js</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.948</span></span>+ <details class="prompt"><summary>prompt</summary><p>an upright 1980s arcade cabinet: a sloped control panel with a ball-top joystick and six buttons, a recessed CRT screen behind a bezel, a glowing backlit marquee, a speaker grille, side art panels, a coin door and T-molding trim</p></details>+ <p class="note">Best card in the lane and it landed on the first try — no refine round, no re-run. Sloped panel with ball-top stick and six buttons, recessed CRT behind a bezel, backlit marquee, saturated pink/cyan side art, coin door, red T-molding down both cabinet edges. Poster-bright, and it reads at thumbnail size from every angle. <b>Nits:</b> the marquee and CRT are authored emissive but the shaded render rig draws them as flat bright colour rather than glowing, and the speaker holes do not resolve. The plain black back and top are correct for a real cabinet.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>1 round · 34 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_tjs_arcade_cabinet</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-lighthouse">+ <div class="card-media"><div class="viewer" data-card="lighthouse"><div class="tabs"><button class="tab on" data-t="lighthouse-0">hero · low front left</button><button class="tab" data-t="lighthouse-1">turntable</button><button class="tab" data-t="lighthouse-2">8 canonical views</button></div><div class="stage"><figure class="pane on" id="lighthouse-0"><img src="../bench/out/teaser/site/media/lighthouse.jpg" alt="hero · low front left" loading="lazy"></figure><figure class="pane" id="lighthouse-1"><img data-src="../bench/out/teaser/site/media/tt_lighthouse.gif" alt="turntable" loading="lazy"></figure><figure class="pane" id="lighthouse-2"><img src="../bench/out/teaser/site/media/lighthouse_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Coastal lighthouse</h3>+ <div class="chips"><span class="chip">Blender · bpy</span><span class="chip">text-to-image texture</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.728</span></span>+ <details class="prompt"><summary>prompt</summary><p>a coastal lighthouse on a rock plinth: a tapered stone tower with painted bands, a corbelled gallery with a railing, a glazed lantern room with a fresnel lens and a domed copper roof with a weathervane, and a keeper's door at the base</p></details>+ <p class="note"><b>The only piece in the whole wave where <code>--texture</code> paid.</b> The generated <code>weathered_granite_rock</code> map on the stepped plinth cleared the ship gate at Δ +0.065, so this card is rendered from <code>object_textured.glb</code>. Tapered banded tower, corbelled gallery with a full baluster railing, a brass fresnel drum visible inside the glazed lantern room, verdigris copper dome with weathervane. <b>Nits:</b> the winning round shows two white bands where an earlier round had three, and the coral/white livery is a touch cartoonish.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>3 rounds · 51 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_obj_lighthouse</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-gramophone">+ <div class="card-media"><div class="viewer" data-card="gramophone"><div class="tabs"><button class="tab on" data-t="gramophone-0">hero · front right ¾</button><button class="tab" data-t="gramophone-1">turntable</button><button class="tab" data-t="gramophone-2">8 canonical views</button></div><div class="stage"><figure class="pane on" id="gramophone-0"><img src="../bench/out/teaser/site/media/gramophone.jpg" alt="hero · front right ¾" loading="lazy"></figure><figure class="pane" id="gramophone-1"><img data-src="../bench/out/teaser/site/media/tt_gramophone.gif" alt="turntable" loading="lazy"></figure><figure class="pane" id="gramophone-2"><img src="../bench/out/teaser/site/media/gramophone_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Wind-up gramophone</h3>+ <div class="chips"><span class="chip">Blender · bpy</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.750</span></span>+ <details class="prompt"><summary>prompt</summary><p>an antique wind-up gramophone: a big flared brass horn on an elbow, an oak case with a felted turntable and a shellac record, a curved tonearm with a sound box, a crank handle on the side and turned feet</p></details>+ <p class="note">The horn flare is the reason this prompt was picked, and it delivered: a continuous specular sweep that travels across the bell as the turntable spins. Oak case with a moulded lip and four turned feet, green felt platter, black shellac record with a red centre label, curved tonearm with sound box, side crank — four distinct materials in one frame, and the horn does not intersect the case. <b>Nits:</b> the brass is a pale greenish gold rather than warm polished brass, and the case reads pine-pale rather than dark oak. Texture pass refused (Δ −0.371).</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>1 round · 48 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_obj_gramophone</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-radial">+ <div class="card-media"><div class="viewer" data-card="radial"><div class="tabs"><button class="tab on" data-t="radial-0">hero · front right ¾</button><button class="tab" data-t="radial-1">turntable</button><button class="tab" data-t="radial-2">8 canonical views</button></div><div class="stage"><figure class="pane on" id="radial-0"><img src="../bench/out/teaser/site/media/radial.jpg" alt="hero · front right ¾" loading="lazy"></figure><figure class="pane" id="radial-1"><img data-src="../bench/out/teaser/site/media/tt_radial.gif" alt="turntable" loading="lazy"></figure><figure class="pane" id="radial-2"><img src="../bench/out/teaser/site/media/radial_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Radial aero engine</h3>+ <div class="chips"><span class="chip">CadQuery</span><span class="chip warn">second attempt</span></div>+ <span class="verdict mid"><b>usable</b><span class="score">judge 0.600</span></span>+ <details class="prompt"><summary>prompt</summary><p>a five-cylinder radial aero engine displayed on a low steel stand, in the correct museum orientation: ONE cylinder points straight UP at top dead centre and the other four are at 72 degree steps, so there is NO cylinder pointing straight down and the engine sits clear of the ground on its stand. A dark grey machined steel crankcase carries a bolted circular front cover and a splined propeller hub on the axis; each of the five barrels is a pale satin aluminium tube wrapped in evenly pitched square cooling fins, capped by a domed head with a black rocker cover; a slim brass pushrod tube lies flush along the front of each barrel from the crankcase to its rocker cover; a short polished steel exhaust stub leaves each head, all five swept the same way around the ring.</p></details>+ <p class="note"><b>Shown honestly as <i>usable</i>, not <i>reads</i>.</b> The first attempt scored the same 0.60 and was a broken picture — one barrel buried straight down through the ground plane, exhaust stubs reading as detached sticks, no stand, all grey. The sharpened re-run above added the museum orientation, an explicit stand, flush pushrods and a four-colour call-out, and now the star, the evenly-pitched fins, the black rocker covers and the splined prop hub all read from every view — <i>at the same judged score</i>. The remaining flaw is structural, not a bad draw: the CadQuery track's only material channel is <code>cq.Color(r,g,b)</code>, with no metalness, so the "polished steel" exhaust stubs render bone-white and the crankcase face is a flat grey disc.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>codex:gpt-5.6-sol</dd></div>+ <div><dt>run</dt><dd>3 rounds · 65 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_cad_radial_engine_v2</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-chandelier">+ <div class="card-media"><div class="viewer" data-card="chandelier"><div class="tabs"><button class="tab on" data-t="chandelier-0">hero · front right ¾</button><button class="tab" data-t="chandelier-1">turntable</button><button class="tab" data-t="chandelier-2">8 canonical views</button></div><div class="stage"><figure class="pane on" id="chandelier-0"><img src="../bench/out/teaser/site/media/chandelier.jpg" alt="hero · front right ¾" loading="lazy"></figure><figure class="pane" id="chandelier-1"><img data-src="../bench/out/teaser/site/media/tt_chandelier.gif" alt="turntable" loading="lazy"></figure><figure class="pane" id="chandelier-2"><img src="../bench/out/teaser/site/media/chandelier_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Art-deco chandelier</h3>+ <div class="chips"><span class="chip">three.js</span><span class="chip warn">second attempt</span></div>+ <span class="verdict mid"><b>usable</b><span class="score">judge 0.600</span></span>+ <details class="prompt"><summary>prompt</summary><p>an art-deco brass chandelier dripping with cut crystal: a stepped brass ceiling canopy and a chain drop to a fluted central stem; two tiers of curved brass arms, six above and eight below, each ending in a frosted glass candle sleeve with a small tapered flame-tip finial; and hanging from the rim of BOTH tiers, in even concentric rings, more than forty stepped faceted crystal drops — long slender prisms with cut facets, each hanging free on its own short brass link so the whole lower half of the fixture reads as a curtain of glass; a fluted clear glass bowl at the crown under the stem.</p></details>+ <p class="note"><b>Shipped despite a lower score than the run it replaces</b> (0.60 against 0.841). The higher-scoring first attempt was a competent brass armature with plain white cylinder shades and <i>zero</i> hanging glass — none of the sparkle the prompt was chosen for. This re-run made the drops the dominant feature and now has real candle sleeves with flame-tip finials, a clear fluted crown bowl, two proper tiers of curved arms on rings, and visible hanging crystal. <b>Nits:</b> the drops read as pale thin icicles rather than a curtain of cut glass, and the arms look slightly flat and ribbon-like.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>4 rounds · 86 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_tjs_deco_chandelier_v2</code></dd></div>+ </dl>+ </div>+</article>+</div></section>+<section id="artic"><div class="wrap"><div class="shead"><span class="num">03</span><h2>Articulated</h2><p>urdf + blender · joints that move</p></div>++<article class="card" id="c-rollcab">+ <div class="card-media"><div class="viewer" data-card="rollcab"><div class="tabs"><button class="tab on" data-t="rollcab-0">hero · seven drawers cascaded</button><button class="tab" data-t="rollcab-1">joint sweep · 40 frames</button><button class="tab" data-t="rollcab-2">articulation sheet · every joint</button><button class="tab" data-t="rollcab-3">8 canonical views</button></div><div class="stage"><figure class="pane on" id="rollcab-0"><img src="../bench/out/teaser/site/media/rollcab.jpg" alt="hero · seven drawers cascaded" loading="lazy"></figure><figure class="pane" id="rollcab-1"><img data-src="../bench/out/teaser/site/media/tt_rollcab.gif" alt="joint sweep · 40 frames" loading="lazy"></figure><figure class="pane" id="rollcab-2"><img src="../bench/out/teaser/site/media/rollcab_art.jpg" alt="articulation sheet · every joint" loading="lazy"></figure><figure class="pane" id="rollcab-3"><img src="../bench/out/teaser/site/media/rollcab_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Rolling tool chest</h3>+ <div class="chips"><span class="chip">URDF</span><span class="chip">Blender · bpy</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.957</span></span>+ <details class="prompt"><summary>prompt</summary><p>a red steel rolling tool chest: seven drawers of three different heights on slides, full-width chrome pulls, a hinged top lid over a shallow tray, a push handle on one end and four castors</p></details>+ <p class="note">Passed at round zero, first try. Three materials genuinely separate — red carcass, chrome full-width pulls, black castors — and the articulation is the real prize: seven drawers on seven independent prismatic joints plus a hinged lid over a grey tray. The cascade still is the money shot the prompt was chosen for; it reads as <i>articulated</i> with no caption. <b>Honest miss the judge did not catch:</b> the brief asked for drawers in three distinct heights and they came out all the same height — <code>meshes/drawer1-6.glb</code> are byte-identical. Shipping <code>object.glb</code>, not the textured build: the texture pass painted one red powdercoat over all 28 parts including the chrome pulls and the castors, and shipped anyway on Δ 0.000.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>1 round · 31 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_art_roll_cabinet</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-clock">+ <div class="card-media"><div class="viewer" data-card="clock"><div class="tabs"><button class="tab on" data-t="clock-0">hero · door open on the movement</button><button class="tab" data-t="clock-1">48-frame loop · pendulum, hands, door</button><button class="tab" data-t="clock-2">motion strip</button><button class="tab" data-t="clock-3">8 canonical views</button></div><div class="stage"><figure class="pane on" id="clock-0"><img src="../bench/out/teaser/site/media/clock.jpg" alt="hero · door open on the movement" loading="lazy"></figure><figure class="pane" id="clock-1"><img data-src="../bench/out/teaser/site/media/tt_clock.gif" alt="48-frame loop · pendulum, hands, door" loading="lazy"></figure><figure class="pane" id="clock-2"><img src="../bench/out/teaser/site/media/clock_strip.jpg" alt="motion strip" loading="lazy"></figure><figure class="pane" id="clock-3"><img src="../bench/out/teaser/site/media/clock_sheet.jpg" alt="8 canonical views" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Longcase clock</h3>+ <div class="chips"><span class="chip">URDF</span><span class="chip">Blender · bpy</span><span class="chip warn">second attempt</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.947</span></span>+ <details class="prompt"><summary>prompt</summary><p>a longcase grandfather clock in dark figured walnut with working articulation: a broken-arch bonnet with two turned finials over reeded columns, a warm brass dial with a silvered chapter ring and blued steel hour and minute hands, a glazed trunk door on brass hinges with CLEAR TRANSPARENT glass so the movement is visible through it, a long pendulum with a large polished brass lenticular bob swinging on a pivot, and two brass cylindrical driving weights hanging on either side of the pendulum inside the trunk, all on a stepped plinth base with bracket feet</p></details>+ <p class="note">The first attempt scored 0.600 and rendered the trunk door pane as an <i>opaque white panel</i>, hiding the pendulum and weights — the entire reason the prompt was picked. The re-run demanded base-colour alpha ≤ 0.25 on the glass, named the brass bob and weights, and asked for a stepped silhouette and four materials separated by <i>value</i>, not just hue. Now the movement is visible through the closed door, the door swings 90° onto it, the bob ticks left and right, and the hands turn on the silvered chapter ring. Round 1 also tightened the pendulum limits to ±0.09 rad, which fixed a round-0 flaw where the bob swung out <i>through</i> the case wall. <b>Nits:</b> the broken-arch crestings read as thin dark horns rather than crisp swan-neck mouldings, and the plinth front panel reads slightly as a hole. Shipping <code>object.glb</code> — the texture pass painted walnut burl over the brass dial <i>and</i> the transparent glass and shipped on Δ 0.000.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>2 rounds · 98 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_art_grandfather_clock_v2</code></dd></div>+ </dl>+ </div>+</article>+</div></section>+<section id="scenes"><div class="wrap"><div class="shead"><span class="num">04</span><h2>Scenes</h2><p>three.js + glsl · authored cameras at two times</p></div>++<article class="card" id="c-alley">+ <div class="card-media"><div class="shots"><figure class="shot"><img src="../bench/out/teaser/site/media/alley_a.jpg" alt="Establishing · t = 0 s" loading="lazy"><figcaption>Establishing · t = 0 s</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/alley_b.jpg" alt="Establishing · t = 1.5 s" loading="lazy"><figcaption>Establishing · t = 1.5 s</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/alley_low.jpg" alt="LowAngleReflections · the wet-asphalt mirror" loading="lazy"><figcaption>LowAngleReflections · the wet-asphalt mirror</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/alley_sign.jpg" alt="SignDetail · emissive signage" loading="lazy"><figcaption>SignDetail · emissive signage</figcaption></figure></div><details class="sheetwrap"><summary>Contact sheet — all authored cameras, both times</summary><img data-src="../bench/out/teaser/site/media/alley_sheet.jpg" alt="contact sheet" loading="lazy"></details></div>+ <div class="card-body">+ <h3>Neon alley</h3>+ <div class="chips"><span class="chip">three.js</span><span class="chip">GLSL</span><span class="chip warn">second attempt</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.827</span></span>+ <details class="prompt"><summary>prompt</summary><p>a rain-soaked neon alley at night, seen down a narrow corridor between two TALL buildings whose walls fill the left and right thirds of the frame and rise out of the top of shot. MATERIALS AND LIGHTING ARE THE POINT: the ground is NEAR-BLACK wet asphalt (base colour 0x0a0c10, roughness 0.08-0.15, metalness 0.6) that acts as a MIRROR — every sign above is reflected in it as a sharp, vertically-stretched coloured streak … Rain is THIN BRIGHT VERTICAL STREAKS, not dots: draw it as LineSegments or as very narrow elongated quads about 0.4 m long and 0.01 m wide … NEVER render rain as square point sprites or large white squares.</p></details>+ <p class="note">The first attempt was only <i>usable</i>, and a scene census said why: <code>custom_materials</code> was empty — there was no wet-asphalt <code>ShaderMaterial</code> at all, so "every sign mirrored in the asphalt", the whole point of the prompt, never existed. The re-run spelled the material out numerically and the rain out geometrically. Round 0 then overshot into an 89 %-black frame at mean luminance 0.001; the refine loop pulled it back by round 4. The final frame is genuinely teaser-grade — near-black wet ground carrying long hot-pink and cyan reflection columns, rain as thin vertical streaks, a pixelated holo billboard. <b>Weaknesses:</b> the upper walls are a smooth washed lavender gradient with no surface detail, and the litter props are crude low-poly boxes.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>5 rounds · 75 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_scn_neon_alley_v2</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-boat">+ <div class="card-media"><div class="shots"><figure class="shot"><img src="../bench/out/teaser/site/media/boat_a.jpg" alt="Establishing · t = 0 s" loading="lazy"><figcaption>Establishing · t = 0 s</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/boat_b.jpg" alt="Establishing · t = 1.5 s" loading="lazy"><figcaption>Establishing · t = 1.5 s</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/boat_bench.jpg" alt="WorkbenchEye · volumetric GLSL sunbeams" loading="lazy"><figcaption>WorkbenchEye · volumetric GLSL sunbeams</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/boat_skiff.jpg" alt="SkiffDetail · the lapstrake hull" loading="lazy"><figcaption>SkiffDetail · the lapstrake hull</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/boat_stove.jpg" alt="StoveCornerDetail · the Blender stove, in scene" loading="lazy"><figcaption>StoveCornerDetail · the Blender stove, in scene</figcaption></figure></div><details class="sheetwrap"><summary>Contact sheet — all authored cameras, both times</summary><img data-src="../bench/out/teaser/site/media/boat_sheet.jpg" alt="contact sheet" loading="lazy"></details></div>+ <div class="card-body">+ <h3>Boatbuilder's workshop</h3>+ <div class="chips"><span class="chip">three.js</span><span class="chip">GLSL</span><span class="chip">Blender · bpy</span><span class="chip warn">second attempt</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.747</span></span>+ <details class="prompt"><summary>prompt</summary><p>INSIDE a boatbuilder's workshop at dusk — a FULLY ENCLOSED INTERIOR. THE ENCLOSURE IS THE ENVIRONMENT AND MUST BE BUILT FIRST: a rectangular timber shed about 16 m x 10 m x 6 m high with FOUR SOLID WALLS … A GLSL shader makes the window sunbeams VOLUMETRIC — visible cones of hazy light crossing the room, brightest near the glass. Sawdust motes drifting in those beams must be FINE, SMALL and SOFT … NEVER render them as large opaque white squares.</p></details>+ <p class="note">A large win over the first attempt (0.465 → 0.747), and not a lighting fix: attempt one built an open-air truss frame standing in a <i>pine forest</i> under a flat red sky — no walls, no roof skin, trees inside the workshop. The scene planner's environment section is written for exteriors and treats interiors as a parenthetical, so the plan never contained walls and refining could not add them. Forcing the enclosure first produced the most complete scene in the wave: real interior, dusty window wall with cool blue dusk outside against warm raking sunbeams and stove glow, plank floor, timber stacks, tool racks, shavings. The sawdust motes render as soft additive sprites here, fixing the white-square particle bug that spoiled the first neon run. <b>Not shown:</b> a pack of 8 tileable textures (seam ≈ 0.0007) was generated for this scene and could not be wired in — a passed run refuses <code>resume</code> without <code>--force</code>, and <code>--force</code> re-plans and overwrites the passing artefact.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>4 rounds · 81 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_scn_boat_workshop_v2</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-temple">+ <div class="card-media"><div class="shots"><figure class="shot"><img src="../bench/out/teaser/site/media/temple_a.jpg" alt="Establishing · t = 0 s" loading="lazy"><figcaption>Establishing · t = 0 s</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/temple_b.jpg" alt="Establishing · t = 1.5 s" loading="lazy"><figcaption>Establishing · t = 1.5 s</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/temple_censer.jpg" alt="CenserDetail · the Blender censer, in scene" loading="lazy"><figcaption>CenserDetail · the Blender censer, in scene</figcaption></figure><figure class="shot"><img src="../bench/out/teaser/site/media/temple_bridge.jpg" alt="BridgeEye · GLSL pond, lantern streaks" loading="lazy"><figcaption>BridgeEye · GLSL pond, lantern streaks</figcaption></figure></div><details class="sheetwrap"><summary>Contact sheet — all authored cameras, both times</summary><img data-src="../bench/out/teaser/site/media/temple_sheet.jpg" alt="contact sheet" loading="lazy"></details></div>+ <div class="card-body">+ <h3>Temple courtyard at night</h3>+ <div class="chips"><span class="chip">three.js</span><span class="chip">GLSL</span><span class="chip">Blender · bpy</span><span class="chip warn">second attempt</span></div>+ <span class="verdict mid"><b>usable</b><span class="score">judge 0.286</span></span>+ <details class="prompt"><summary>prompt</summary><p>a small temple courtyard on a koi pond at NIGHT — a deep indigo night (background 0x0b1026), lit ONLY by warm lantern flame … TWO HERO PROPS ARE AUTHORED IN BLENDER WITH bpy AND COMPILED TO GLB (asset kind blender_glb), then loaded into the three.js scene: (1) StoneLantern … (2) BronzeCenser … A custom GLSL water material is the HERO EFFECT and must be unmistakable: the pond is dark and highly reflective, with visible travelling ripples, the warm lantern lights reflected in it as long wobbling vertical streaks, and several koi visible moving under the surface.</p></details>+ <p class="note"><b>The clearest evidence in this wave that the judge cannot see what the picture is doing.</b> The first attempt scored <b>0.729</b> and "passed": a washed-out pale blue-grey courtyard that reads as snow at dawn, a flat grey pond, no ripples, no reflections, no koi. The light census for a scene specified as lit by stone lanterns was 1 ambient + 1 hemisphere + 2 directional + 10 point — the fill added to clear the frame-luminance floor was drowning the water shader, which had existed with a live time uniform the whole time. Re-prompting for dark granite, banning hemisphere light and promoting the water to hero effect produced the correct deep-indigo night, warm lantern pools, the pond finally reading as long warm reflection streaks, and the best single detail frame in the wave — and scored <b>0.286</b>. This card ships round 1 rather than the harness's best round 2, which scored marginally higher and lost the pond reflections. <b>Still honestly <i>usable</i>:</b> the paving is <i>still</i> pale lavender-white despite an explicit base-colour instruction, an unshaded white lamp sphere reads as a bug bottom-right, and the maple leaves render as flat red diamonds.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>codex:gpt-5.6-sol</dd></div>+ <div><dt>run</dt><dd>3 rounds · 85 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_scn_temple_night_v2</code></dd></div>+ </dl>+ </div>+</article>+</div></section>+<section id="gfx"><div class="wrap"><div class="shead"><span class="num">05</span><h2>Graphics</h2><p>glsl fragment shaders · python opengl</p></div>++<article class="card" id="c-aurora">+ <div class="card-media"><div class="viewer" data-card="aurora"><div class="tabs"><button class="tab on" data-t="aurora-0">t = 2.5 s</button><button class="tab" data-t="aurora-1">animated preview</button><button class="tab" data-t="aurora-2">frames at 0 / 1 / 2.5 / 4 / 6 s</button></div><div class="stage"><figure class="pane on" id="aurora-0"><img src="../bench/out/teaser/site/media/aurora.jpg" alt="t = 2.5 s" loading="lazy"></figure><figure class="pane" id="aurora-1"><img data-src="../bench/out/teaser/site/media/tt_aurora.gif" alt="animated preview" loading="lazy"></figure><figure class="pane" id="aurora-2"><img src="../bench/out/teaser/site/media/aurora_strip.jpg" alt="frames at 0 / 1 / 2.5 / 4 / 6 s" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Aurora over a ridge</h3>+ <div class="chips"><span class="chip">GLSL · fragment shader</span><span class="chip warn">third attempt</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.940</span></span>+ <details class="prompt"><summary>prompt</summary><p>an aurora over a snowy ridge on a black winter night, painted in three clean horizontal bands. TOP TWO THIRDS — the sky: near-black deep-blue, crowded with thousands of small crisp white stars, and across it hang layered aurora curtains made of many thin bright vertical rays … LOWER THIRD — the ridge: a single SOLID mountain silhouette, filled with ONE flat near-black colour and nothing else … no vertical stripes, no bars, no banding, no noise, no texture … BOTTOM FIFTH — the frozen lake: a smooth flat mirror below the ridge …</p></details>+ <p class="note">Third attempt, and the story is in what changed. Attempt one was a flat magenta wash over a speckle-noise ridge. Attempt two fixed the sky beautifully — emerald-to-violet rays, crisp stars, dark gaps — but drew the ridge as a barcode of vertical grey stripes mirrored into the lake; it looked like a rendering bug. Attempt three kept that sky language and added one paragraph specifying the ground as three named bands with the ridge as <i>one flat near-black fill</i>, plus a hard <code>--must</code> clause. That single instruction fixed it in one round. <b>Residue:</b> the star field is sparse, the lake band is a little muddy, and a faint horizontal band artifact survives in the lower third.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>1 round · 14 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_gfx_aurora_ridge_v3</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-murmur">+ <div class="card-media"><div class="viewer" data-card="murmur"><div class="tabs"><button class="tab on" data-t="murmur-0">t = 1 s</button><button class="tab" data-t="murmur-1">animated preview</button><button class="tab" data-t="murmur-2">frames at 0 / 1 / 2.5 / 4 / 6 s</button></div><div class="stage"><figure class="pane on" id="murmur-0"><img src="../bench/out/teaser/site/media/murmur.jpg" alt="t = 1 s" loading="lazy"></figure><figure class="pane" id="murmur-1"><img data-src="../bench/out/teaser/site/media/tt_murmur.gif" alt="animated preview" loading="lazy"></figure><figure class="pane" id="murmur-2"><img src="../bench/out/teaser/site/media/murmur_strip.jpg" alt="frames at 0 / 1 / 2.5 / 4 / 6 s" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Starling murmuration</h3>+ <div class="chips"><span class="chip">Python · OpenGL</span><span class="chip">GLSL</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.865</span></span>+ <details class="prompt"><summary>prompt</summary><p>a starling murmuration at dusk: several thousand instanced birds flocking with cohesion, separation and alignment around a slowly moving attractor, their dark silhouettes thickening and thinning into shifting shapes against a graded orange to deep-blue sky, with a low dark treeline along the bottom edge</p></details>+ <p class="note">The frame strip is the proof: the flock genuinely morphs — a dense column at 0.75 s, spread wide and thinning at 3 s, re-tightening and drifting left by 5–6 s. That is real flocking, not a scrolling texture. Worth saying that the baseline round scored a hard <b>0.0</b> — a flat mauve frame with no birds at all — and the harness's own refine loop recovered it to 0.865 over three rounds with no intervention. <b>Weaknesses:</b> the nearer birds are chunky arrowheads rather than fine specks, the flock edge sprays individuals across the whole sky instead of holding a tight murmuration shape, and the bottom silhouette reads as a rocky ridge rather than the treeline asked for.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>4 rounds · 43 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_ogl_murmuration</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-accretion">+ <div class="card-media"><div class="viewer" data-card="accretion"><div class="tabs"><button class="tab on" data-t="accretion-0">t = 2.5 s</button><button class="tab" data-t="accretion-1">animated preview</button><button class="tab" data-t="accretion-2">frames at 0 / 1 / 2.5 / 4 / 6 s</button></div><div class="stage"><figure class="pane on" id="accretion-0"><img src="../bench/out/teaser/site/media/accretion.jpg" alt="t = 2.5 s" loading="lazy"></figure><figure class="pane" id="accretion-1"><img data-src="../bench/out/teaser/site/media/tt_accretion.gif" alt="animated preview" loading="lazy"></figure><figure class="pane" id="accretion-2"><img src="../bench/out/teaser/site/media/accretion_strip.jpg" alt="frames at 0 / 1 / 2.5 / 4 / 6 s" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Accretion disc</h3>+ <div class="chips"><span class="chip">GLSL · fragment shader</span></div>+ <span class="verdict ok"><b>reads</b><span class="score">judge 0.753</span></span>+ <details class="prompt"><summary>prompt</summary><p>a black hole with a glowing accretion disc: a pure black sphere ringed by a thin bright photon ring, a hot orange-white disc of turbulent filaments orbiting it with the approaching side visibly brighter, the far side of the disc lensed up and over the shadow into an arc, and a star field warping near the edge</p></details>+ <p class="note">The most dramatic image in the wave, and it got there in one refine round (0.242 → 0.753). The far side of the disc is lensed up and over the shadow into a bright arc — the Gargantua geometry actually reads correctly, which is the hard part — and across the sample strip the filaments visibly shear and swirl. A follow-up run specifically to clean the background <i>did</i> deliver true black vacuum with stars, but flattened the composition into a symmetric halo, drew the stars as cheap four-point sparkles and left a grey band bisecting the black shadow, so this one ships. <b>Blemishes:</b> the background is a lavender-purple haze rather than black vacuum, and there is a faint grey smear in the top-left corner.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>2 rounds · 33 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_gfx_accretion_disc</code></dd></div>+ </dl>+ </div>+</article>++<article class="card" id="c-rain">+ <div class="card-media"><div class="viewer" data-card="rain"><div class="tabs"><button class="tab on" data-t="rain-0">t = 2.5 s</button><button class="tab" data-t="rain-1">animated preview</button><button class="tab" data-t="rain-2">frames at 0 / 1 / 2.5 / 4 / 6 s</button></div><div class="stage"><figure class="pane on" id="rain-0"><img src="../bench/out/teaser/site/media/rain.jpg" alt="t = 2.5 s" loading="lazy"></figure><figure class="pane" id="rain-1"><img data-src="../bench/out/teaser/site/media/tt_rain.gif" alt="animated preview" loading="lazy"></figure><figure class="pane" id="rain-2"><img src="../bench/out/teaser/site/media/rain_strip.jpg" alt="frames at 0 / 1 / 2.5 / 4 / 6 s" loading="lazy"></figure></div></div></div>+ <div class="card-body">+ <h3>Rain on a window</h3>+ <div class="chips"><span class="chip">GLSL · fragment shader</span></div>+ <span class="verdict mid"><b>usable</b><span class="score">judge 0.909</span></span>+ <details class="prompt"><summary>prompt</summary><p>raindrops running down a dark window in front of an out-of-focus neon city: each drop refracts a tiny inverted image of the lights behind it, drops grow until they break loose and cut clean trails downward, trails merge as they cross, the glass carries a fine mist between the drops and the city bokeh drifts slowly</p></details>+ <p class="note"><b>The highest score on this page that is not the best picture on this page</b> — shown as <i>usable</i> on purpose. It reads immediately as rain on a window over a neon city, the big drops genuinely refract tiny inverted images of the lights, and the bokeh drifts between frames. But the whole pane sits in a pale lavender-grey haze instead of the dark glass the brief asked for, the bokeh are washy blobs rather than tight light sources, and the trails do not read as clean streaks. Attractive but soft. Two re-runs to fix the contrast were both worse: pushing this model toward "dark / high-contrast / saturated" collapses it out of photographic softness into flat vector shapes — one attempt came back as cartoon confetti discs on black with no drops at all.</p>+ <dl class="meta">+ <div><dt>generator</dt><dd>api-agent:gemini:gemini-3.7-flash</dd></div>+ <div><dt>run</dt><dd>1 round · 7 min</dd></div>+ <div><dt>slug</dt><dd><code>tsr_gfx_rain_window</code></dd></div>+ </dl>+ </div>+</article>+</div></section>+<footer id="notes"><div class="wrap">+ <div class="cols">+ <div>+ <h4>What is not on this page</h4>+ <ul>+ <li><b>Espresso portafilter (CadQuery)</b> — rated <i>no</i> and left out. Two attempts; the second is+ better geometry (the perforated basket resolves, the lugs became tabs) but the body is still flat+ white on stubby legs. The cause is structural: the CadQuery track's only material channel is+ <code>cq.Color(r,g,b)</code>, so "polished stainless" is unreachable by construction, and its texture+ pass produced zero textures. A third attempt would fail the same way.</li>+ <li><b>Ten superseded attempts</b> — the first radial engine, the first chandelier, the first clock, the+ first temple / workshop / alley, two extra rain windows, two extra auroras and a second accretion disc.+ Each is on disk; each lost to the version shown here, and the caption of the winner says why.</li>+ <li><b>mp4 turntables</b> — ffmpeg is not installed on this machine, so every motion clip here is an+ animated GIF via the PIL fallback. Nothing about the harness requires that.</li>+ <li><b>Scene textures</b> — tileable texture packs were generated for two scenes and could not be wired+ in without re-planning the passing run.</li>+ </ul>+ </div>+ <div>+ <h4>How to read the score</h4>+ <p>The number on each card is the harness judge (<code>gemini-3.1-pro-preview</code>, falling back to+ flash × 3), and on this page it is a <b>filter, not the point</b> — it decided whether a piece was worth+ looking at, and then a human looked. Two cards ship at a <i>lower</i> judged score than the run they+ replace, because the higher-scoring run did not contain the thing the prompt was chosen for. The temple+ courtyard is the sharpest case: the washed-out first attempt scored 0.729 and the correct-looking night+ scored 0.286.</p>+ <h4 style="margin-top:26px">Regenerate</h4>+ <pre>pip install -e harness+cd harness+3dcv bench run bench/prompts/teaser_v1_static.yaml \+ --generator api-agent:gemini:gemini-3.7-flash+3dcv render <slug> # 8 canonical views+3dcv texture pass <slug> # text-to-image material pass+python -m http.server -d . 8931 # this page: /docs/teaser.html</pre>+ <p>Prompt sheets: <code>bench/prompts/teaser_v1_{static,articulated,scene,graphics}.yaml</code> —+ the sharpened re-runs are in the same files, suffixed <code>_v2</code> / <code>_v3</code>.+ Full method notes: <code>docs/TEASER.md</code>.</p>+ </div>+ </div>+</div></footer>++<div id="lb"><img alt=""></div>+<script>+// lazy panes: only fetch a tab's image when it is first shown (the GIFs are heavy)+function show(el){ if(el && el.dataset.src){ el.src = el.dataset.src; delete el.dataset.src; } }+document.querySelectorAll('.viewer').forEach(v=>{+ v.querySelectorAll('.tab').forEach(t=>t.addEventListener('click',()=>{+ v.querySelectorAll('.tab').forEach(x=>x.classList.remove('on'));+ v.querySelectorAll('.pane').forEach(x=>x.classList.remove('on'));+ t.classList.add('on');+ const pane = document.getElementById(t.dataset.t);+ pane.classList.add('on'); show(pane.querySelector('img'));+ }));+});+// everything else: load when it scrolls near+const io = new IntersectionObserver((es)=>es.forEach(e=>{+ if(e.isIntersecting){ show(e.target); io.unobserve(e.target); }+}),{rootMargin:'400px'});+document.querySelectorAll('img[data-src]').forEach(i=>{+ if(!i.closest('.pane')) io.observe(i);+});+document.querySelectorAll('details').forEach(d=>d.addEventListener('toggle',()=>{+ if(d.open) d.querySelectorAll('img[data-src]').forEach(show);+}));+// lightbox+const lb = document.getElementById('lb'), lbi = lb.querySelector('img');+document.addEventListener('click',e=>{+ const t = e.target;+ if(t.tagName==='IMG' && t.closest('.pane,.shot,.asset-pics,.inscene,.sheetwrap')){+ lbi.src = t.currentSrc || t.src; lb.classList.add('on');+ } else if(t.closest('#lb')){ lb.classList.remove('on'); lbi.removeAttribute('src'); }+});+addEventListener('keydown',e=>{ if(e.key==='Escape'){ lb.classList.remove('on'); lbi.removeAttribute('src'); }});+</script>\ No newline at end of file