Skip to main content

No project description provided

Project description

GLTF Helper

glb(web images) -> glb(basis images)

For converting gltf/glb files with embedded jpgs/pngs to glb files with embedded basisu images.

Features

  • glb (web images) -> glb (basisu images)
  • glb (web images) -> glb (ktx2 images)
  • glb (basisu images) -> glb (web images)
  • glb (ktx2 images) -> glb (web images)
  • multiple files
  • custom basisu compression flags
  • custom gltf-pipeline flags

Use cases

Unity gltf pipeline:

See sample project

Blue Pill Usage

Prerequisites

  1. docker

Test

make docker-test

makefile -> check it

Red Pill Usage

Prerequisites

  1. build basisu -> check it

  2. install gltf-pipeline -> check it

  3. Install PyPI package

pip install --user gltf-helper

Test

make cli-test
gltf-helper --help

Usage: main.py [OPTIONS] COMMAND [ARGS]...

  glb/gltf(web images) -> glb(basis images)

  A CLI to convert gltf/glb assets with png/jpg textures into glb assets
  with embedded basis/ktx2 textures.

  Made with typer -> [check it](https://github.com/tiangolo/typer)

Options:
  --install-completion  Install completion for the current shell.
  --show-completion     Show completion for the current shell, to copy it or
                        customize the installation.

  --help                Show this message and exit.

Commands:
  convert     Convert a glb/gltf(web images) -> glb(basis images)
  expand-glb  Expand a glb

CLI readme -> check it

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gltf-helper-0.2.6.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

gltf_helper-0.2.6-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page