Catalog npm
Back to packageRELEASE DETAILS

0.0.7

npm

3d-tiles-optimize

Optimize 3d-tiles by 3d-tiles-tools with glTF-Transform

3d-tiles3d-tiles-toolsgltf-transformoptimize3dtilescesium
Published8 Feb 2026
Direct dependencies26
Transitive dependenciesNot calculated

README

Current package documentation

3d-tiles-optimize

Overview

The 3D Tiles Optimize are a tool for optimizing 3D Tiles data, replace optimizeGlb contentStage lib from gltf-pipeline to glTF-Transform.

Getting Started

Install Node.js if you don't already have it, and then:

npm install -g 3d-tiles-optimize

Using 3d-tiles-optimize as a command-line tool:

3d-tiles-optimize optimize ./input ./output

Optimize Options

@see glTF-Transform Configuration

OptionDescriptionTypesDefault
🐦 COMMON
--logLevelThe log level.trace / debug / info / warn / error / fatal / silentwarn
🌓 PIPELINE
--combineCombines all external tilesets into a single tileset.booleanfalse
📦 PACKAGE
--dedupDeduplicate accessors and textures.booleantrue
--pruneRemoves properties from the file if they are not referenced by a Scene.booleantrue
--prune.attributesWhether to prune unused vertex attributes.booleantrue
--prune.solidTexturesWhether to prune solid (single-color) textures, converting them to material factors.booleantrue
🌍 SCENE
--instanceCreate GPU instances from shared mesh references.booleantrue
--instance.minNumber of instances required for instancing.number5
--flattenFlatten scene graph.numbertrue
🫖 GEOMETRY
--dracoCompress geometry with Draco.booleanfalse
--meshoptCompress geometry and animation with Meshopt.booleantrue
--meshopt.levelMeshopt compress level.medium / highhigh
--quantizeQuantize geometry, reducing precision and memory.booleanfalse
--weldMerge equivalent vertices. Required when simplifying geometry.booleantrue
--simplifySimplify mesh geometry with meshoptimizer.booleantrue
--simplify.errorSimplification error tolerance, as a fraction of mesh extent.number0.0001
--simplify.ratioTarget ratio (0–1) of vertices to keep.number0.0
--simplify.lockBorderWhether to lock topological borders of the mesh.booleanfalse
🎨 MATERIAL
--paletteCreates palette textures and merges materials.booleantrue
--palette.minMinimum number of blocks in the palette texture. If fewer unique material values are found, no palettes will be generated.number5
--joinJoin meshes and reduce draw calls. Requires --flatten.booleantrue
--join.meshesJoin distinct meshes and nodes. Requires --join.booleantrue
--join.namedJoin named meshes and nodes. Requires --join.booleantrue
🖼 TEXTURE
--textureCompressTexture compression format. KTX2 optimizes VRAM usage and performance; AVIF and WebP optimize transmission size. Auto recompresses in original format.ktx2 / webp / avif / auto / falsewebp
--textureCompress.resizeResizes 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.[number,number] / nearest-pot / ceil-pot / floor-pot / falsefalse
⏯️ ANIMATION
--resampleResample animations, losslessly deduplicating keyframesbooleantrue
--sparseReduces storage for zero-filled arrays. If disabled, existing accessors (sparse or not) are left unchanged.booleantrue

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 26

Native requirements
26 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
tmp
Environment
{
  "local_name": "tmp",
  "alias": false,
  "peer_metadata": null
}
^0.2.5runtime
sharp
Environment
{
  "local_name": "sharp",
  "alias": false,
  "peer_metadata": null
}
^0.34.5runtime
p-limit
Environment
{
  "local_name": "p-limit",
  "alias": false,
  "peer_metadata": null
}
^7.3.0runtime
prompts
Environment
{
  "local_name": "prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.2runtime
fs-extra
Environment
{
  "local_name": "fs-extra",
  "alias": false,
  "peer_metadata": null
}
^11.3.3runtime
cli-table3
Environment
{
  "local_name": "cli-table3",
  "alias": false,
  "peer_metadata": null
}
^0.6.5runtime
micromatch
Environment
{
  "local_name": "micromatch",
  "alias": false,
  "peer_metadata": null
}
^4.0.8runtime
draco3dgltf
Environment
{
  "local_name": "draco3dgltf",
  "alias": false,
  "peer_metadata": null
}
^1.5.7runtime
csv-stringify
Environment
{
  "local_name": "csv-stringify",
  "alias": false,
  "peer_metadata": null
}
^6.6.0runtime
language-tags
Environment
{
  "local_name": "language-tags",
  "alias": false,
  "peer_metadata": null
}
^2.1.0runtime
meshoptimizer
Environment
{
  "local_name": "meshoptimizer",
  "alias": false,
  "peer_metadata": null
}
^1.0.1runtime
3d-tiles-tools
Environment
{
  "local_name": "3d-tiles-tools",
  "alias": false,
  "peer_metadata": null
}
^0.5.1runtime
keyframe-resample
Environment
{
  "local_name": "keyframe-resample",
  "alias": false,
  "peer_metadata": null
}
^0.1.0runtime
@donmccurdy/caporal
Environment
{
  "local_name": "@donmccurdy/caporal",
  "alias": false,
  "peer_metadata": null
}
^0.0.10runtime
@gltf-transform/core
Environment
{
  "local_name": "@gltf-transform/core",
  "alias": false,
  "peer_metadata": null
}
^4.3.0runtime
@gltf-transform/functions
Environment
{
  "local_name": "@gltf-transform/functions",
  "alias": false,
  "peer_metadata": null
}
^4.3.0runtime
@gltf-transform/extensions
Environment
{
  "local_name": "@gltf-transform/extensions",
  "alias": false,
  "peer_metadata": null
}
^4.3.0runtime
tsdown
Environment
{
  "local_name": "tsdown",
  "alias": false,
  "peer_metadata": null
}
^0.20.3development
@types/tmp
Environment
{
  "local_name": "@types/tmp",
  "alias": false,
  "peer_metadata": null
}
^0.2.6development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.9.3development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^25.2.1development
@types/prompts
Environment
{
  "local_name": "@types/prompts",
  "alias": false,
  "peer_metadata": null
}
^2.4.9development
@types/fs-extra
Environment
{
  "local_name": "@types/fs-extra",
  "alias": false,
  "peer_metadata": null
}
^11.0.4development
@types/micromatch
Environment
{
  "local_name": "@types/micromatch",
  "alias": false,
  "peer_metadata": null
}
^4.0.10development
@types/draco3dgltf
Environment
{
  "local_name": "@types/draco3dgltf",
  "alias": false,
  "peer_metadata": null
}
^1.4.3development
@types/language-tags
Environment
{
  "local_name": "@types/language-tags",
  "alias": false,
  "peer_metadata": null
}
^1.0.4development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "9fb5e2c179bfed95a5f6e6475d141d73c803c45b",
  "tarball": "https://registry.npmjs.org/3d-tiles-optimize/-/3d-tiles-optimize-0.0.7.tgz",
  "fileCount": 6,
  "integrity": "sha512-z/8JR8eLdBklXGmP55f354tU9UHTznW+l/8BMbylv9LVJeb8o2xuKTWotJiMy4p44nvecG95lHTe191PfTfbQw==",
  "signatures": [
    {
      "sig": "MEYCIQD4igrqqXwwSKnvCBV5Gn9C7vnXBOrKF++5BC+XPwbkkAIhAMzfwLZhJ8TcJ+ONdlHj1jswoXAxyMkFCHwLn+3xyzER",
      "keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"
    }
  ],
  "unpackedSize": 59392
}

Repository

ACCESSIBLE
itfsw/3d-tiles-optimize

Shared repository data · GitHub

License detected in repository
Apache-2.0
License branch / ref
main
Last push
28 Feb 2026
Archived
No
Contributor identities
— · partial collection

Public sponsor counts have not been collected. These signals belong to the repository owner.

Downloads & popularity

0count
Gauge · observed snapshots22 Oct 2026
10.50
2026-10-22: 0 · observed 2026-10-22T14:25:46.3331372Z
22 Oct22 Oct

github · 1 observations shown. Missing days are unknown.

View observed values
Date / source periodValueObserved at
2026-10-2202026-10-22T14:25:46.3331372Z

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:37 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:0bfa81ce02fa2e9665d7663e71091f03cd36afcc9ab4f1ccce2f4b48ef06e077

Other collected versions

0.0.1028 Feb0.0.911 Feb0.0.88 Feb0.0.68 Feb0.0.58 Feb0.0.48 FebView all collected versions →