Socket
Socket
Sign inDemoInstall

glbutils

Package Overview
Dependencies
381
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    glbutils

Utility for inspecting and modifying gltf binary files


Version published
Maintainers
1
Created

Readme

Source

glbutils

Utility for inspecting and modifying gltf binary files

Installation

npm install -g glbutils

Usage

glb-utils path/to/glb-file.glb optional/path/to/write/to.glb

If you want to modify the json in a glb file, first copy it to the clipboard (Opt 1), modify it in the editor of your choice, then paste it back into glb-utils (Opt 2) and write it out to the destination (Opt 3)

Features

  • Modify the json and keep byte alignment correct
  • View Formatted json

Binaries

glb-pack

Packs a gltf file and neighboring .bin and .image files into a glb binary

glb-pack /path/to/model.gltf

glb-unpack

Unpacks a glb file into a readable .gltf file and writes out the .bin file and images as separate files.

These images can't be edited and repacked, but that is coming.

glb-unpack /path/to/model.glb

FAQs

Last updated on 11 Jan 2018

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