Spaces:
Running
Running
3D viewer: HDRI lighting, clear glass, liquids visible from every angle
Browse filesFiles changed (5)
- .gitattributes+1
- README.md+3
- app.js+1-1
- env/small_hangar_02_1k.hdrAdded+3
- index.html+2-2
34 unmodified lines35363734 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -text*.glb filter=lfs diff=lfs merge=lfs -text*.webp filter=lfs diff=lfs merge=lfs -text34 unmodified lines3536373834 unmodified lines*tfevents* filter=lfs diff=lfs merge=lfs -text*.glb filter=lfs diff=lfs merge=lfs -text*.webp filter=lfs diff=lfs merge=lfs -textenv/small_hangar_02_1k.hdr filter=lfs diff=lfs merge=lfs -text
48 unmodified lines49505152535448 unmodified lineslisted in `tools/scenes.json`. `tools/make_scene_previews.py` downloads each scene's GLB andpreview image (read only, needs an HF token with access) and writes a smaller GLB to`previews/scenes/` and a thumbnail to `previews/thumbs/`.- `tools/render_thumbs.py` renders `previews/thumbs/<asset>.webp`: 640 px studio thumbnails(Blender Cycles, transparent background, contact shadow) from the preview GLBs. It onlyrenders missing or outdated ones.48 unmodified lines49505152535455565748 unmodified lineslisted in `tools/scenes.json`. `tools/make_scene_previews.py` downloads each scene's GLB andpreview image (read only, needs an HF token with access) and writes a smaller GLB to`previews/scenes/` and a thumbnail to `previews/thumbs/`.- `viewer.js` lights models with the HDRI `env/small_hangar_02_1k.hdr` (Poly Haven, CC0;lighting and reflections only, the background stays grey). See-through shells render asclear glass and whatever sits inside them draws first, so liquids show from every angle.- `tools/render_thumbs.py` renders `previews/thumbs/<asset>.webp`: 640 px studio thumbnails(Blender Cycles, transparent background, contact shadow) from the preview GLBs. It onlyrenders missing or outdated ones.
231 unmodified lines232233234235236237238231 unmodified linesasync function getViewer() {if (viewer || viewerFailed) return viewer;try {const { createViewer } = await import(signed("./viewer.js?v=22"));viewer = createViewer();viewer.setTheme(theme());} catch (e) {231 unmodified lines232233234235236237238231 unmodified linesasync function getViewer() {if (viewer || viewerFailed) return viewer;try {const { createViewer } = await import(signed("./viewer.js?v=23"));viewer = createViewer();viewer.setTheme(theme());} catch (e) {
123version https://git-lfs.github.com/spec/v1oid sha256:1b5aa0c582f109e582fd4e75a3171547b1c04ed949dd3a8ee5d7e72aa197b398size 16964727 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=22"><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=22"></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=23"><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=23"></script></body></html>
.gitattributes+1
README.md+3
app.js+1-1
env/small_hangar_02_1k.hdrAdded+3
index.html+2-2