Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
docs(engine-qa): write docs/engine-qa.md and wire it into the site
nirholas73e9f988b625
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ef7b6551a..5f39139d8 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,11 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr- **Docs · Staked Event Markets** (`/docs/event-markets-staking`): Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.+## 2026-10-12++- **Docs · Engine QA** (`/docs/engine-qa`): A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.+- **Engine QA: a free real-time-engine fitness grade, plus real LOD chains**: A new free grade answers the question a game engine's import step asks that neither glTF validation nor simulation readiness does: draw calls, material count, texel density against the mesh's real-world size, a per-level triangle budget for a LOD chain, and whether the mesh is cheap and closed enough to use as its own physics collider. GET/POST /api/3d/engine-qa grades any public GLB (format=stl exports a watertight mesh for printing); the same browser-only checks run with zero network cost in Rig Doctor, and the full grade with a one-click upgrade in the GLB viewer, through a shared <engine-qa> panel component. The underlying LOD builder (packages/glb-tools's buildLodChain, real meshoptimizer decimation tagged with MSFT_lod) is now also available on generation: send { "lods": true } to POST /api/forge and the finished creation gets a combined LOD-chain variant alongside its delivered mesh, the same opt-in, fire-and-forget pattern as the existing web-delivery variant. (`/docs/engine-qa`) `[feature]`+## 2026-10-11- **Classic Home** (`/classic`): The original three.ws landing page: the pitch, live agent demos and the front door to every flow, kept as the classic view of the desktop.diff --git a/STRUCTURE.md b/STRUCTURE.mdindex 1541e5491..7340e6a23 100644--- a/STRUCTURE.md+++ b/STRUCTURE.md@@ -153,6 +153,7 @@ bottom.| Smart glasses (the nearest-agent cue on your lens) | Pure HUD protocol [src/irl/glasses/protocol.js](src/irl/glasses/protocol.js), controller [src/irl/glasses/bridge.js](src/irl/glasses/bridge.js), Web Bluetooth transport [src/irl/glasses/transport.js](src/irl/glasses/transport.js), device adapters [src/irl/glasses/frame.js](src/irl/glasses/frame.js) (Brilliant Labs Frame) + [src/irl/glasses/g1.js](src/irl/glasses/g1.js) (Even Realities G1), connect sheet [src/irl/glasses/connect-ui.js](src/irl/glasses/connect-ui.js), wired into [src/irl.js](src/irl.js) behind the /irl "Connect glasses" button | Live (companion BLE lenses) · Meta Ray-Ban Display and native camera/voice lanes planned | No smart-glasses display in 2026 can render a three.ws avatar: Frame and the G1 are thin Bluetooth screens with no browser, and Meta Ray-Ban Display is a 600x600 additive panel whose SDK states custom pixel and 3D rendering are unsupported. So the lens carries the SIGNAL (nearest agent, direction, distance, arrivals) that /irl already computes for its on-screen nudge ([src/irl/proximity-cue.js](src/irl/proximity-cue.js)), and the phone keeps the BODY in AR. The protocol module is pure (no DOM, no Bluetooth, no clock) so formatting, direction glyphs and byte-level packet framing are unit tested; the bridge above it owns WHEN to push (3 Hz ceiling, single-flight writes, 4 s heartbeat that recovers a dropped write, 3.5 s announcements) and mirrors IrlNet's status-event shape. A connected link stamps its telemetry as a `glasses` encounter. Web Bluetooth is Chromium-only, and the connect sheet gates on that honestly rather than failing at pair time. Docs: [docs/glasses.md](docs/glasses.md) `→ /docs/glasses`, build plan [docs/glasses/meta-ray-ban-display.md](docs/glasses/meta-ray-ban-display.md), platform research [docs/glasses/research.md](docs/glasses/research.md). Tests: [tests/irl-glasses-protocol.test.js](tests/irl-glasses-protocol.test.js) || Verifiable 3D provenance (content credentials) | Spec [specs/PROVENANCE_3D.md](specs/PROVENANCE_3D.md), pure core [api/_lib/provenance-3d.js](api/_lib/provenance-3d.js), Solana anchor [api/_lib/provenance-anchor.js](api/_lib/provenance-anchor.js), MCP tools [api/_mcp3d/tools/provenance.js](api/_mcp3d/tools/provenance.js) (`verify_provenance` free, `anchor_provenance` paid $0.05), free REST verify [api/provenance.js](api/provenance.js) `→ /api/provenance`, viewer badge [public/viewer.html](public/viewer.html), docs [docs/provenance.md](docs/provenance.md). | Live (verify) · anchor gated on issuer key + devnet funds | C2PA-style signed content credentials for AI 3D: creator, prompt, model/provider, lineage, timestamp, and the GLB's sha256, ed25519-signed by the three.ws issuer with the credential hash anchored on Solana. Free public `verify_provenance` / `GET /api/provenance?src=…` recompute the hash and return `verified | tampered | unknown` (a single changed byte → tampered); the verify path and response are coin-clean (both stores). `anchor_provenance` signs + writes the SPL Memo anchor + stores the credential in R2. Tests: [tests/provenance-3d.test.js](tests/provenance-3d.test.js). Evidence: [prompts/store-submissions/_generated/provenance/](prompts/store-submissions/_generated/provenance/). Store-submission prompt 19. || Simulation readiness (a physics grade for 3D assets) | Spec [specs/SIM_READINESS.md](specs/SIM_READINESS.md), pure core [api/_lib/sim-readiness.js](api/_lib/sim-readiness.js), storage [api/_lib/sim-readiness-store.js](api/_lib/sim-readiness-store.js) + migration [20260813180000_sim_readiness_grades.sql](api/_lib/migrations/20260813180000_sim_readiness_grades.sql), free MCP tool [api/_mcp3d/tools/sim-readiness.js](api/_mcp3d/tools/sim-readiness.js) (`grade_sim_readiness`), free REST [api/sim-readiness.js](api/sim-readiness.js) `→ /api/sim-readiness`, shared badge + details panel [public/sim-readiness-panel.js](public/sim-readiness-panel.js) (`<sim-readiness>`, used by [public/viewer.html](public/viewer.html) and [src/model-page.js](src/model-page.js)), write path in [api/_lib/forge-store.js](api/_lib/forge-store.js) `materializeCreation`, docs [docs/sim-readiness.md](docs/sim-readiness.md). | Live | The question a renderer never asks and a rigid-body solver always does: can this mesh be simulated as-is? Four verdicts (`simulation_ready`, `needs_scale`, `needs_repair`, `unusable`, plus `unreadable` for non-glTF bytes) over measurements derived entirely from the geometry: watertightness and winding via welded-position topology, real-world extents read as meters per the glTF unit convention, exact volume/centroid/inertia from the divergence theorem and tetrahedron covariance, and a convex-hull proxy with its convexity ratio. Nothing is guessed: where a value cannot be known from the mesh (true scale, density) the report says so. Grades are keyed by GLB content hash, not URL, so one row serves the forge creation, the Object Library entry, a remix and an arbitrary third-party URL; every finished generation is graded on the write path, so a model page renders its verdict with no extra request. Signed into the content credential as `simReadiness` (provenance v2), which is what makes the physics claim as forge-proof as the authorship claim. Free, no account, no coin surface, both stores. Tests: [tests/sim-readiness.test.js](tests/sim-readiness.test.js), [tests/api/sim-readiness-endpoint.test.js](tests/api/sim-readiness-endpoint.test.js), [tests/provenance-3d.test.js](tests/provenance-3d.test.js). |+| Engine QA (a real-time-engine fitness grade) | Isomorphic core [api/_lib/engine-qa-core.js](api/_lib/engine-qa-core.js) (thresholds + verdict math, zero imports), server grader [api/_lib/engine-qa.js](api/_lib/engine-qa.js), browser-only partial grader [src/engine-qa-client.js](src/engine-qa-client.js), free REST [api/3d/engine-qa.js](api/3d/engine-qa.js) `→ /api/3d/engine-qa` (`?lods=1` builds a real LOD chain first, `?format=stl` exports a watertight mesh), shared badge + details panel [public/engine-qa-panel.js](public/engine-qa-panel.js) (`<engine-qa>`, used by [public/viewer.html](public/viewer.html) and Rig Doctor's [src/rig-doctor-page.js](src/rig-doctor-page.js)), LOD chain builder [packages/glb-tools/src/lod.js](packages/glb-tools/src/lod.js) (`buildLodChain`, real meshoptimizer decimation tagged `MSFT_lod`), opt-in generation variant in [api/_lib/forge-store.js](api/_lib/forge-store.js) (`buildLodVariant`, wired through [api/_lib/forge-options.js](api/_lib/forge-options.js)'s `lods` option) + migration [20261015020000_forge_lod_variant.sql](api/_lib/migrations/20261015020000_forge_lod_variant.sql), docs [docs/engine-qa.md](docs/engine-qa.md) `→ /docs/engine-qa`. | Live | The question a game engine's import step asks that neither glTF validation nor [simulation readiness](docs/sim-readiness.md) answers: will this run at 60fps, and can it collide cheaply? Five checks, each `pass`/`warn`/`fail`/`skip`, overall the worst non-skip verdict: draw calls (real scene-graph walk, one per node+primitive pair actually reachable from the root, so instancing counts correctly), material count, texel density (texels per meter of real-world surface, `skip` honestly when nothing is UV-mapped to a texture), a per-LOD-level triangle budget plus the monotonic-decrease rule a chain must satisfy, and collider suitability (reuses the print pipeline's watertight/manifold analyzer). The thresholds and verdict math live in one zero-dependency core so the server grader and Rig Doctor's zero-network browser pass can never disagree. The same `buildLodChain` pipeline backs an on-demand upgrade in the panel and an opt-in `{ lods: true }` generation option that stores a combined `MSFT_lod` GLB as a third object alongside the delivered mesh, fire-and-forget, same pattern as the existing web-delivery variant. Tests: [tests/engine-qa-core.test.js](tests/engine-qa-core.test.js), [tests/engine-qa.test.js](tests/engine-qa.test.js), [tests/engine-qa-client.test.js](tests/engine-qa-client.test.js), [tests/forge-options.test.js](tests/forge-options.test.js), [tests/forge-store-materialize.test.js](tests/forge-store-materialize.test.js). || OpenAI Select Partner (partner surface + announcement pack) | [pages/openai/index.html](pages/openai/index.html) `→ /openai`, badge assets [public/partners/openai/](public/partners/openai), announcement [blog/three-ws-openai-select-partner.html](blog/three-ws-openai-select-partner.html) `→ /blog/three-ws-openai-select-partner`, directory card in [pages/partners.html](pages/partners.html) `→ /partners`, press/social pack [marketing/openai-select-partner/](marketing/openai-select-partner/README.md), original OpenAI-supplied badge files + press-release template [OAI Select Tier Assets/](OAI%20Select%20Tier%20Assets/README.md) | Live | three.ws's OpenAI Partner Network Select-tier surface. `/openai` is the partner landing: the supplied badge (used unmodified, on a white plate), the four live OpenAI surfaces (the free keyless [3D Studio MCP connector](docs/mcp-studio.md) `→ /api/mcp-studio`, the custom-GPT Actions twin `→ /api/3d/studio`, [Spatial MCP](specs/SPATIAL_MCP.md), and [AR in ChatGPT](docs/chatgpt-ar.md)), the connect table, and the eleven-tool list. The marketing pack holds badge-usage rules and the press-release draft, which is gated on OpenAI's written approval before publishing (see its README). || NVIDIA Inception (membership surface + GPU docs cluster) | Landing page [pages/nvidia/index.html](pages/nvidia/index.html) `→ /nvidia` (vercel route + vite input + dev middleware, same wiring as `/openai`), membership doc [docs/nvidia-inception.md](docs/nvidia-inception.md) `→ /docs/nvidia-inception` + overview deck [docs/nvidia-inception/index.html](docs/nvidia-inception/index.html) `→ /docs/nvidia-inception/index.html`, free hosted-model map [docs/nvidia-models.md](docs/nvidia-models.md) `→ /docs/nvidia-models`, forum write-up [docs/nvidia-nemotron-spotlight.md](docs/nvidia-nemotron-spotlight.md) `→ /docs/nvidia-nemotron-spotlight`, tutorials [docs/tutorials/nvidia-3d-free.md](docs/tutorials/nvidia-3d-free.md) `→ /tutorials/nvidia-3d-free` and [docs/tutorials/nvidia-nim-self-host.md](docs/tutorials/nvidia-nim-self-host.md) `→ /tutorials/nvidia-nim-self-host`, engineering post [blog/image-to-3d-on-nvidia-l4-and-blackwell.html](blog/image-to-3d-on-nvidia-l4-and-blackwell.html) `→ /blog/image-to-3d-on-nvidia-l4-and-blackwell`, member badge [public/marks/nvidia-inception-badge.svg](public/marks/nvidia-inception-badge.svg) in [public/footer.html](public/footer.html), directory card in [pages/partners.html](pages/partners.html) `→ /partners` | Live | Everything NVIDIA on the platform, in two layers. **Free hosted lane:** one `NVIDIA_API_KEY` behind TRELLIS text-to-3D, FLUX.1-schnell, the Llama/Nemotron chat lineup, Nemotron vision, nv-embedqa, the reranker, NemoGuard, and Magpie speech (`nvidia-models`). **Self-hosted GPU fleet:** 12 Cloud Run GPU services, 11 on `nvidia-l4` and one on `nvidia-rtx-pro-6000` (Blackwell), covering text/image-to-3D, texture, remesh, rigging, and motion (see each `workers/model-*/README.md`). Membership was accepted July 2026 and is a startup program, not a partnership or an investment; the badge links to NVIDIA's startup program and must not imply endorsement. || Press kit (brand marks + media assets) | [pages/press/index.html](pages/press/index.html) `→ /press`, marks [public/brand/](public/brand), layout source [marketing/brand/](marketing/brand/README.md), renderer [scripts/render-brand-assets.mjs](scripts/render-brand-assets.mjs) `npm run build:brand-assets` | Live | The self-serve press surface: transparent-PNG marks (cube, horizontal and stacked lockups for dark and light grounds), the OpenAI announcement graphics, boilerplate at four lengths (one line, short, long, and a full-length bio) with copy buttons, fast facts, and the mark-usage rules. Everything is rendered from source rather than hand-exported, so a copy change re-renders the whole set; the renderer also builds `/brand/three-ws-press-kit.zip` with a README carrying the usage rules so the files cannot travel without them. Announcement cards come from [marketing/openai-select-partner/cards/social-card.html](marketing/openai-select-partner/cards/social-card.html) via `npm run build:openai-cards`. |diff --git a/data/changelog.json b/data/changelog.jsonindex ba3b95d4a..5ff7f2bff 100644--- a/data/changelog.json+++ b/data/changelog.json@@ -1,6 +1,15 @@{"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security, desktop (desktop entries become the desktop app's release notes). `link` is optional and must be a live three.ws path.","entries": [+ {+ "date": "2026-10-12",+ "title": "Engine QA: a free real-time-engine fitness grade, plus real LOD chains",+ "link": "/docs/engine-qa",+ "summary": "A new free grade answers the question a game engine's import step asks that neither glTF validation nor simulation readiness does: draw calls, material count, texel density against the mesh's real-world size, a per-level triangle budget for a LOD chain, and whether the mesh is cheap and closed enough to use as its own physics collider. GET/POST /api/3d/engine-qa grades any public GLB (format=stl exports a watertight mesh for printing); the same browser-only checks run with zero network cost in Rig Doctor, and the full grade with a one-click upgrade in the GLB viewer, through a shared <engine-qa> panel component. The underlying LOD builder (packages/glb-tools's buildLodChain, real meshoptimizer decimation tagged with MSFT_lod) is now also available on generation: send { \"lods\": true } to POST /api/forge and the finished creation gets a combined LOD-chain variant alongside its delivered mesh, the same opt-in, fire-and-forget pattern as the existing web-delivery variant.",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-11","title": "Restyle Studio can now edit a single part of a model, not just the whole thing",diff --git a/data/pages.json b/data/pages.jsonindex 4f2b099ed..ac739dfdc 100644--- a/data/pages.json+++ b/data/pages.json@@ -5887,6 +5887,14 @@"priority": 0.6,"changefreq": "monthly"},+ {+ "path": "/docs/engine-qa",+ "title": "Docs · Engine QA",+ "description": "A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.",+ "added": "2026-10-12",+ "priority": 0.6,+ "changefreq": "monthly"+ },{"path": "/docs/remix","title": "Docs · The remix economy",diff --git a/docs/engine-qa.md b/docs/engine-qa.mdnew file mode 100644index 000000000..26de0ee2e--- /dev/null+++ b/docs/engine-qa.md@@ -0,0 +1,161 @@+# Engine QA: a real-time-engine fitness grade for 3D assets++A renderer and a game engine ask different questions about the same GLB. [Simulation readiness](./sim-readiness.md) tells you whether a physics solver can integrate the mesh. Nothing tells you whether a real-time engine will actually run it at 60fps, until it stutters on a phone three weeks after import.++**Engine QA is that grade, computed from the file itself.** Point it at a GLB and it answers the import-time questions an engine's own profiler would eventually raise anyway: how many draw calls does the default scene actually cost, how many materials does it carry, is the texture resolution matched to the mesh's real-world size, does each level of a LOD chain fit its triangle budget and shrink monotonically, and is the mesh cheap enough, and closed enough, to use as its own physics collider.++- **Free grade:** `GET /api/3d/engine-qa?url=<glbUrl>`+- **Pure core (isomorphic, zero imports):** [`api/_lib/engine-qa-core.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/engine-qa-core.js)+- **Server grader (full report):** [`api/_lib/engine-qa.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/engine-qa.js)+- **Browser-only partial grader (zero network):** [`src/engine-qa-client.js`](https://github.com/nirholas/three.ws/blob/main/src/engine-qa-client.js)++No account, no payment, no wallet. Same reasoning as every other free grade on this platform: a check that costs money is a check nobody runs before shipping.++## The four verdicts++| Verdict | Glyph | What it means |+|---|---|---|+| `pass` | ✓ Engine ready | Draw calls, materials, and texel density all sit inside the real-time budget. |+| `warn` | ⚠ Needs tuning | Nothing here breaks on import, but at least one check is past the comfortable range for a 60fps target. |+| `fail` | ✕ Will stutter | At least one check is past the band a real-time engine can absorb without dropping frames or splitting batches. |+| `skip` | ◇ Engine QA | Nothing measurable yet (no check has run, or a check found nothing it could measure, like a mesh with no UV-mapped texture). |++The overall verdict is the worst non-skip verdict across all five checks. A file with four `pass` checks and one `fail` is a `fail` overall: a single blown budget is enough to stutter, no matter how clean the rest of the mesh is.++## Grade an asset++```bash+curl "https://three.ws/api/3d/engine-qa?url=https://three.ws/avatars/cesium-man.glb"+```++```jsonc+{+ "url": "https://three.ws/avatars/cesium-man.glb",+ "sizeBytes": 1283324,+ "report": {+ "version": "threews.engine.qa.v1",+ "overall": "warn",+ "materialCount": 1,+ "textureCount": 4,+ "drawCalls": 1,+ "checks": {+ "drawCalls": { "value": 1, "verdict": "pass", "thresholds": { "good": 20, "warn": 60 } },+ "materialCount": { "value": 1, "verdict": "pass", "thresholds": { "good": 8, "warn": 20 } },+ "texelDensity": { "value": 1842, "verdict": "warn", "thresholds": { "minPxPerMeter": 128, "maxPxPerMeter": 2048 } },+ "triangleBudget": { "value": null, "verdict": "skip", "reason": "no LOD chain supplied" },+ "collider": {+ "value": { "watertight": true, "manifold": true, "shells": 1, "openEdges": 0, "triangleCount": 3148, "budget": 5000 },+ "verdict": "pass",+ "reason": null+ }+ }+ },+ "ts": "2026-10-12T09:14:02.118Z"+}+```++Every number traces back to the file: draw calls are counted by walking the default scene graph once (one draw call per node + triangle-primitive pair actually reachable from the root, so a mesh referenced by two nodes correctly costs two draws), texel density is `sqrt(UV-triangle-area-in-texels / world-triangle-area-in-m²)` summed across every textured triangle after applying the node's world transform, and the collider check reuses the print pipeline's own manifold/watertight analyzer (the same one [`format=stl`](#export-a-collider-ready-stl) uses to decide whether an export would even be printable).++### Build and grade a LOD chain++`triangleBudget` is `skip` unless you ask for a chain. Pass `lods=1` and the endpoint builds a real `MSFT_lod` chain with [`packages/glb-tools`'s `buildLodChain`](./forge-pipeline.md#the-lod-variant-opt-in-because-decimation-is-real-work) (meshoptimizer decimation, not a stand-in) before grading it:++```bash+curl "https://three.ws/api/3d/engine-qa?url=https://three.ws/avatars/cesium-man.glb&lods=1"+```++```jsonc+{+ "report": {+ "checks": {+ "triangleBudget": {+ "value": [+ { "name": "LOD0", "triangleCount": 4672, "budget": 100000, "verdict": "pass" },+ { "name": "LOD1", "triangleCount": 2103, "budget": 40000, "verdict": "pass" },+ { "name": "LOD2", "triangleCount": 743, "budget": 12000, "verdict": "pass" }+ ],+ "monotonicDecrease": true,+ "verdict": "pass"+ }+ }+ },+ "lods": [+ { "name": "LOD0", "ratio": 1, "triangleCount": 4672, "vertexCount": 2338 },+ { "name": "LOD1", "ratio": 0.45, "triangleCount": 2103, "vertexCount": 1091 },+ { "name": "LOD2", "ratio": 0.16, "triangleCount": 743, "vertexCount": 412 }+ ]+}+```++Each level is checked two ways: its own triangle count against that level's ceiling, and the chain as a whole against the rule every LOD chain must satisfy, strictly decreasing triangle counts from highest detail to lowest. A chain that fails either check fails `triangleBudget` outright, because a LOD1 that is heavier than LOD0 is not a LOD chain, it is a bug.++### Export a collider-ready STL++`format=stl` exports the same mesh as binary STL (millimeters) when the collider check's own `watertight` field is true:++```bash+curl -s -o model.stl "https://three.ws/api/3d/engine-qa?url=https://three.ws/avatars/cesium-man.glb&format=stl"+```++A non-watertight mesh never produces a silently broken STL. Instead it answers `422 not_watertight` with the exact defect count:++```jsonc+{ "error": "this mesh is not watertight; an STL export would be unprintable", "openEdges": 18, "nonManifoldEdges": 0, "shells": 1 }+```++## Why the checks say what they say++| Check | Measures | Thresholds | `skip` when |+|---|---|---|---|+| `drawCalls` | One draw per (node, triangle-primitive) pair actually in the default scene, so instancing and node reuse are counted honestly. | `pass` ≤ 20, `warn` ≤ 60, `fail` above | Never (every mesh has a scene graph). |+| `materialCount` | Distinct materials across the whole document. | `pass` ≤ 8, `warn` ≤ 20, `fail` above | Never. |+| `texelDensity` | Texels per meter of real-world surface, summed across every textured triangle. | `fail` below 128 px/m, `warn` above 2048 px/m, `pass` between | No UV-mapped texture found to measure. |+| `triangleBudget` | Each LOD level's triangle count against its ceiling (`LOD0` 100k, `LOD1` 40k, `LOD2` 12k; an unrecognized level name falls back to `LOD0`'s ceiling), plus the monotonic-decrease rule across the whole chain. | Per-level `pass`/`fail` at its ceiling; chain `fail` if any level fails or the sequence does not strictly decrease. | No LOD chain supplied (`lods=1` not sent). |+| `collider` | Reuses the print pipeline's watertight/manifold analysis; `fail` if not watertight, `warn` if watertight but over 5,000 triangles (heavier than a mesh collider should be), `pass` otherwise. | Budget: 5,000 triangles. | The mesh could not be loaded for collider analysis. |++The texel-density window is deliberately wide: below the floor, textures visibly smear up close; above the ceiling, the asset is paying storage and bandwidth for resolution nobody's eye resolves at normal viewing distance. Both bands assume the mesh's glTF units are real meters, which [simulation readiness](./sim-readiness.md) is the tool to confirm when you are not sure.++## Where you will see it++- **[The GLB viewer](https://three.ws/viewer)** (`public/viewer.html`) shows the `<engine-qa>` badge beside the simulation-readiness badge for any `https://` model you open. Grading is one click (`"Check engine fitness"`), not automatic, because scoring an arbitrary URL means fetching the whole file; the LOD-chain upgrade (`"Build & grade LOD chain"`) is a second, explicit step because it is real decimation work.+- **[Rig Doctor](./rig-doctor.md)** runs the same badge, but its first pass never touches the network: [`src/engine-qa-client.js`](https://github.com/nirholas/three.ws/blob/main/src/engine-qa-client.js) grades draw calls, material count, and texel density straight from the mesh already loaded in the tab for rigging, using the exact same thresholds as the server (both import [`api/_lib/engine-qa-core.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/engine-qa-core.js), so the two can never disagree). Collider fitness and a real LOD chain still need the server endpoint, offered as the same upgrade button.+- **The shared `<engine-qa>` component** ([`public/engine-qa-panel.js`](https://github.com/nirholas/three.ws/blob/main/public/engine-qa-panel.js)) is what both surfaces mount: one custom element, four states (`loading`, `ungraded` with the offer button, a graded `report`, or `failed` with retry), so the viewer and Rig Doctor can never drift in how the grade is presented.++## A LOD chain alongside your generation++Generating through `POST /api/forge` with `{ "lods": true }` builds and stores a real `MSFT_lod` chain as a third object (`lod_glb_url`) alongside the delivered mesh, the same `buildLodChain` pipeline this endpoint runs on demand. See [the LOD-variant section of the forge pipeline doc](./forge-pipeline.md#the-lod-variant-opt-in-because-decimation-is-real-work) for the storage shape and the opt-in reasoning.++## Status codes++| Case | Status | Body |+|---|---|---|+| Graded | 200 | the report above |+| No `url` on GET, no `url` in a JSON POST body | 400 | `{ "error": "missing_url", ... }` |+| POST JSON body is malformed or wrong content-type | 400 / 415 | `{ "error": "invalid_json", ... }` |+| POST raw body is empty | 400 | `{ "error": "empty_body", ... }` |+| `format` is neither `json` nor `stl` | 400 | `{ "error": "bad_format", ... }` |+| `url` is not a public https URL | 400 | `{ "error": "invalid_url", ... }` |+| Asset over 32 MB | 413 | `{ "error": "too_large", ... }` |+| The upstream fetch failed | 502 | `{ "error": "fetch_failed", ... }` |+| Not valid glTF/GLB | 422 | `{ "error": "invalid_model", ... }` |+| `lods=1` chain build failed | 422 | `{ "error": "lod_build_failed", ... }` |+| `format=stl` on a non-watertight mesh | 422 | `{ "error": "not_watertight", "openEdges": ..., "nonManifoldEdges": ..., "shells": ... }` |+| More than 60 requests/minute from one address | 429 | `{ "error": "rate_limited" }` with `Retry-After` |+| More than 10 `lods=1` requests in 5 minutes from one address | 429 | `{ "error": "rate_limited", ... }`: grade without `lods=1`, or retry shortly |++The `lods=1` limit is separate from, and tighter than, the base limit: building a chain runs the real meshoptimizer simplifier, far heavier than grading alone, so a handful of chain-building callers can never exhaust the generic grading budget for everyone else.++## Reproducing it yourself++Both graders, server and browser, import their thresholds and verdict math from the same zero-dependency core, [`api/_lib/engine-qa-core.js`](https://github.com/nirholas/three.ws/blob/main/api/_lib/engine-qa-core.js): `ENGINE_QA_THRESHOLDS`, `worstVerdict`, `verdictFromBand`, and `gradeTriangleBudget`. Nothing in either grader hardcodes a number outside that module, so a mesh graded in Rig Doctor's browser-only pass and the same mesh graded by the server endpoint can never land on two different verdicts for the checks they share.++- The same bytes always produce the same report: no sampling, no randomness.+- Draw calls and texel density are computed from the default scene's actual node transforms, so two GLBs with identical mesh data but different node scales grade differently, correctly.+- `triangleBudget` is `skip`, never a fabricated `pass`, when no LOD chain was supplied. An absent measurement is reported as absent.++## Related++- [Simulation readiness](./sim-readiness.md): the other physics-adjacent grade for the same file. Simulation readiness asks "can a solver integrate this"; engine QA asks "will a renderer run it at 60fps."+- [Rig Doctor](./rig-doctor.md): where the browser-only partial grade runs today, alongside rig diagnosis and retargeting.+- [The forge pipeline](./forge-pipeline.md): how a generated mesh becomes a delivery variant, an optional web-sized variant, and now an optional LOD-chain variant.+- [Verifiable 3D provenance](./provenance.md): a signed claim about who made a model and whether the bytes were altered, the same pattern simulation readiness rides inside.diff --git a/docs/forge-pipeline.md b/docs/forge-pipeline.mdindex 0ce92e5cc..469a0a089 100644--- a/docs/forge-pipeline.md+++ b/docs/forge-pipeline.md@@ -226,6 +226,17 @@ Meshes that predate the variant are drained by [api/cron/forge-web-variants.js](**Texture dimensions come from the encoder, not from a header parse.** `@gltf-transform`'s own `textureCompress({ resize })` derives its target from a minimal PNG header reader, and three of the six meshes above carry a PNG it reads as 65536x4292542531, which made the whole pass throw `Expected positive integer for width but received 0` and lost the geometry win with it. `recompressTextures()` reads dimensions from sharp, which is the thing about to decode the bytes, and isolates every texture in its own try/catch so one unreadable skin costs that skin and nothing else.+### The LOD variant: opt-in, because decimation is real work++Send `"lods": true` on the generation request (`api/_lib/forge-options.js`) and `materializeCreation` builds a third object alongside `glb_url` and `web_glb_url`: a single combined GLB tagged with the archived `MSFT_lod` extension, carrying LOD0 (the delivered mesh, untouched), LOD1 and LOD2 (decimated with `meshoptimizer`'s simplifier through `packages/glb-tools`' `buildLodChain`). A real-time engine that understands `MSFT_lod` switches levels from this one file at runtime; one that does not simply renders LOD0, because the lower-detail levels are merged in as orphan nodes outside the scene's child graph.++It is off by default for the same reason the delivery variant is not: building three decimated meshes costs real CPU (meshoptimizer's simplifier, run three times), and most callers never render in an engine that benefits from a LOD chain. The same real pipeline backs the Engine QA panel's own "Build & grade LOD chain" / "Check LOD & collider fitness" upgrade action (`public/engine-qa-panel.js`, `GET/POST /api/3d/engine-qa?lods=1`, see [engine-qa.md](engine-qa.md)), so a caller who only wants to grade fitness, not keep the chain, can do that on demand without ever setting `lods` on the generation itself.++Two rules, mirroring the delivery variant:++1. **It is a second object, never a replacement.** `lod_glb_url` (migration `20261015020000_forge_lod_variant.sql`, with `lod_glb_key` and `lod_levels`) is the combined `MSFT_lod` GLB. `glb_url` stays exactly the caller's requested `output_format`, untouched.+2. **Null means "no chain was requested, or the build failed."** `buildLodVariant()` in `api/_lib/forge-store.js` is fire-and-forget, built after the row is already `done`, exactly like `buildWebVariant`: the person waiting on their generation never waits on it, and a build failure (logged, never thrown) simply leaves `lod_glb_url` null. `lod_levels` is a JSON array of `{ name, ratio, triangleCount, vertexCount }` per level, so a reader can show the chain's shape without fetching and parsing the GLB.+## 7. GPU workersWorkers are Python FastAPI services on Cloud Run (scale-to-zero L4 GPUs unless noted), documented worker-by-worker in `workers/README.md`. All share one contract: `POST /infer` returns `{task_id}`, `GET /tasks/:id` returns progress and finally a `result_gcs_url`, authenticated by the shared bearer `GCP_RECONSTRUCTION_KEY`. `api/_providers/gcp.js` maps modes to worker URLs.diff --git a/public/changelog-recent.json b/public/changelog-recent.jsonindex 6fa11b2ed..0c551bd49 100644--- a/public/changelog-recent.json+++ b/public/changelog-recent.json@@ -1,11 +1,11 @@{- "generated_at": "2026-10-11T22:27:09.298Z",+ "generated_at": "2026-10-12T00:08:55.039Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws","url": "https://three.ws"},- "total": 4034,+ "total": 4036,"complete": false,"full_feed": "/changelog.json","entries": [@@ -19,6 +19,26 @@"launch"]},+ {+ "date": "2026-10-12",+ "type": "launch",+ "title": "Docs · Engine QA",+ "summary": "A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.",+ "link": "/docs/engine-qa",+ "tags": [+ "launch"+ ]+ },+ {+ "date": "2026-10-12",+ "type": "update",+ "title": "Engine QA: a free real-time-engine fitness grade, plus real LOD chains",+ "summary": "A new free grade answers the question a game engine's import step asks that neither glTF validation nor simulation readiness does: draw calls, material count, texel density against the mesh's real-world size, a per-level triangle budget for a LOD chain, and whether the mesh is cheap and closed enough to use as its own physics collider. GET/POST /api/3d/engine-qa grades any public GLB (format=stl exports a watertight mesh for printing); the same browser-only checks run with zero network cost in Rig Doctor, and the full grade with a one-click upgrade in the GLB viewer, through a shared <engine-qa> panel component. The underlying LOD builder (packages/glb-tools's buildLodChain, real meshoptimizer decimation tagged with MSFT_lod) is now also available on generation: send { \"lods\": true } to POST /api/forge and the finished creation gets a combined LOD-chain variant alongside its delivered mesh, the same opt-in, fire-and-forget pattern as the existing web-delivery variant.",+ "link": "/docs/engine-qa",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-11","type": "launch",@@ -1522,27 +1542,6 @@"feature","improvement"]- },- {- "date": "2026-10-09",- "type": "update",- "title": "A paid call that fails after payment now tells you to retry, not to pay again",- "summary": "If a paid x402 call fails after your payment has already settled, the response now says so: paid, retry safe, the settlement transaction, and how many retries are left. Repeat the exact same request with the same payment and the server re-runs the work without charging you again, instead of answering that the payment was already used. Paid POST routes also now tell apart two different request bodies sent under one payment identifier. The MCP docs gained a Use cases section that spells out every guided prompt as the ordered tool calls it makes, with the steps that spend money marked, and a test keeps it in step with the real tools.",- "link": "/docs/x402",- "tags": [- "improvement",- "docs"- ]- },- {- "date": "2026-10-09",- "type": "update",- "title": "A skill file you can hand to Grok",- "summary": "three.ws/grok-skill.md teaches Grok and Grok Bot what three.ws does and how to use it: the one sentence that adds the free 3D connector, copy-paste commands for calling it over plain HTTPS when no connector is set up, the links every result carries, the free limits, and the rule that nothing is ever paid for without your yes.",- "link": "/docs/grok",- "tags": [- "feature"- ]}]}diff --git a/public/changelog.json b/public/changelog.jsonindex 5cc4f60eb..43ec038b7 100644--- a/public/changelog.json+++ b/public/changelog.json@@ -1,5 +1,5 @@{- "generated_at": "2026-10-11T22:27:09.265Z",+ "generated_at": "2026-10-12T00:08:55.012Z","generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json","site": {"name": "three.ws",@@ -16,6 +16,26 @@"launch"]},+ {+ "date": "2026-10-12",+ "type": "launch",+ "title": "Docs · Engine QA",+ "summary": "A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.",+ "link": "/docs/engine-qa",+ "tags": [+ "launch"+ ]+ },+ {+ "date": "2026-10-12",+ "type": "update",+ "title": "Engine QA: a free real-time-engine fitness grade, plus real LOD chains",+ "summary": "A new free grade answers the question a game engine's import step asks that neither glTF validation nor simulation readiness does: draw calls, material count, texel density against the mesh's real-world size, a per-level triangle budget for a LOD chain, and whether the mesh is cheap and closed enough to use as its own physics collider. GET/POST /api/3d/engine-qa grades any public GLB (format=stl exports a watertight mesh for printing); the same browser-only checks run with zero network cost in Rig Doctor, and the full grade with a one-click upgrade in the GLB viewer, through a shared <engine-qa> panel component. The underlying LOD builder (packages/glb-tools's buildLodChain, real meshoptimizer decimation tagged with MSFT_lod) is now also available on generation: send { \"lods\": true } to POST /api/forge and the finished creation gets a combined LOD-chain variant alongside its delivered mesh, the same opt-in, fire-and-forget pattern as the existing web-delivery variant.",+ "link": "/docs/engine-qa",+ "tags": [+ "feature"+ ]+ },{"date": "2026-10-11","type": "launch",diff --git a/public/changelog.xml b/public/changelog.xmlindex 365ef2f9c..717e19fe6 100644--- a/public/changelog.xml+++ b/public/changelog.xml@@ -14,6 +14,22 @@<category>launch</category><description>Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.</description></item>+ <item>+ <title>Docs · Engine QA</title>+ <link>https://three.ws/docs/engine-qa</link>+ <guid isPermaLink="false">2026-10-12:Docs · Engine QA</guid>+ <pubDate>Mon, 12 Oct 2026 12:00:00 GMT</pubDate>+ <category>launch</category>+ <description>A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.</description>+ </item>+ <item>+ <title>Engine QA: a free real-time-engine fitness grade, plus real LOD chains</title>+ <link>https://three.ws/docs/engine-qa</link>+ <guid isPermaLink="false">2026-10-12:Engine QA: a free real-time-engine fitness grade, plus real LOD chains</guid>+ <pubDate>Mon, 12 Oct 2026 12:00:00 GMT</pubDate>+ <category>feature</category>+ <description>A new free grade answers the question a game engine's import step asks that neither glTF validation nor simulation readiness does: draw calls, material count, texel density against the mesh's real-world size, a per-level triangle budget for a LOD chain, and whether the mesh is cheap and closed enough to use as its own physics collider. GET/POST /api/3d/engine-qa grades any public GLB (format=stl exports a watertight mesh for printing); the same browser-only checks run with zero network cost in Rig Doctor, and the full grade with a one-click upgrade in the GLB viewer, through a shared <engine-qa> panel component. The underlying LOD builder (packages/glb-tools's buildLodChain, real meshoptimizer decimation tagged with MSFT_lod) is now also available on generation: send { "lods": true } to POST /api/forge and the finished creation gets a combined LOD-chain variant alongside its delivered mesh, the same opt-in, fire-and-forget pattern as the existing web-delivery variant.</description>+ </item><item><title>Classic Home</title><link>https://three.ws/classic</link>diff --git a/public/features.json b/public/features.jsonindex 7e9077341..0bbe58e16 100644--- a/public/features.json+++ b/public/features.json@@ -1,5 +1,5 @@{- "generated_at": "2026-10-11T22:27:09.244Z",+ "generated_at": "2026-10-12T00:08:54.995Z","generated_by": "scripts/build-page-index.mjs from data/pages.json","site": {"name": "three.ws",@@ -9055,6 +9055,18 @@"priority": 0.6,"job": null},+ {+ "path": "/docs/engine-qa",+ "title": "Docs · Engine QA",+ "description": "A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.",+ "added": "2026-10-12",+ "auth": null,+ "indexable": true,+ "tags": [],+ "showcase": false,+ "priority": 0.6,+ "job": null+ },{"path": "/docs/remix","title": "Docs · The remix economy",diff --git a/public/llms-full.txt b/public/llms-full.txtindex 2351dd100..805217b75 100644--- a/public/llms-full.txt+++ b/public/llms-full.txt@@ -4555,6 +4555,12 @@ URL: https://three.ws/docs/sim-readinessA free physics grade for any 3D model: whether a rigid-body solver can use it as-is, whether its size is real meters or a generator's unit box, and its exact volume, centre of mass and inertia tensor.+### Docs · Engine QA++URL: https://three.ws/docs/engine-qa++A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.+### Docs · The remix economyURL: https://three.ws/docs/remixdiff --git a/public/llms.txt b/public/llms.txtindex 9ab91d2b6..8030501d6 100644--- a/public/llms.txt+++ b/public/llms.txt@@ -100,6 +100,6 @@ Machine-readable entry points. Fetch these instead of scraping HTML.## Optional-- [llms-full.txt](https://three.ws/llms-full.txt): Every public page (1000), grouped by section, with full descriptions.+- [llms-full.txt](https://three.ws/llms-full.txt): Every public page (1001), grouped by section, with full descriptions.- [Sitemap](https://three.ws/sitemap): The same index for people, with search.- [sitemap.xml](https://three.ws/sitemap.xml): XML sitemap for crawlers, including every agent and avatar page.diff --git a/public/sitemap/index.html b/public/sitemap/index.htmlindex ab6edd976..469966d4a 100644--- a/public/sitemap/index.html+++ b/public/sitemap/index.html@@ -96,7 +96,7 @@<main class="sm-wrap"><div class="sm-hero"><h1>Sitemap</h1>- <p><span>1059</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p>+ <p><span>1060</span> <span data-i18n="sitemap_index.pages_grouped">pages on three.ws, grouped by purpose. Looking for the machine-readable versions?</span></p><div class="sm-formats"><a href="/everything"><code>/everything</code> · browse by goal, not by section</a><a href="/sitemap.xml"><code>sitemap.xml</code> · for search engines</a>@@ -109,7 +109,7 @@</div><div class="sm-filter"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m21 21-4.3-4.3"/></svg>- <input id="sm-filter-input" type="search" placeholder="Filter 1059 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" />+ <input id="sm-filter-input" type="search" placeholder="Filter 1060 pages by name, path, or description…" aria-label="Filter pages" autocomplete="off" spellcheck="false" /><kbd id="sm-filter-kbd" aria-hidden="true">/</kbd></div><p class="sm-filter-count" role="status" aria-live="polite"><span id="sm-filter-count"></span><span id="sm-filter-hint" aria-hidden="true"></span></p>@@ -125,6 +125,14 @@<span class="sm-desc" data-i18n="sitemap_index.d_docs_event_markets_staking">Decision record for staked Event Markets on Solana: the parimutuel model, fee and buyback split, limits, void and refund rules, and the jurisdiction and age questions that stay with the owner.</span></a></li>+ <li>+ <a href="/docs/engine-qa">+ <span class="sm-new-date" translate="no">Oct 12, 2026</span>+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_engine_qa">Docs · Engine QA</span></span>+ <span class="sm-path" translate="no">/docs/engine-qa</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_engine_qa">A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.</span>+ </a>+ </li><li><a href="/classic"><span class="sm-new-date" translate="no">Oct 11, 2026</span>@@ -181,14 +189,6 @@<span class="sm-desc" data-i18n="sitemap_index.d_apps_ios">The App Store build is finished and pending Apple enrollment; what runs on iPhone today and what the native app adds.</span></a></li>- <li>- <a href="/apps/desktop">- <span class="sm-new-date" translate="no">Oct 11, 2026</span>- <span class="sm-title"><span data-i18n="sitemap_index.t_apps_desktop">three.ws Desktop</span></span>- <span class="sm-path" translate="no">/apps/desktop</span>- <span class="sm-desc" data-i18n="sitemap_index.d_apps_desktop">Agent console and a 3D companion for Windows and Linux, with local agents, native spend approvals and a live download feed.</span>- </a>- </li></ul></section><nav class="sm-toc" aria-label="Sections">@@ -2955,7 +2955,7 @@<section class="sm-section" id="learn"><header>- <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>496</span></h2>+ <h2><span data-i18n="sitemap_index.section_learn">Learn</span><span class="sm-count" data-count>497</span></h2><p class="sm-section-desc">Docs, tutorials, and reference.</p></header><ul class="sm-list">@@ -5458,6 +5458,13 @@<span class="sm-desc" data-i18n="sitemap_index.d_docs_sim_readiness">A free physics grade for any 3D model: whether a rigid-body solver can use it as-is, whether its size is real meters or a generator's unit box, and its exact volume, centre of mass and inertia tensor.</span></a></li>+ <li>+ <a href="/docs/engine-qa">+ <span class="sm-title"><span data-i18n="sitemap_index.t_docs_engine_qa">Docs · Engine QA</span></span>+ <span class="sm-path" translate="no">/docs/engine-qa</span>+ <span class="sm-desc" data-i18n="sitemap_index.d_docs_engine_qa">A free real-time-engine fitness grade for any 3D model: draw calls, material count, texel density, a per-level LOD triangle budget, and whether the mesh is cheap and closed enough to use as its own physics collider.</span>+ </a>+ </li><li><a href="/docs/remix"><span class="sm-title"><span data-i18n="sitemap_index.t_docs_remix">Docs · The remix economy</span></span>