Skip to content

Releases: itfsw/3d-tiles-optimize

v0.0.10

28 Feb 05:59

Choose a tag to compare

  • chore: npm trusted-publishers

v0.0.9

11 Feb 04:00

Choose a tag to compare

  • perf: change textureCompress option default value to webp;
  • docs: add option types;

v0.0.8

08 Feb 12:52

Choose a tag to compare

-fix: 解决ci读取package.json版本异常问题;

v0.0.7

08 Feb 12:18

Choose a tag to compare

  • fix: 解决@gltf-transform/cli依赖和项目自身冲突问题;
  • chore: cli可以从package.json读取版本信息;

v0.0.6

08 Feb 11:34

Choose a tag to compare

  • feat: 根据gltf-transform配置项,优化配置;
Option Description Default
🐦 COMMON
--logLevel The log level. Valid values are trace, debug, info, warn, error, fatal, and silent warn
🌓 PIPELINE
--combine Combines all external tilesets into a single tileset. false
📦 PACKAGE
--dedup Deduplicate accessors and textures. true
--prune Removes properties from the file if they are not referenced by a Scene. true
--prune.attributes Whether to prune unused vertex attributes. true
--prune.solidTextures Whether to prune solid (single-color) textures, converting them to material factors. true
🌍 SCENE
--instance Create GPU instances from shared mesh references. true
--instance.min Number of instances required for instancing. 5
--flatten Flatten scene graph. true
🫖 GEOMETRY
--draco Compress geometry with Draco. false
--meshopt Compress geometry and animation with Meshopt. true
--meshopt.level Meshopt compress level. high
--quantize Quantize geometry, reducing precision and memory. false
--weld Merge equivalent vertices. Required when simplifying geometry. true
--simplify Simplify mesh geometry with meshoptimizer. true
--simplify.error Simplification error tolerance, as a fraction of mesh extent. 0.0001
--simplify.ratio Target ratio (0–1) of vertices to keep. 0.0
--simplify.lockBorder Whether to lock topological borders of the mesh. false
🎨 MATERIAL
--palette Creates palette textures and merges materials. true
--palette.min Minimum number of blocks in the palette texture. If fewer unique material values are found, no palettes will be generated. 5
--join Join meshes and reduce draw calls. Requires --flatten. true
--join.meshes Join distinct meshes and nodes. Requires --join. true
--join.named Join named meshes and nodes. Requires --join. true
🖼 TEXTURE
--textureCompress Texture compression format. KTX2 optimizes VRAM usage and performance; AVIF and WebP optimize transmission size. Auto recompresses in original format. true
--textureCompress.resize Resizes textures to given maximum [width,height] | false, preserving aspect ratio. Presets "nearest-pot", "ceil-pot", and "floor-pot" resize textures to power-of-two dimensions. false
⏯️ ANIMATION
--resample Resample animations, losslessly deduplicating keyframes true
--sparse Reduces storage for zero-filled arrays. If disabled, existing accessors (sparse or not) are left unchanged. true

v0.0.5

08 Feb 08:18

Choose a tag to compare

  • fix: Error: [EXT_meshopt_compression] Please install extension dependency, "meshopt.decoder".

v0.0.4

08 Feb 07:59

Choose a tag to compare

  • feat: add optimizeGlb log;
  • fix: --textureCompress.enable not support;

v0.0.3

08 Feb 07:41

Choose a tag to compare

  • feat: add optimize options support;

v0.0.1

08 Feb 03:49

Choose a tag to compare

  • feat: 第一个测试版本;