anxuanng's picture
Add Scanned Objects GLB pack (1,033 objects) (part 7)
61d8046 verified
Raw History Blame Contribute Delete
3.72 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Scanned Objects GLB</title>
<meta name="description" content="Search and orbit web-ready Google Scanned Objects (glb, meshopt, WebP) at real-world scale.">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<script type="importmap">
{
"imports": {
"three": "https://cdn.jsdelivr.net/npm/three@0.180.0/build/three.module.js",
"three/addons/": "https://cdn.jsdelivr.net/npm/three@0.180.0/examples/jsm/"
}
}
</script>
</head>
<body>
<header class="top">
<a class="brand" href="#/">Scanned Objects GLB</a>
<p class="summary">1,033 real household scans at real size, web-ready. <strong>13.7 GB → 344.8 MB</strong>.</p>
<a class="dataset-link" href="https://huggingface.co/datasets/codepawl/scanned-objects-glb" target="_blank" rel="noopener">Dataset</a>
</header>
<main id="browse" class="browse">
<div class="filters">
<label class="search">
<svg viewBox="0 0 24 24" aria-hidden="true"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>
<input id="query" type="search" placeholder="Search 1,033 objects" autocomplete="off" spellcheck="false">
</label>
<select id="category" aria-label="Category"></select>
<span id="count" class="count"></span>
</div>
<ul id="grid" class="grid"></ul>
<div id="sentinel" class="sentinel"></div>
<p id="empty" class="empty" hidden>No object matches that search.</p>
</main>
<main id="detail" class="detail" hidden>
<a class="back" href="#/">
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M15 6l-6 6 6 6"/></svg>
All objects
</a>
<div class="detail-body">
<div class="stage">
<canvas id="view"></canvas>
<div id="stage-status" class="stage-status"></div>
<p class="stage-hint">Drag to orbit, scroll to zoom</p>
</div>
<aside class="facts">
<h1 id="asset-name" class="asset-name"></h1>
<p id="asset-category" class="asset-category"></p>
<div class="ratio">
<span id="ratio-value" class="ratio-value"></span>
<span class="ratio-label">than the source OBJ and PNG</span>
</div>
<dl id="stats" class="stats"></dl>
<div class="actions">
<a id="download" class="button primary" download>
<svg viewBox="0 0 24 24" aria-hidden="true"><path d="M12 4v11m-5-5 5 5 5-5M5 20h14"/></svg>
<span id="download-label">Download .glb</span>
</a>
<button id="copy-code" class="button" type="button">
<svg viewBox="0 0 24 24" aria-hidden="true"><rect x="8" y="8" width="12" height="12" rx="2"/><path d="M16 8V5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h3"/></svg>
<span id="copy-label">Copy three.js code</span>
</button>
</div>
<a id="source-link" class="source-link" target="_blank" rel="noopener">Original on Gazebo Fuel</a>
</aside>
</div>
</main>
<footer class="credit">
Scans by Google, from <a href="https://app.gazebosim.org/GoogleResearch/fuel/collections/Scanned%20Objects%20by%20Google%20Research" target="_blank" rel="noopener">Google Scanned Objects</a>,
CC BY 4.0. Converted and compressed by <a href="https://huggingface.co/codepawl" target="_blank" rel="noopener">CodePawl</a>.
Brands and logos on the packaging belong to their owners.
</footer>
<script type="module" src="./app.js"></script>
</body>
</html>