Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
---
import AssetDownloads from './AssetDownloads.astro';
import { packDelivery } from '../lib/delivery';
import { harnessWithVersion, modelName } from "../lib/attribution";
import PageHeader from "./PageHeader.astro";
import AssetCard from "./AssetCard.astro";
import { vehicles, bounds, number, type VehicleAsset } from "../lib/catalog";
import { wheelSummary } from "../lib/vehicles";
type Revision = VehicleAsset["revisions"][number];
const revisions: Revision[] = vehicles.assets.flatMap((asset) => [...asset.revisions]);
// One line per distinct authoring setup, taken from the saved revisions themselves.
const setups = [
...new Map(
revisions.map(
(revision) =>
[
[revision.modelId, revision.harness, revision.harnessVersion, revision.requestedEffort, String(revision.confirmedEffort)].join("|"),
revision,
] as const,
),
).values(),
];
const budgets = (tiers: readonly number[]) => `${tiers.slice(0, -1).map(number).join(", ")} and ${number(tiers.at(-1)!)}`;
const conventions = [
["Frame", vehicles.conventions.frame],
["Wheels", vehicles.conventions.wheels],
["Materials", vehicles.conventions.materials],
["Detail tiers", vehicles.conventions.tiers],
["Restrictions", vehicles.conventions.restrictions],
] as const;
---
<div class="grid items-start gap-6 py-8 lg:grid-cols-2">
<PageHeader>{vehicles.name}</PageHeader>
<p class="lead">
Six road vehicles with no brand, badge, text or livery: three cars, two
trucks and a transit bus. Each file carries three detail tiers and separate
wheels, and each has its source and revision history.
</p>
</div>
<div class="mt-4 grid gap-6 border-y border-ink py-6 md:grid-cols-2">
<div>
<p class="max-w-reading">
Use them as traffic, props or cars to drive: the wheels are separate
nodes, so they can turn and steer.
</p>
</div>
<div>
<p class="max-w-reading">
The Golden Gate scene uses these six files: all six appear in its
traffic, and the sedan is the car you drive.
</p>
<a class="text-link mt-2" href={vehicles.scene.href}>View the Golden Gate scene preview <span aria-hidden="true">→</span></a>
</div>
</div>
<section class="pt-16" aria-labelledby="inventory">
<h2 id="inventory">Every vehicle can be used on its own.</h2>
<div class="mt-8 grid grid-cols-2 gap-x-4 gap-y-10 md:grid-cols-3 md:gap-x-6">
{vehicles.assets.map((asset) => (
<AssetCard asset={asset} />
))}
</div>
<p class="mt-6 max-w-reading text-caption text-dim">
The triangle count on each card is what a loader without{" "}
<code>MSFT_lod</code> draws: the top tier and the wheels. Each vehicle’s
page lists all three tiers.
</p>
</section>
<section class="pt-16" aria-labelledby="measured">
<h2 id="measured">Measured from the files.</h2>
<p class="mt-4 max-w-reading text-dim">
Sizes and triangle counts are read from each delivered GLB, not taken from a
brief. Triangles are listed for LOD0, LOD1 and LOD2, with the wheels
included where a tier draws them.
</p>
<ul class="mt-6 border-t border-ink">
{vehicles.assets.map((asset) => (
<li class="grid gap-2 border-b border-rule py-4 lg:grid-cols-12">
<a class="font-semibold lg:col-span-3" href={`/gallery/${asset.slug}/`}>{asset.name}</a>
<p class="font-mono text-code lg:col-span-3">{bounds(asset.metrics.bounds)} m</p>
<p class="font-mono text-code lg:col-span-3">
{asset.tiers.map((tier) => number(tier.triangles)).join(" / ")} triangles
</p>
<p class="text-caption text-dim lg:col-span-3">{wheelSummary(asset.vehicle)}</p>
</li>
))}
</ul>
<p class="mt-3 font-mono text-code text-dim">Length × height × width, in metres.</p>
</section>
<section class="pt-16" aria-labelledby="downloads"><h2 id="downloads">Download all six</h2><AssetDownloads runtime={packDelivery('vehicles').runtime} editable={packDelivery('vehicles').editable} /></section>
<section class="pt-16" aria-labelledby="conventions">
<h2 id="conventions">One set of conventions across the pack.</h2>
<dl class="mt-8 border-t border-ink">
{conventions.map(([term, text]) => (
<div class="grid gap-2 border-b border-rule py-5 lg:grid-cols-12">
<dt class="font-semibold lg:col-span-3">{term}</dt>
<dd class="max-w-reading lg:col-span-9">{text}</dd>
</div>
))}
</dl>
<p class="mt-4 max-w-reading text-caption text-dim">
The brief set body-triangle budgets of {budgets(vehicles.budgets.car)} for
the cars and the pickup, and {budgets(vehicles.budgets.heavy)} for the box
truck and the bus. The site’s staging step refuses a vehicle whose tiers
exceed them, whose wheels are missing, or whose delivered file differs from
the saved revision.
</p>
</section>
<section class="pt-16" aria-labelledby="authorship">
<h2 id="authorship">Authorship stays with each revision.</h2>
<p class="mt-5 max-w-reading">
{setups.map((setup) => (
<span class="block">
{modelName(setup.model)} through {harnessWithVersion(setup.harness, setup.harnessVersion)}:
reasoning effort {setup.requestedEffort} requested, independently
confirmed: {setup.confirmedEffort ?? "not recorded"}.
</span>
))}
</p>
<p class="mt-4 max-w-reading text-dim">
The request comes from each run’s own receipt and invocation. One run, the
second author’s first, stopped at its spending limit after it had saved the
pickup, the box truck and the first bus revision; each vehicle’s history
says which run saved it.
</p>
<div class="mt-8 border-t border-ink">
{vehicles.assets.map((asset) => (
<details class="border-b border-rule">
<summary class="flex-wrap font-semibold">
{asset.name} · {asset.provenance.originalModel}
</summary>
<div class="px-4 pb-6">
<ol class="space-y-5">
{asset.revisions.map((revision) => (
<li class="grid gap-2 md:grid-cols-2">
<div>
<p>
{modelName(revision.model)} · {harnessWithVersion(revision.harness, revision.harnessVersion)}
</p>
<p class="mt-1 text-caption text-dim">
Requested effort: {revision.requestedEffort}. Independently
confirmed: {revision.confirmedEffort ?? "not recorded"}.
</p>
</div>
<div>
<p class="break-all font-mono text-code">{revision.revisionId}</p>
<p class="mt-1 text-caption text-dim">{revision.stage}</p>
</div>
</li>
))}
</ol>
<a href={`/gallery/${asset.slug}/`} class="text-link mt-3">
Source and revision details <span aria-hidden="true">→</span>
</a>
</div>
</details>
))}
</div>
</section>
<section class="pt-16" aria-labelledby="license">
<h2 id="license">Keep the licence boundary intact.</h2>
<p class="mt-5 max-w-reading" data-verbatim>{vehicles.licenseScope}</p>
<p class="mt-4 max-w-reading">{vehicles.licenceNote}</p>
<p class="mt-4 max-w-reading">
Keep each vehicle’s licence text with its GLB. The text names the asset, the
saved revision and the SHA-256 of the delivered GLB it covers.
</p>
<a class="text-link mt-2" href="https://creativecommons.org/publicdomain/zero/1.0/">
CC0-1.0 dedication <span aria-hidden="true">↗</span>
</a>
</section>