mirror of
https://github.com/PlayableIntelligence/game-creator.git
synced 2026-09-19 07:34:10 +08:00
707206cc9f
Meshy AI generates raw GLBs (1-25MB) with uncompressed textures and high polycounts. New optimize-glb.mjs script automatically reduces file sizes by 80-95% via texture resize, WebP conversion, and meshopt compression. - Add scripts/optimize-glb.mjs (standalone, zero-dep, uses npx gltf-transform) - Auto-optimize after every GLB download in meshy-generate.mjs and find-3d-asset.mjs - Add MeshoptDecoder to AssetLoader.js template for runtime decompression - Lower default polycount from 30,000 to 10,000 for game-ready topology - Add --no-optimize flag to skip optimization when needed Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 KiB
Executable File
18 KiB
Executable File