feat: add GLTF transformation and compression support
- Updated package.json to include @gltf-transform/core, @gltf-transform/extensions, @gltf-transform/functions, and draco3dgltf for GLB file processing. - Implemented GLB compression using Draco in the upload model API route. - Adjusted camera keyframes in ScrollScene for improved animation. - Enhanced overlay styles in ScrollOverlays for better visual clarity. - Added original GLB files for Kandoura, Suit, Unitree_G1, and Vest. - Updated existing GLB files for Kandoura, Suit, Unitree_G1, and Vest.
This commit is contained in:
@@ -11,6 +11,9 @@
|
||||
"test:watch": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gltf-transform/core": "^4.3.0",
|
||||
"@gltf-transform/extensions": "^4.3.0",
|
||||
"@gltf-transform/functions": "^4.3.0",
|
||||
"@libsql/client": "^0.17.2",
|
||||
"@prisma/adapter-libsql": "^7.7.0",
|
||||
"@prisma/client": "^7.7.0",
|
||||
@@ -22,6 +25,7 @@
|
||||
"@stripe/stripe-js": "^9.1.0",
|
||||
"@types/three": "^0.183.1",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"draco3dgltf": "^1.5.7",
|
||||
"framer-motion": "^12.38.0",
|
||||
"gsap": "^3.14.2",
|
||||
"i18next": "^26.0.3",
|
||||
@@ -37,6 +41,7 @@
|
||||
"zustand": "^5.0.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gltf-transform/cli": "^4.3.0",
|
||||
"@tailwindcss/postcss": "^4.2.2",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
|
||||
Reference in New Issue
Block a user