Skip to content

Bundles glTF models, images, shaders and other assets into a Binary glTF (.glb) file.

Notifications You must be signed in to change notification settings

Qantas94Heavy/binary-gltf-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

The binary-gltf-utils module allows you to convert plain GLTF files with separate assets to a single, bundled Binary GLTF file.

Usage: gltf-to-glb <file> [options]

Options:
  -e, --embed  embeds textures or shaders into binary GLTF file
                                        [array] [choices: "textures", "shaders"]
  --cesium     OBSOLETE (has no effect, no longer required by Cesium)  [boolean]
  -h, --help   Show help                                               [boolean]

Licence: MIT (see COPYRIGHT.md for details)

Changes since 1.1.1

  • Fix embedding of image textures
  • Add support for --embed option without further arguments
  • Fix binary GLTF file generation for files without images or shaders
  • Add binary_glTF buffer definition to all files
  • The --cesium flag is obsolete and no longer has any effect. Cesium 1.20+ has changed its Binary GLTF reader to be specification compliant.

About

Bundles glTF models, images, shaders and other assets into a Binary glTF (.glb) file.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published