Socket
Socket
Sign inDemoInstall

3d-compress

Package Overview
Dependencies
95
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    3d-compress

用于处理3d模型文件压缩/拆分


Version published
Weekly downloads
29
increased by3.57%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

3d-compress

一个压缩gltf/glb文件格式的js库

安装

使用npm或者yarn安装

npm install -g 3d-compress # via npm

yarn global add 3d-compress # or Yarn

3d-compress -h # 查看帮助

流程图

流程图

网格压缩类型

  • KHR_mesh_quantization
3d-compress -i demo.gltf # 默认的网格压缩方式,并且使用tiny压缩拆分出的图片文件 如需关闭 -y=false
  • EXT_meshopt_compression
3d-compress -i demo.gltf -m
  • Draco
3d-compress -i demo.gltf -d

其他

  • 先使用KHR_mesh_quantization后Draco压缩
3d-compress -i demo.gltf -q -d

推荐

3d-convert,一个简单的3d文件格式转换库

Keywords

FAQs

Last updated on 17 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc