Commit Graph

6 Commits

Author SHA1 Message Date
pelpanagiotis
400b6d6f09 fix(menu): load pizza GLB at runtime when scene export has no mesh
Exported MenuScene.glb had cc0_-_pizza_salami with MeshRenderer but null
materials and no glTF mesh buffers (common when Unity imported an LFS pointer).
Add include/dishes standalone GLB and dishMeshFallback to GLTFLoader-inject
geometry when a dish root has no meshes. Track include/dishes outside Git LFS.

Made-with: Cursor
2026-04-20 00:07:33 +03:00
pelpanagiotis
0200cd8082 fix(needle): correct vite gzip option and rebuild dist
Replace invalid ddeleteOriginalAssets with deleteOriginalAssets: false so
vite-plugin-compression2 keeps uncompressed JS/CSS alongside .gz files.
Without this, index.html referenced missing chunks and the scene failed to load.
Rebuild MenuScene and SampleScene production bundles.

Made-with: Cursor
2026-04-19 23:58:16 +03:00
pelpanagiotis
dc6c134c2e fix: store Needle dist assets as plain git blobs, not LFS pointers
Git LFS pointer text was being served as MenuScene.glb, breaking GLTF JSON parse.
Override filter for Needle/**/dist/** so static hosting and Docker get real binaries.

Made-with: Cursor
2026-04-19 23:49:07 +03:00
pelpanagiotis
6947303755 Commit Needle production dist and nginx-only Docker image
- Track Needle/MenuScene/dist and Needle/SampleScene/dist for container deploys
- Dockerfile copies pre-built dist (no npm in image); rebuild with npm run build before commit
- Fix Needle .gitignore: /assets/ so dist/assets is not ignored
- Git LFS: track *.wasm; relax .dockerignore so dist is sent as build context

Made-with: Cursor
2026-04-19 23:39:59 +03:00
pelpanagiotis
479e9bb979 Add Docker image and compose for Needle web exports
Serve production Vite dist with nginx; optional SampleScene profile.

Made-with: Cursor
2026-04-19 23:05:50 +03:00
pelpanagiotis
a7c53a08a0 Initial commit: Unity Needle AR Menu project with MenuScene and SampleScene web apps
Add root .gitignore for Unity Library/Temp/Logs, IDE folders, and node_modules.
Include Assets, Needle TypeScript (MenuController, asset picker, WebXR), and project configuration.

Made-with: Cursor
2026-04-19 22:41:05 +03:00