Skip to content

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.

Enhance AR Studio and Forge functionality

nirholas6879cfc7725f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2fe333e01..901ade2e8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
- **Image to 3D — Turn a Photo into a 3D Model** (`/image-to-3d`) — Upload a photo (or up to 4 angles) and get a downloadable textured 3D model (GLB). The Forge's photo lane, opened directly — for objects and props; for faces, use Selfie to Avatar.
- **Avatars you generate now come out truly animation-ready** — We rebuilt the auto-rigging engine that turns a generated 3D character into a living avatar. Rigging now finishes in seconds instead of stalling for 20 minutes, produces a full standard skeleton with fingers that our entire animation library (walk, wave, dance, emotes) can drive immediately, keeps the model's original textures perfectly intact, and adds the 52 facial expression shapes used for emotions and lip-sync. Every piece of the new pipeline is MIT-licensed open source, so it works for everyone, everywhere. (`/forge`) `[feature, improvement, fix]`
+- **Community feed hover previews no longer blend into the photo underneath** — Hovering a card in the Fresh from the Forge strip spins the actual 3D model in place. The spinning model used to render on a nearly transparent background, so it visually collided with the card's photo thumbnail and looked broken, with a stray browser tooltip on top. The preview now draws on a solid backdrop, the redundant tooltip is gone, image-to-3D cards are labeled with their engine name (Hunyuan3D) instead of an internal id, and every card can now be opened from the keyboard. (`/forge`) `[fix, improvement]`
- **Creator profile pages work again, plus a site-wide reliability sweep** — A full automated sweep of every page and API endpoint on the site caught a bug that replaced creator profile pages (three.ws/u/yourname) with an error message. That is fixed. The sweep also repaired the login captcha for rate-limited sign-ins, fixed dead links in the dashboard and two blog posts, and added two dozen previously unlisted pages to the site index so search engines and the sitemap can find them. The audit now runs with deeper checks (blank-page detection, visible error detection, and link crawling) so regressions like these get caught before anyone hits them. (`/changelog`) `[fix, improvement]`
- **Image to 3D gets its own front door** — Turning a photo into a 3D model has worked in the Forge for a while, but it hid behind a page titled Text to 3D, and the only photo surface people could find was Selfie to Avatar. There is now a dedicated Image to 3D page (three.ws/image-to-3d) that opens the Forge with the photo tab already selected, an Image to 3D link in the main navigation and footers, and clear pointers between the selfie tools (for making an avatar of you) and Image to 3D (for making a model of any object). The Forge and its feature page are also retitled to say what they actually do: text and images. (`/image-to-3d`) `[improvement]`
- **Image-to-3D leaps forward: true PBR materials on a flagship GPU** — The Forge realism engine (Hunyuan3D 2.1) is now live on a new flagship-class GPU (NVIDIA RTX PRO 6000 Blackwell, 96 GB). High-tier image-to-3D generations now come out with true physically-based materials: real metal, roughness, and color maps that catch light like photographed objects instead of flat plastic. The new hardware is also dramatically faster; the full shape-plus-texture pass finished in about a minute in our live verification, where the previous GPU class could not even load the model. Alongside it, every 3D generation service is healthy again and all of yesterday’s reliability fixes are fully rolled out across the fleet. (`/forge`) `[feature, improvement, infra]`
diff --git a/api/_mcp3d/text-to-image.js b/api/_mcp3d/text-to-image.js
index 9c691d300..8c500c10a 100644
--- a/api/_mcp3d/text-to-image.js
+++ b/api/_mcp3d/text-to-image.js
@@ -583,8 +583,8 @@ export async function textToImage(prompt, { aspectRatio = '1:1', skipNim = false
// redesigning the object between views (verified live 2026-07-16: front/side/
// back of one worn leather chair kept its chassis, scuffs and lighting).
const TURNAROUND_VIEW_INSTRUCTIONS = [
- 'Show this exact same subject in direct left side profile view (rotated 90 degrees). Keep the identical subject with identical materials, colors, wear marks and details, identical lighting, and the identical plain background. Same camera distance and framing.',
- 'Show this exact same subject from directly behind (rotated 180 degrees). Keep the identical subject with identical materials, colors, wear marks and details, identical lighting, and the identical plain background. Same camera distance and framing.',
+ 'Show this exact same subject in direct left side profile view (rotated 90 degrees). Keep the identical subject with identical materials, colors, wear marks and details, and identical lighting, on a plain neutral background. Same camera distance and framing.',
+ 'Show this exact same subject from directly behind (rotated 180 degrees). Keep the identical subject with identical materials, colors, wear marks and details, and identical lighting, on a plain neutral background. Same camera distance and framing.',
];
// Synthesize additional turnaround views (side, then back) of the subject in
diff --git a/api/forge.js b/api/forge.js
index 9aefa9c0d..d4cba8e65 100644
--- a/api/forge.js
+++ b/api/forge.js
@@ -1846,17 +1846,22 @@ async function startJob(req, res) {
referenceImageUrl = synthesized.imageUrl;
textToImageModel = synthesized.model;
views = [referenceImageUrl];
- // Multi-view conditioning: rotate the synthesized reference into side +
- // back turnaround views (Vertex Gemini edit lane) so the self-host
- // TRELLIS worker fuses real coverage instead of hallucinating the
- // subject's unseen sides. Only the fusing lane benefits (every other
- // reconstruct lane conditions on the primary view alone) and draft
- // keeps its single-view speed. Best-effort: a failed view just means
- // fewer views, never a failed generation.
- if (backendId === 'trellis_selfhost' && tier.id !== 'draft') {
- const turnaround = await synthesizeTurnaroundViews(referenceImageUrl).catch(() => []);
- if (turnaround.length) views = [referenceImageUrl, ...turnaround];
- }
+ }
+
+ // Multi-view conditioning: rotate the primary view (the caller's uploaded
+ // photo, or the synthesized reference for a text prompt) into side + back
+ // turnaround views (Vertex Gemini edit lane) so the self-host TRELLIS
+ // worker fuses real coverage instead of hallucinating the subject's unseen
+ // sides. A single-photo upload used to skip this and shipped with a
+ // smeared, hollowed-out back for exactly that reason; text prompts always
+ // had it. Only the fusing lane benefits (every other reconstruct lane
+ // conditions on the primary view alone), draft keeps its single-view
+ // speed, and a caller who supplied multiple calibrated views keeps exactly
+ // those. Best-effort: a failed view just means fewer views, never a
+ // failed generation.
+ if (backendId === 'trellis_selfhost' && tier.id !== 'draft' && views.length === 1) {
+ const turnaround = await synthesizeTurnaroundViews(referenceImageUrl).catch(() => []);
+ if (turnaround.length) views = [...views, ...turnaround];
}
// Explicitly chosen free HuggingFace lane. Unlike the trellis free-first
@@ -1961,7 +1966,7 @@ async function startJob(req, res) {
backend: backendId,
prompt: prompt || null,
preview_image_url: referenceImageUrl,
- reference_image_urls: isImageMode ? [imageUrls[0]] : [referenceImageUrl],
+ reference_image_urls: views,
text_to_image_model: isImageMode ? null : textToImageModel,
cold_start: cold,
options: opts.hasOptions ? summarizeForgeOptions(opts) : undefined,
diff --git a/data/changelog.json b/data/changelog.json
index d470cc6e5..13b8f85c0 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -14146,6 +14146,16 @@
"improvement"
],
"link": "/image-to-3d"
+ },
+ {
+ "date": "2026-07-17",
+ "title": "Community feed hover previews no longer blend into the photo underneath",
+ "summary": "Hovering a card in the Fresh from the Forge strip spins the actual 3D model in place. The spinning model used to render on a nearly transparent background, so it visually collided with the card's photo thumbnail and looked broken, with a stray browser tooltip on top. The preview now draws on a solid backdrop, the redundant tooltip is gone, image-to-3D cards are labeled with their engine name (Hunyuan3D) instead of an internal id, and every card can now be opened from the keyboard.",
+ "tags": [
+ "fix",
+ "improvement"
+ ],
+ "link": "/forge"
}
]
}
diff --git a/pages/ar-studio.html b/pages/ar-studio.html
new file mode 100644
index 000000000..5b1b8ae76
--- /dev/null
+++ b/pages/ar-studio.html
@@ -0,0 +1,421 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <script>/* three.ws theme boot */(function(){try{var m=localStorage.getItem('twx_theme');var l=m==='auto'?(window.matchMedia&&window.matchMedia('(prefers-color-scheme: light)').matches):m==='light';document.documentElement.setAttribute('data-theme',l?'light':'dark');}catch(e){document.documentElement.setAttribute('data-theme','dark');}})();</script>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
+ <meta name="theme-color" content="#000000" />
+ <title>AR Studio · three.ws</title>
+ <meta name="description" content="A live multi-model AR studio: place any number of 3D models and avatars in your real space through your camera, pull in your forge creations or any GLB link, and generate new models with a prompt without leaving the camera view." />
+ <link rel="canonical" href="https://three.ws/ar/studio" />
+ <meta property="og:site_name" content="three.ws" />
+ <meta property="og:type" content="website" />
+ <meta property="og:url" content="https://three.ws/ar/studio" />
+ <meta property="og:title" content="AR Studio · three.ws" />
+ <meta property="og:description" content="Place any number of 3D models in your real space, and forge new ones by prompt without leaving the camera." />
+ <meta property="og:image" content="https://three.ws/api/page-og?s=labs&amp;t=AR+Studio&amp;d=A+live+multi-model+AR+scene+through+your+camera%3A+place+any+GLB%2C+your+forge+creations%2C+or+community+models+together+in+your+room+%E2%80%94+and+generate+new+ones+by+prompt+without+leaving+the+view.&amp;p=%2Far%2Fstudio" />
+ <meta property="og:image:width" content="1200" />
+ <meta property="og:image:height" content="630" />
+ <meta name="twitter:card" content="summary_large_image" />
+ <meta name="twitter:site" content="@trythreews" />
+ <meta name="twitter:title" content="AR Studio · three.ws" />
+ <meta name="twitter:description" content="Place any number of 3D models in your real space, and forge new ones by prompt without leaving the camera." />
+ <meta name="twitter:image" content="https://three.ws/api/page-og?s=labs&amp;t=AR+Studio&amp;d=A+live+multi-model+AR+scene+through+your+camera%3A+place+any+GLB%2C+your+forge+creations%2C+or+community+models+together+in+your+room+%E2%80%94+and+generate+new+ones+by+prompt+without+leaving+the+view.&amp;p=%2Far%2Fstudio" />
+ <script type="application/ld+json">{"@context":"https://schema.org","@type":"WebApplication","name":"AR Studio","url":"https://three.ws/ar/studio","applicationCategory":"DesignApplication","operatingSystem":"Any","offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"description":"A live multi-model AR studio: place any number of 3D models in your real space through your camera and generate new ones by prompt without leaving the view.","isPartOf":{"@type":"WebSite","name":"three.ws","url":"https://three.ws"}}</script>
+ <link rel="icon" href="/favicon.ico" sizes="any" />
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
+ <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1" />
+ <style>
+ :root {
+ --bg: #000;
+ --ink: #ecedf2;
+ --ink-dim: #9aa0af;
+ --ink-faint: #6b7080;
+ --line: rgba(255, 255, 255, 0.1);
+ --panel: rgba(12, 13, 17, 0.78);
+ --accent: #8b7cf8;
+ --accent-ink: #dcd6ff;
+ --good: #6ee7b7;
+ --warn: #fca5a5;
+ --radius: 14px;
+ --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
+ }
+ * { box-sizing: border-box; }
+ html, body { margin: 0; height: 100%; overscroll-behavior: none; }
+ body {
+ font-family: var(--font);
+ background: radial-gradient(120% 120% at 50% 0%, #101321 0%, #07080c 55%, #000 100%);
+ color: var(--ink);
+ height: 100dvh;
+ overflow: hidden;
+ touch-action: none;
+ -webkit-user-select: none;
+ user-select: none;
+ }
+
+ /* Layers: camera video → WebGL canvas → HUD */
+ #ars-video {
+ position: fixed; inset: 0; width: 100%; height: 100%;
+ object-fit: cover; display: none; background: #000;
+ }
+ body.is-ar #ars-video { display: block; }
+ #ars-canvas { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
+ #ars-hud {
+ position: fixed; inset: 0; z-index: 10;
+ display: flex; flex-direction: column; justify-content: space-between;
+ pointer-events: none;
+ }
+ #ars-hud > * { pointer-events: none; }
+ #ars-hud a, #ars-hud button, #ars-hud input, #ars-hud form,
+ #ars-hud .ars-top, #ars-hud .ars-dock, #ars-hud .ars-selbar,
+ #ars-hud .ars-tray, #ars-hud .ars-modal { pointer-events: auto; }
+
+ /* ── Top bar ── */
+ .ars-top {
+ display: flex; align-items: center; gap: 10px;
+ padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 10px;
+ }
+ .ars-back {
+ display: inline-flex; align-items: center; gap: 7px;
+ color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 650;
+ background: var(--panel); border: 1px solid var(--line);
+ border-radius: 999px; padding: 8px 14px; backdrop-filter: blur(10px);
+ transition: background 0.15s, border-color 0.15s;
+ }
+ .ars-back:hover { background: rgba(30, 32, 40, 0.85); border-color: rgba(255, 255, 255, 0.22); }
+ .ars-back:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible {
+ outline: 2px solid var(--accent); outline-offset: 2px;
+ }
+ .ars-title {
+ font-size: 13.5px; font-weight: 700; letter-spacing: 0.01em;
+ background: var(--panel); border: 1px solid var(--line);
+ border-radius: 999px; padding: 8px 14px; backdrop-filter: blur(10px);
+ }
+ .ars-count {
+ font-size: 12.5px; font-weight: 650; color: var(--accent-ink);
+ background: rgba(139, 124, 248, 0.16); border: 1px solid rgba(139, 124, 248, 0.4);
+ border-radius: 999px; padding: 7px 12px; backdrop-filter: blur(10px);
+ }
+ .ars-spacer { flex: 1 1 auto; }
+ .ars-icon-btn {
+ appearance: none; cursor: pointer; font: inherit; color: var(--ink);
+ display: inline-flex; align-items: center; justify-content: center; gap: 7px;
+ background: var(--panel); border: 1px solid var(--line);
+ border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 650;
+ backdrop-filter: blur(10px);
+ transition: background 0.15s, border-color 0.15s, transform 0.06s;
+ }
+ .ars-icon-btn:hover { background: rgba(30, 32, 40, 0.85); border-color: rgba(255, 255, 255, 0.22); }
+ .ars-icon-btn:active { transform: translateY(1px); }
+ .ars-icon-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
+ .ars-icon-btn.is-active { background: rgba(139, 124, 248, 0.2); border-color: rgba(139, 124, 248, 0.55); color: var(--accent-ink); }
+
+ /* ── Forge progress chip ── */
+ .ars-chip {
+ position: fixed; top: calc(env(safe-area-inset-top, 0px) + 58px); left: 50%;
+ transform: translateX(-50%); z-index: 11;
+ display: inline-flex; align-items: center; gap: 9px; max-width: min(88vw, 480px);
+ background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
+ padding: 9px 15px; font-size: 13px; backdrop-filter: blur(10px);
+ animation: ars-rise 0.25s ease;
+ }
+ .ars-chip[data-state="error"] { border-color: rgba(252, 165, 165, 0.5); color: var(--warn); }
+ .ars-chip .ars-chip-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+ .ars-chip .ars-chip-elapsed { color: var(--ink-faint); font-variant-numeric: tabular-nums; font-size: 12px; }
+ .ars-chip[data-state="error"] .ars-spinner { display: none; }
+ .ars-spinner {
+ width: 14px; height: 14px; flex: 0 0 auto; border-radius: 50%;
+ border: 2px solid rgba(255, 255, 255, 0.18); border-top-color: var(--accent);
+ animation: ars-spin 0.9s linear infinite;
+ }
+ @keyframes ars-spin { to { transform: rotate(360deg); } }
+ @keyframes ars-rise { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
+
+ /* ── Empty state ── */
+ .ars-empty {
+ position: fixed; inset: 0; z-index: 9; display: grid; place-items: center;
+ padding: 24px; pointer-events: none;
+ }
+ .ars-empty-card {
+ pointer-events: auto; text-align: center; max-width: 340px;
+ background: var(--panel); border: 1px solid var(--line);
+ border-radius: 20px; padding: 26px 22px; backdrop-filter: blur(12px);
+ display: flex; flex-direction: column; gap: 10px; align-items: center;
+ }
+ .ars-empty-art { font-size: 40px; line-height: 1; }
+ .ars-empty-card h1 { margin: 0; font-size: 18px; letter-spacing: -0.01em; }
+ .ars-empty-card p { margin: 0 0 6px; color: var(--ink-dim); font-size: 13.5px; line-height: 1.55; }
+ .ars-empty-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
+ body.is-ar .ars-empty-card { background: rgba(12, 13, 17, 0.6); }
+
+ /* ── Buttons ── */
+ .ars-btn {
+ appearance: none; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 650;
+ color: var(--ink); background: rgba(255, 255, 255, 0.07);
+ border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 11px; padding: 10px 15px;
+ display: inline-flex; align-items: center; gap: 7px;
+ transition: background 0.15s, border-color 0.15s, transform 0.06s;
+ }
+ .ars-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.28); }
+ .ars-btn:active { transform: translateY(1px); }
+ .ars-btn-primary { background: var(--accent); border-color: var(--accent); color: #0d0b1e; }
+ .ars-btn-primary:hover { background: #9d90fa; border-color: #9d90fa; }
+
+ /* ── Selection toolbar ── */
+ .ars-selbar {
+ position: fixed; left: 50%; transform: translateX(-50%);
+ bottom: calc(env(safe-area-inset-bottom, 0px) + 132px); z-index: 11;
+ display: flex; align-items: center; gap: 6px; max-width: 94vw;
+ background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
+ padding: 6px 8px 6px 14px; backdrop-filter: blur(12px);
+ animation: ars-pop 0.18s ease;
+ }
+ @keyframes ars-pop { from { opacity: 0; transform: translate(-50%, 5px); } to { opacity: 1; transform: translate(-50%, 0); } }
+ .ars-sel-name {
+ font-size: 12.5px; font-weight: 650; color: var(--accent-ink);
+ max-width: 26vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
+ }
+ .ars-selbar .ars-icon-btn { border-radius: 999px; padding: 7px 11px; font-size: 12.5px; background: rgba(255, 255, 255, 0.06); }
+
+ /* ── Status line ── */
+ .ars-status {
+ position: fixed; left: 50%; transform: translateX(-50%);
+ bottom: calc(env(safe-area-inset-bottom, 0px) + 132px); z-index: 10;
+ display: inline-flex; align-items: center; gap: 10px; max-width: 92vw;
+ background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
+ padding: 9px 16px; font-size: 13px; color: var(--ink-dim);
+ backdrop-filter: blur(10px); text-align: center;
+ animation: ars-pop 0.18s ease;
+ }
+ .ars-status.is-warn { color: var(--warn); border-color: rgba(252, 165, 165, 0.4); }
+ .ars-status-action {
+ appearance: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 700;
+ color: var(--accent-ink); background: rgba(139, 124, 248, 0.18);
+ border: 1px solid rgba(139, 124, 248, 0.45); border-radius: 999px; padding: 4px 11px;
+ }
+ /* Selection toolbar and status share an anchor: selection wins. */
+ .ars-selbar:not([hidden]) ~ .ars-status { bottom: calc(env(safe-area-inset-bottom, 0px) + 184px); }
+
+ /* ── Bottom dock ── */
+ .ars-dock {
+ display: flex; flex-direction: column; gap: 9px;
+ padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 12px);
+ }
+ .ars-forge {
+ display: flex; gap: 8px; align-items: stretch;
+ background: var(--panel); border: 1px solid var(--line);
+ border-radius: 16px; padding: 8px; backdrop-filter: blur(12px);
+ }
+ .ars-forge input {
+ flex: 1 1 auto; min-width: 0; font: inherit; font-size: 14px; color: var(--ink);
+ background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.13);
+ border-radius: 10px; padding: 11px 13px;
+ transition: border-color 0.15s, background 0.15s;
+ }
+ .ars-forge input::placeholder { color: var(--ink-faint); }
+ .ars-forge input:focus { outline: none; border-color: rgba(139, 124, 248, 0.6); background: rgba(139, 124, 248, 0.07); }
+ .ars-forge button {
+ appearance: none; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 750;
+ color: #0d0b1e; background: var(--accent); border: 0; border-radius: 10px; padding: 0 18px;
+ white-space: nowrap; transition: filter 0.15s, transform 0.06s;
+ }
+ .ars-forge button:hover { filter: brightness(1.08); }
+ .ars-forge button:active { transform: translateY(1px); }
+ .ars-forge button[disabled] { opacity: 0.55; cursor: progress; filter: none; }
+ .ars-dock-row { display: flex; gap: 8px; align-items: center; }
+ .ars-dock-row .ars-icon-btn { flex: 0 0 auto; }
+ .ars-dock-row .ars-grow { flex: 1 1 auto; justify-content: center; }
+
+ /* Immersive session: dom-overlay keeps the HUD; hide what can't work there. */
+ body.is-xr .ars-empty, body.is-xr #ars-photo-btn, body.is-xr #ars-camera-btn { display: none; }
+
+ /* ── Tray (bottom sheet) ── */
+ .ars-tray {
+ position: fixed; inset: 0; z-index: 30;
+ background: rgba(0, 0, 0, 0.45); display: flex; align-items: flex-end;
+ }
+ .ars-tray-sheet {
+ width: 100%; max-height: 72dvh; display: flex; flex-direction: column;
+ background: #0d0e13; border-top: 1px solid var(--line);
+ border-radius: 20px 20px 0 0; padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 14px);
+ animation: ars-sheet 0.22s ease;
+ }
+ @keyframes ars-sheet { from { transform: translateY(24px); opacity: 0.6; } to { transform: translateY(0); opacity: 1; } }
+ .ars-tray-head { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
+ .ars-tray-head h2 { margin: 0; font-size: 15px; flex: 1 1 auto; }
+ .ars-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
+ .ars-tabs::-webkit-scrollbar { display: none; }
+ .ars-tab {
+ appearance: none; cursor: pointer; font: inherit; font-size: 13px; font-weight: 650;
+ color: var(--ink-dim); background: rgba(255, 255, 255, 0.05);
+ border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; white-space: nowrap;
+ transition: background 0.15s, color 0.15s, border-color 0.15s;
+ }
+ .ars-tab:hover { color: var(--ink); }
+ .ars-tab.is-active { color: var(--accent-ink); background: rgba(139, 124, 248, 0.16); border-color: rgba(139, 124, 248, 0.45); }
+ .ars-tray-body { overflow-y: auto; min-height: 160px; }
+ .ars-item-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; }
+ .ars-item-add {
+ appearance: none; cursor: pointer; font: inherit; width: 100%; text-align: left;
+ display: flex; flex-direction: column; gap: 7px;
+ color: var(--ink); background: rgba(255, 255, 255, 0.04);
+ border: 1px solid var(--line); border-radius: var(--radius); padding: 9px;
+ transition: background 0.15s, border-color 0.15s, transform 0.06s;
+ }
+ .ars-item-add:hover { background: rgba(139, 124, 248, 0.09); border-color: rgba(139, 124, 248, 0.4); }
+ .ars-item-add:active { transform: translateY(1px); }
+ .ars-item-thumb {
+ display: grid; place-items: center; aspect-ratio: 1.25; border-radius: 9px; overflow: hidden;
+ background: linear-gradient(140deg, #171923 0%, #101218 100%);
+ }
+ .ars-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
+ .ars-item-cube { font-size: 26px; color: var(--accent); }
+ .ars-item-title { font-size: 12.5px; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
+ .ars-item-cta { font-size: 12px; font-weight: 750; color: var(--accent-ink); }
+ .ars-tray-loading, .ars-tray-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 16px; color: var(--ink-dim); font-size: 13.5px; text-align: center; }
+ .ars-tray-loading { flex-direction: row; justify-content: center; }
+ .ars-tray-empty p { margin: 0; max-width: 40ch; line-height: 1.55; }
+ .ars-tray-empty a { color: var(--accent-ink); }
+ .ars-link-form { display: flex; flex-direction: column; gap: 9px; padding: 8px 2px; }
+ .ars-link-label { font-size: 13px; font-weight: 650; }
+ .ars-link-row { display: flex; gap: 8px; }
+ .ars-link-row input {
+ flex: 1 1 auto; min-width: 0; font: inherit; font-size: 13.5px; color: var(--ink);
+ background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
+ border-radius: 10px; padding: 10px 12px;
+ }
+ .ars-link-row input:focus { outline: none; border-color: rgba(139, 124, 248, 0.6); }
+ .ars-link-hint { margin: 0; font-size: 12.5px; color: var(--ink-faint); line-height: 1.5; }
+
+ /* ── QR modal ── */
+ .ars-modal {
+ position: fixed; inset: 0; z-index: 40; display: grid; place-items: center;
+ background: rgba(0, 0, 0, 0.55); padding: 22px;
+ }
+ .ars-modal-card {
+ background: #0d0e13; border: 1px solid var(--line); border-radius: 18px;
+ padding: 20px; max-width: 320px; display: flex; flex-direction: column; gap: 12px;
+ align-items: center; text-align: center;
+ }
+ .ars-modal-card h2 { margin: 0; font-size: 15px; }
+ .ars-modal-card p { margin: 0; font-size: 13px; color: var(--ink-dim); line-height: 1.5; }
+ .ars-qr-box { width: 196px; height: 196px; background: #fff; border-radius: 14px; padding: 10px; display: grid; place-items: center; }
+ .ars-qr-box svg { width: 100%; height: 100%; display: block; }
+ .ars-qr-link { font-size: 12px; color: var(--accent-ink); word-break: break-all; }
+
+ @media (prefers-reduced-motion: reduce) {
+ .ars-chip, .ars-status, .ars-selbar, .ars-tray-sheet { animation: none; }
+ .ars-spinner { animation-duration: 2.4s; }
+ }
+ @media (max-width: 380px) {
+ .ars-title { display: none; }
+ .ars-sel-name { max-width: 20vw; }
+ }
+ </style>
+</head>
+<body>
+ <video id="ars-video" playsinline muted autoplay aria-hidden="true"></video>
+ <canvas id="ars-canvas" aria-label="Your AR scene — tap a model to select it, drag to move, pinch to resize"></canvas>
+
+ <div id="ars-hud">
+ <header class="ars-top" data-xr-ui>
+ <a class="ars-back" href="/ar" aria-label="Back to AR Forge">←</a>
+ <span class="ars-title">AR Studio</span>
+ <span class="ars-count" id="ars-count" hidden>0 models</span>
+ <span class="ars-spacer"></span>
+ <button class="ars-icon-btn" id="ars-photo-btn" type="button" disabled aria-label="Capture a photo of your scene">📸</button>
+ <button class="ars-icon-btn" id="ars-qr-btn" type="button" hidden aria-label="Send this scene to your phone">Phone ↗</button>
+ </header>
+
+ <div id="ars-forge-chip" class="ars-chip" data-state="idle" hidden role="status" aria-live="polite" data-xr-ui>
+ <span class="ars-spinner" aria-hidden="true"></span>
+ <span class="ars-chip-label"></span>
+ <span class="ars-chip-elapsed"></span>
+ </div>
+
+ <div class="ars-empty" id="ars-empty">
+ <div class="ars-empty-card">
+ <div class="ars-empty-art" aria-hidden="true">🛋️✨</div>
+ <h1>Your room is the canvas</h1>
+ <p>Place as many 3D models as you like into your real space — yours, the community's, or brand new ones forged from a prompt right here.</p>
+ <div class="ars-empty-row">
+ <button class="ars-btn ars-btn-primary" id="ars-empty-camera" type="button">Start camera</button>
+ <button class="ars-btn" id="ars-empty-add" type="button">Browse models</button>
+ <button class="ars-btn" id="ars-empty-forge" type="button">Forge one</button>
+ </div>
+ </div>
+ </div>
+
+ <div class="ars-selbar" id="ars-selbar" hidden data-xr-ui>
+ <span class="ars-sel-name" id="ars-sel-name">Model</span>
+ <button class="ars-icon-btn" type="button" data-act="rotate" aria-label="Rotate 45 degrees">⟳</button>
+ <button class="ars-icon-btn" type="button" data-act="duplicate" aria-label="Duplicate this model">⧉</button>
+ <button class="ars-icon-btn" type="button" data-act="remove" aria-label="Remove this model">✕</button>
+ </div>
+
+ <div class="ars-status" id="ars-status" hidden role="status" aria-live="polite" data-xr-ui></div>
+
+ <footer class="ars-dock" data-xr-ui>
+ <form class="ars-forge" id="ars-forge-form" autocomplete="off">
+ <input id="ars-forge-input" name="prompt" type="text" enterkeyhint="go" maxlength="600" minlength="3"
+ placeholder="Forge into your room: a neon bonsai tree…" aria-label="Describe a 3D model to generate and place" />
+ <button id="ars-forge-go" type="submit">Forge ✦</button>
+ </form>
+ <div class="ars-dock-row">
+ <button class="ars-icon-btn ars-grow" id="ars-add-btn" type="button" aria-expanded="false" aria-controls="ars-tray">+ Add models</button>
+ <button class="ars-icon-btn" id="ars-camera-btn" type="button" aria-pressed="false" aria-label="Toggle camera passthrough">📷 Camera</button>
+ <button class="ars-icon-btn" id="ars-xr-btn" type="button" hidden aria-pressed="false" aria-label="Enter immersive AR">✦ Immersive</button>
+ <button class="ars-icon-btn" id="ars-clear-btn" type="button" hidden aria-label="Clear all models">Clear</button>
+ </div>
+ </footer>
+ </div>
+
+ <div class="ars-tray" id="ars-tray" hidden role="dialog" aria-modal="true" aria-label="Add models to your scene" data-xr-ui>
+ <div class="ars-tray-sheet">
+ <div class="ars-tray-head">
+ <h2>Add models</h2>
+ <button class="ars-icon-btn" id="ars-tray-close" type="button" aria-label="Close">✕</button>
+ </div>
+ <div class="ars-tabs" role="tablist">
+ <button class="ars-tab" type="button" role="tab" data-tab="recent" aria-selected="false">Recent forges</button>
+ <button class="ars-tab" type="button" role="tab" data-tab="yours" aria-selected="false">Yours</button>
+ <button class="ars-tab" type="button" role="tab" data-tab="community" aria-selected="false">Community</button>
+ <button class="ars-tab" type="button" role="tab" data-tab="link" aria-selected="false">GLB link</button>
+ </div>
+ <div class="ars-tray-body" id="ars-tray-body"></div>
+ </div>
+ </div>
+
+ <div class="ars-modal" id="ars-qr-modal" hidden role="dialog" aria-modal="true" aria-label="Open on your phone" data-xr-ui>
+ <div class="ars-modal-card">
+ <h2>Continue on your phone</h2>
+ <div class="ars-qr-box" id="ars-qr-box" aria-label="QR code that opens this scene on a phone"></div>
+ <p>Scan with your phone camera — your placed models come along and open straight into camera AR.</p>
+ <a class="ars-qr-link" id="ars-qr-link" href="/ar/studio" target="_blank" rel="noopener"></a>
+ <button class="ars-btn" id="ars-qr-close" type="button">Close</button>
+ </div>
+ </div>
+
+ <script type="module">
+ function webglSupported() {
+ try {
+ const c = document.createElement('canvas');
+ return !!(window.WebGLRenderingContext &&
+ (c.getContext('webgl') || c.getContext('experimental-webgl')));
+ } catch { return false; }
+ }
+ if (webglSupported()) {
+ import('/src/ar-studio.js');
+ } else {
+ const empty = document.querySelector('.ars-empty-card');
+ if (empty) {
+ empty.innerHTML = '<div class="ars-empty-art" aria-hidden="true">🛰️</div>'
+ + '<h1>This browser can’t run the AR Studio</h1>'
+ + '<p>The studio renders 3D over your camera with WebGL, which isn’t available here. Reopen in an up-to-date Chrome or Safari — or generate models on the classic AR Forge.</p>'
+ + '<div class="ars-empty-row"><a class="ars-btn ars-btn-primary" href="/ar">Open AR Forge</a><a class="ars-btn" href="/viewer">3D viewer</a></div>';
+ }
+ }
+ </script>
+</body>
+</html>
diff --git a/pages/forge-studio.html b/pages/forge-studio.html
index 7dc397a35..4fd8c35a2 100644
--- a/pages/forge-studio.html
+++ b/pages/forge-studio.html
@@ -2468,8 +2468,14 @@
outline: 2px solid var(--accent);
outline-offset: 2px;
}
+ .showcase-card:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ }
/* Hover-to-spin: the card's real model, laid over the square thumb,
- faded in only after its GLB finishes loading. */
+ faded in only after its GLB finishes loading. Ground must be OPAQUE
+ (--surface-2 is 5% white): a translucent background lets the photo
+ thumb bleed through the spinning render and the card reads as broken. */
.showcase-preview {
position: absolute;
top: 0;
@@ -2477,7 +2483,7 @@
right: 0;
aspect-ratio: 1 / 1;
width: 100%;
- background: var(--surface-2);
+ background: var(--bg-1, #1a1a1a);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
diff --git a/pages/forge.html b/pages/forge.html
index 9f070016e..e845a1f85 100644
--- a/pages/forge.html
+++ b/pages/forge.html
@@ -2436,8 +2436,14 @@
outline: 2px solid var(--accent);
outline-offset: 2px;
}
+ .showcase-card:focus-visible {
+ outline: 2px solid var(--accent);
+ outline-offset: 2px;
+ }
/* Hover-to-spin: the card's real model, laid over the square thumb,
- faded in only after its GLB finishes loading. */
+ faded in only after its GLB finishes loading. Ground must be OPAQUE
+ (--surface-2 is 5% white): a translucent background lets the photo
+ thumb bleed through the spinning render and the card reads as broken. */
.showcase-preview {
position: absolute;
top: 0;
@@ -2445,7 +2451,7 @@
right: 0;
aspect-ratio: 1 / 1;
width: 100%;
- background: var(--surface-2);
+ background: var(--bg-1, #1a1a1a);
opacity: 0;
pointer-events: none;
transition: opacity 0.25s ease;
diff --git a/public/changelog.json b/public/changelog.json
index 67995ac24..577119ca1 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-17T08:33:24.429Z",
+ "generated_at": "2026-07-17T09:07:44.555Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -28,6 +28,17 @@
"fix"
]
},
+ {
+ "date": "2026-07-17",
+ "type": "update",
+ "title": "Community feed hover previews no longer blend into the photo underneath",
+ "summary": "Hovering a card in the Fresh from the Forge strip spins the actual 3D model in place. The spinning model used to render on a nearly transparent background, so it visually collided with the card's photo thumbnail and looked broken, with a stray browser tooltip on top. The preview now draws on a solid backdrop, the redundant tooltip is gone, image-to-3D cards are labeled with their engine name (Hunyuan3D) instead of an internal id, and every card can now be opened from the keyboard.",
+ "link": "/forge",
+ "tags": [
+ "fix",
+ "improvement"
+ ]
+ },
{
"date": "2026-07-17",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index b6a2cbd17..8aa525126 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -22,6 +22,14 @@
<category>feature</category>
<description>We rebuilt the auto-rigging engine that turns a generated 3D character into a living avatar. Rigging now finishes in seconds instead of stalling for 20 minutes, produces a full standard skeleton with fingers that our entire animation library (walk, wave, dance, emotes) can drive immediately, keeps the model's original textures perfectly intact, and adds the 52 facial expression shapes used for emotions and lip-sync. Every piece of the new pipeline is MIT-licensed open source, so it works for everyone, everywhere.</description>
</item>
+ <item>
+ <title>Community feed hover previews no longer blend into the photo underneath</title>
+ <link>https://three.ws/forge</link>
+ <guid isPermaLink="false">2026-07-17:Community feed hover previews no longer blend into the photo underneath</guid>
+ <pubDate>Fri, 17 Jul 2026 12:00:00 GMT</pubDate>
+ <category>fix</category>
+ <description>Hovering a card in the Fresh from the Forge strip spins the actual 3D model in place. The spinning model used to render on a nearly transparent background, so it visually collided with the card's photo thumbnail and looked broken, with a stray browser tooltip on top. The preview now draws on a solid backdrop, the redundant tooltip is gone, image-to-3D cards are labeled with their engine name (Hunyuan3D) instead of an internal id, and every card can now be opened from the keyboard.</description>
+ </item>
<item>
<title>Creator profile pages work again, plus a site-wide reliability sweep</title>
<link>https://three.ws/changelog</link>
diff --git a/public/features.json b/public/features.json
index 6e1d07b73..ab8b30b6b 100644
--- a/public/features.json
+++ b/public/features.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-17T08:33:24.417Z",
+ "generated_at": "2026-07-17T09:07:44.542Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json",
"site": {
"name": "three.ws",
diff --git a/src/ar-studio.js b/src/ar-studio.js
index b3b93e429..15fd04527 100644
--- a/src/ar-studio.js
+++ b/src/ar-studio.js
@@ -24,9 +24,9 @@
// round-trips through ?src= links, so a desktop arrangement reopens on a phone.
import {
- AnimationMixer, Box3, CanvasTexture, CircleGeometry, Color, DirectionalLight,
- GridHelper, Group, HemisphereLight, Mesh, MeshBasicMaterial, PerspectiveCamera,
- PlaneGeometry, Raycaster, RingGeometry, Scene, Vector2, Vector3, WebGLRenderer,
+ AnimationMixer, Box3, CanvasTexture, DirectionalLight, GridHelper, Group,
+ HemisphereLight, Mesh, MeshBasicMaterial, PerspectiveCamera, PlaneGeometry,
+ PMREMGenerator, Raycaster, RingGeometry, Scene, Vector2, Vector3, WebGLRenderer,
} from 'three';
import { RoomEnvironment } from 'three/addons/environments/RoomEnvironment.js';
import { clone as cloneSkinnedScene } from 'three/addons/utils/SkeletonUtils.js';
@@ -37,9 +37,9 @@ import {
PINCH_SCALE_MAX, PINCH_SCALE_MIN,
} from './ar/pinch-scale.js';
import {
- AVATAR_TARGET_HEIGHT_M, deserializeScene, fitTransform, MAX_PLACEMENTS,
- normalizeGlbUrl, parseSrcParams, serializeScene, spawnPointInFront,
- studioShareUrl, touchAngle, twistDelta,
+ deserializeScene, fitTransform, MAX_PLACEMENTS, normalizeGlbUrl,
+ parseSrcParams, serializeScene, spawnPointInFront, studioShareUrl,
+ touchAngle, twistDelta,
} from './ar/studio-scene.js';
import { renderQRToSVG } from './erc8004/qr.js';
import { deriveVerticalFovDeg, DEFAULT_DIAG_FOV_DEG } from './irl/camera-fov.js';
@@ -120,20 +120,15 @@ const scene = new Scene();
const camera = new PerspectiveCamera(58, window.innerWidth / window.innerHeight, 0.02, 200);
camera.position.set(0, EYE_HEIGHT_M, 0);
-// PBR environment so forge PBR materials (metal, glass, emissive) read правильно
-// against a real room — same RoomEnvironment the viewer uses.
-{
- const { PMREMGenerator } = renderer.constructor.name ? {} : {};
+// PBR environment so forge materials (metal, glass, emissive) read correctly
+// against a real room — same RoomEnvironment the main viewer uses.
+try {
+ const pmrem = new PMREMGenerator(renderer);
+ scene.environment = pmrem.fromScene(new RoomEnvironment(), 0.04).texture;
+ pmrem.dispose();
+} catch (err) {
+ log.warn('environment map failed', err);
}
-import('three').then(({ PMREMGenerator }) => {
- try {
- const pmrem = new PMREMGenerator(renderer);
- scene.environment = pmrem.fromScene(new RoomEnvironment(), 0.04).texture;
- pmrem.dispose();
- } catch (err) {
- log.warn('environment map failed', err);
- }
-});
scene.add(new HemisphereLight(0xffffff, 0x444455, 1.0));
const sun = new DirectionalLight(0xffffff, 1.15);
@@ -228,6 +223,9 @@ let undoItems = null;
// Template cache: one load per GLB source no matter how many copies are placed.
/** @type {Map<string, Promise<{ gltf: any, skinned: boolean, fit: { scale: number, yOffset: number }, radius: number }>>} */
const templates = new Map();
+// Resolved templates, synchronously readable — an XR `select` handler can't
+// await, so it places only sources that have already finished loading.
+const tplReady = new Map();
const loadQueue = createLoadQueue({
run: (src) => sharedGLTFLoader().loadAsync(src),
maxActive: 3,
@@ -305,7 +303,7 @@ function positionSelRing() {
const p = selected;
selRing.position.set(p.group.position.x, p.group.position.y + 0.006, p.group.position.z);
const r = Math.max(0.24, p.baseRadius * p.group.scale.x * 1.15);
- selRing.scale.setScalar(r / 0.32);
+ selRing.scale.setScalar(r / 0.34);
}
// ── Model loading + placement ─────────────────────────────────────────────────
@@ -327,7 +325,8 @@ function loadTemplate(src) {
return { gltf, skinned, fit, radius: Number.isFinite(radius) ? radius : 0.3 };
});
templates.set(src, t);
- t.catch(() => templates.delete(src)); // a failed load is retryable
+ t.then((tpl) => tplReady.set(src, tpl))
+ .catch(() => templates.delete(src)); // a failed load is retryable
}
return t;
}
@@ -435,7 +434,8 @@ async function addModel({ src, title = '' }, { x = null, z = null, yaw = null, s
baseRadius: tpl.radius,
spawnT: reducedMotion ? 1 : 0,
};
- if (!reducedMotion) group.scale.multiplyScalar(0.001);
+ group.userData._targetScale = group.scale.x;
+ if (!reducedMotion) group.scale.setScalar(0.001);
placements.push(placement);
armedSrc = { src: url, title: placement.title };
updateCount();
@@ -456,11 +456,10 @@ function removePlacement(p, { persist = true } = {}) {
p.shadow.geometry?.dispose();
p.shadow.material?.dispose();
}
- p.group.traverse((o) => {
- o.geometry?.dispose?.();
- // Materials/textures come from the shared template — other copies may
- // still use them, so only the geometry clones are disposed here.
- });
+ // Geometry/materials belong to the shared template — other copies (and
+ // future adds of the same source) still use them, so nothing is disposed.
+ // SkeletonUtils.clone shares geometry between copies; only the shadow above
+ // is per-placement.
if (selected === p) select(placements[placements.length - 1] ?? null);
updateCount();
if (persist) saveScene();
@@ -1128,15 +1127,15 @@ xrBtn?.addEventListener('click', async () => {
setStatus('Pick a model first — Add or forge one, then tap the floor.', { warn: true });
return null;
}
- const tplPromise = templates.get(src);
- // Templates resolve before anything is armable; a still-loading one
- // simply skips this tap rather than placing late and surprising.
- let tpl = null;
- tplPromise?.then?.((t) => { tpl = t; });
- if (!templates.has(src) || !tplReady.has(src)) return null;
- const readyTpl = tplReady.get(src);
- const { group, mixer } = instantiate(readyTpl);
- const placement = {
+ // An XR select can't await: only an already-resolved template places.
+ const tpl = tplReady.get(src);
+ if (!tpl) {
+ loadTemplate(src);
+ setStatus('Model is still loading — one moment, then tap again.', { sticky: true });
+ return null;
+ }
+ const { group, mixer } = instantiate(tpl);
+ placements.push({
id: `p-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 7)}`,
src,
title: armedSrc?.title || '',
@@ -1144,10 +1143,9 @@ xrBtn?.addEventListener('click', async () => {
shadow: null,
mixer,
yaw: 0,
- baseRadius: readyTpl.radius,
+ baseRadius: tpl.radius,
spawnT: 1,
- };
- placements.push(placement);
+ });
updateCount();
return group;
},
@@ -1162,8 +1160,7 @@ xrBtn?.addEventListener('click', async () => {
},
getScaleTarget: () => placements[placements.length - 1]?.group ?? null,
onScale: (s, { final }) => {
- const p = placements[placements.length - 1];
- if (p && final) saveScene();
+ if (final) saveScene();
},
onHit: (has) => {
document.body.classList.toggle('xr-has-floor', has);
@@ -1216,18 +1213,6 @@ xrBtn?.addEventListener('click', async () => {
}
});
-// Resolved templates, synchronously readable for the XR select handler (an XR
-// `select` can't await — a not-yet-loaded template skips the tap).
-const tplReady = new Map();
-const _origLoadTemplate = loadTemplate;
-function trackTemplate(src) {
- const p = _origLoadTemplate(src);
- p.then((t) => tplReady.set(src, t)).catch(() => {});
- return p;
-}
-// eslint-disable-next-line no-func-assign
-loadTemplate = trackTemplate;
-
// ── Photo + QR handoff ────────────────────────────────────────────────────────
photoBtn?.addEventListener('click', async () => {
renderer.render(scene, camera); // fresh pixels under preserveDrawingBuffer
diff --git a/src/forge-showcase.js b/src/forge-showcase.js
index b134b401f..f6f224db3 100644
--- a/src/forge-showcase.js
+++ b/src/forge-showcase.js
@@ -163,11 +163,11 @@ const captureObserver =
img.loading = 'lazy';
img.alt = '';
img.src = dataUrl;
- img.onerror = () => applyGradientFallback(card, card.title);
+ img.onerror = () => applyGradientFallback(card, card.dataset.prompt);
const existing = card.querySelector('.thumb');
existing ? existing.replaceWith(img) : card.prepend(img);
} else {
- applyGradientFallback(card, card.title);
+ applyGradientFallback(card, card.dataset.prompt);
}
});
});
diff --git a/src/forge-studio/forge-showcase.js b/src/forge-studio/forge-showcase.js
index 01b7dda46..1314cb394 100644
--- a/src/forge-studio/forge-showcase.js
+++ b/src/forge-studio/forge-showcase.js
@@ -15,7 +15,19 @@
import { skeletonHTML, errorStateHTML, ensureStateKitStyles } from '../shared/state-kit.js';
ensureStateKitStyles();
-const ENGINE_LABELS = { nvidia: 'Free', trellis: 'Fast', meshy: 'Meshy', tripo: 'Tripo', hunyuan3d: 'Hunyuan3D', triposg: 'TripoSG' };
+const ENGINE_LABELS = {
+ nvidia: 'Free',
+ huggingface: 'Hunyuan3D',
+ trellis: 'Fast',
+ trellis_selfhost: 'TRELLIS',
+ meshy: 'Meshy',
+ tripo: 'Tripo',
+ rodin: 'Rodin',
+ stability: 'Stability',
+ replicate_byok: 'Replicate',
+ hunyuan3d: 'Hunyuan3D',
+ triposg: 'TripoSG',
+};
const MODEL_CAT_LABELS = {
avatar: 'Avatar', accessory: 'Accessory', item: 'Item',
@@ -151,11 +163,11 @@ const captureObserver =
img.loading = 'lazy';
img.alt = '';
img.src = dataUrl;
- img.onerror = () => applyGradientFallback(card, card.title);
+ img.onerror = () => applyGradientFallback(card, card.dataset.prompt);
const existing = card.querySelector('.thumb');
existing ? existing.replaceWith(img) : card.prepend(img);
} else {
- applyGradientFallback(card, card.title);
+ applyGradientFallback(card, card.dataset.prompt);
}
});
});
@@ -187,7 +199,9 @@ function buildCard(c) {
card.className = 'creation showcase-card';
card.tabIndex = 0;
card.setAttribute('role', 'button');
- card.title = c.prompt || 'Forged model';
+ // No title attribute: the prompt is already visible in .meta below the thumb,
+ // and the native tooltip clips over the card art on hover.
+ card.dataset.prompt = c.prompt || '';
card.setAttribute('aria-label', `Open in viewer: ${c.prompt || 'forged model'}`);
if (c.preview_image_url) {