feat: integrate Draco compression for 3D models in backoffice

- Added support for uploading and compressing GLB models using Draco in the backoffice.
- Implemented commands for importing and re-compressing 3D models.
- Updated model resource to handle 3D model uploads and validations.
- Introduced a new script for compressing GLB files with Draco.
- Modified Vite configuration to remove GLB files from the build output.
- Updated package dependencies to include GLTF-transform libraries for handling 3D models.
- Added tests to ensure proper functionality of 3D model handling and compression.
This commit is contained in:
2026-11-01 10:35:50 +01:00
parent 24f9e59654
commit 1208187a17
32 changed files with 895 additions and 52 deletions
+4 -4
View File
@@ -14,18 +14,18 @@
"description": "",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.7.2",
"@gltf-transform/core": "^4.5.1",
"@gltf-transform/extensions": "^4.5.1",
"@gltf-transform/functions": "^4.5.1",
"bootstrap": "^5.3.5",
"bs5-lightbox": "^1.8.5",
"draco3dgltf": "^1.5.9",
"gsap": "^3.13.0",
"jquery": "^3.7.1",
"three": "^0.185.1",
"vite-plugin-static-copy": "^2.3.0"
},
"devDependencies": {
"@gltf-transform/core": "^4.5.1",
"@gltf-transform/extensions": "^4.5.1",
"@gltf-transform/functions": "^4.5.1",
"draco3dgltf": "^1.5.9",
"vite": "^6.2.4",
"vite-plugin-minify": "^2.1.0"
},