Spaces:
Running
Running
Re-render white products without clipped highlights
Browse filesFiles changed (3)
100 unmodified lines101102103104105106107124 unmodified lines232233234235236237238100 unmodified lines// 640 px studio render from this Space (transparent, works on both themes); the dataset's// 256 px package thumbnail is the fallback.function thumbUrl(a, variant) {if (a.thumb) return signed(`previews/thumbs/${a.id}.webp?v=${encodeURIComponent(a.version || "")}`);const suffix = variant === "light" ? "_light" : variant === "transparent" ? "_transparent" : "";return fileUrl(a, `simready_usd/.thumbs/256x256/${a.id}.usd${suffix}.png`);}124 unmodified linesasync function getViewer() {if (viewer || viewerFailed) return viewer;try {const { createViewer } = await import(signed("./viewer.js?v=12"));viewer = createViewer();viewer.setTheme(theme());} catch (e) {100 unmodified lines101102103104105106107124 unmodified lines232233234235236237238100 unmodified lines// 640 px studio render from this Space (transparent, works on both themes); the dataset's// 256 px package thumbnail is the fallback.function thumbUrl(a, variant) {if (a.thumb) return signed(`previews/thumbs/${a.id}.webp?v=${encodeURIComponent((a.version || "") + "-" + (DATA.thumbs_rev || ""))}`);const suffix = variant === "light" ? "_light" : variant === "transparent" ? "_transparent" : "";return fileUrl(a, `simready_usd/.thumbs/256x256/${a.id}.usd${suffix}.png`);}124 unmodified linesasync function getViewer() {if (viewer || viewerFailed) return viewer;try {const { createViewer } = await import(signed("./viewer.js?v=13"));viewer = createViewer();viewer.setTheme(theme());} catch (e) {
7 unmodified lines89101112131468 unmodified lines8384858687887 unmodified lines<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap"><link rel="stylesheet" href="style.css?v=12"><script type="importmap">{ "imports": {"three": "https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js",68 unmodified lines</aside></div><script src="app.js?v=12"></script></body></html>7 unmodified lines89101112131468 unmodified lines8384858687887 unmodified lines<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Fira+Code:wght@400;500&display=swap"><link rel="stylesheet" href="style.css?v=13"><script type="importmap">{ "imports": {"three": "https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js",68 unmodified lines</aside></div><script src="app.js?v=13"></script></body></html>
app.js+2-2
data/catalog.json
index.html+2-2