Spaces:
Sleeping
Sleeping
Commit History
-
🎬 Deploy GLB Animation Studio v2 — full feature set
Verified signature0fffd55
-
fix: all HF Space issues resolved
GLB Studio Deploy1. PropertiesPanel.jsx: fixed operator precedence bug !model[key]??true → !(model[key]??true) (was causing incorrect boolean logic on shadow toggles) 2. nginx.conf: removed Cross-Origin-Embedder-Policy header COEP was blocking ALL cross-origin resource loading: - GLB/GLTF models from threejs.org, supabase.co etc - HDR/image skyboxes from external URLs - Google Fonts Removing COEP fixes model loading completely 3. README.md: clean valid HF front-matter, no trailing content issues 4. dist/: rebuilt with all fixes applied (index-CPjiwba7.js) Dockerfile still uses pre-built dist/ so HF build = ~20 sec Deployment strategy: nginx-only Docker image (no node/npm on HF) - FROM nginx:1.25-alpine only - COPY dist/ → nginx serves it - Build time on HF free tier: ~20 secondsca1349e
-
feat: comprehensive audit - add all missing core features
GLB Studio DeployuseStore.js (complete rewrite): - Undo/Redo: pushUndo/undo/redo with snapshot of 8 state keys - Project Save/Load: localStorage, exportProjectJSON, importProjectJSON (.glbstudio files) - Project name (editable, double-click in toolbar) - Easing on keyframes: linear/ease-in/ease-out/ease-in-out (stored per-KF) - Loop playback: loopPlayback bool, setLoopPlayback - Grid snap: snapEnabled, snapTranslate/Rotate/Scale - Material overrides: materialOverride per model {color,roughness,metalness,opacity,wireframe} - castShadow/receiveShadow per model - duplicateModel: deep clone with offset position - selectModel: now correctly updates lastSelectedModelId Toolbar.jsx (complete rewrite): Keyboard shortcuts (skip when typing in inputs): G = Move R = Rotate S = Scale Space = Play/Pause Ctrl+Z = Undo Ctrl+Y/Ctrl+Shift+Z = Redo D = Duplicate selected Delete = Remove selected Tab = Toggle snap L = Loop F12 = Screenshot Ctrl+S = Save project - Undo/Redo buttons (greyed when stack emp…72b08e2
-
redesign: complete modern UI overhaul + new features
GLB Studio DeployDesign System: - Full CSS variables design system (bg0-bg4, accent, text0-3, radius, shadows) - Inter (UI) + JetBrains Mono (numbers/code) + Syne (brand) font stack - Consistent border, hover, focus, transition styles everywhere - All global range/input/scrollbar styling in index.css Layout: - Blender-style icon rail (48px) on right edge with slide-out panel (260px) - Panel animates open/close with smooth width transition - Panel header with title + close button - Mobile: slide-up drawer (55% height) with tab bar at bottom - Canvas always fills 100% of remaining viewport Toolbar: - Compact, clean — brand / transform tools / transport / lighting / keyframe shortcut - Active states with accent color background + border - Styled play button with glow shadow - Frame counter with monospace font in bg3 chip ModelsPanel: - Large drag-and-drop zone with pulse animation on hover - Grid layout for demo model buttons - Model list with color dots, anim count badges, hover states - Inline visibi…fd8bcfa
-
🎬 Initial release: GLB Animation Studio
GLB Studio DeployComplete 3D animation studio for Hugging Face Spaces Features: - GLB/GLTF model loading (URL, file upload, demo models) - Three.js scene with shadows, lighting presets (studio/outdoor/dramatic/neon) - Transform controls: Move / Rotate / Scale with axis gizmos - Built-in GLB animation playback with speed control - Keyframe animation system with linear interpolation - 300-frame timeline editor with draggable keyframe dots - Video export via MediaRecorder API (WebM download) - Mobile-optimised UI (touch orbit, pinch zoom, bottom drawer) - Zustand state management Docker deployment: - Multi-stage Dockerfile (Node 20 builder → nginx 1.25 runner) - nginx on port 7860 (HF Spaces requirement) - Non-root user uid 1000 (HF Spaces requirement) - COEP/COOP headers for SharedArrayBuffer support - docker-compose for local prod + dev hot-reload Tech stack: React 18, Vite, Three.js, R3F, @react-three/drei, Zustandcad548d