0.23.0•Public• Published17 days ago 📦 gltfpack gltfpack is a tool that can automatically optimize glTF files to reduce the download size and improve loading and rendering speed. Installation You can download a pre-built binary for gltfpack onReleases page, or installnpm package. Native ...
npm install -g gltfpack gltfpack -i scene.gltf -o scene.glb 1 2 默认情况下,gltfpack输出已使用各种缓存优化器和量化针对GPU消耗进行了优化的常规.glb/文件。.gltf这些文件可以由支持KHR_mesh_quantization扩展的GLTF加载器加载,例如three.js (r111+) 和Babylon.js (4.1+)。 具体命令参数详见 在前端进行解压...