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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gltf-helper-0.2.6.tar.gz.

File metadata

  • Download URL: gltf-helper-0.2.6.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.5 Darwin/19.6.0

File hashes

Hashes for gltf-helper-0.2.6.tar.gz
Algorithm Hash digest
SHA256 1e62f9e0989b8cbc2142e5d7c6bcc553e5b43ac8c93944ce778a7968b4cddd94
MD5 d89c1c7fedfb95ea16fb97bb6b3c46a8
BLAKE2b-256 95386de79f6e8a42ec6b8aa90ee02367c055cfdb5257aec789f6d94757faf766

See more details on using hashes here.

File details

Details for the file gltf_helper-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: gltf_helper-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.10 CPython/3.7.5 Darwin/19.6.0

File hashes

Hashes for gltf_helper-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3ac7dc15415e7f9fa7d2445a7e4424b52402e8f912b876c5dfb3c92aa464d110
MD5 48ae9d8dd4315e5c8d6855dbb8e7b478
BLAKE2b-256 8ba9a29044d66cbeeece6348a76f03876da6c130f7641ffc97e59ca4520816c2

See more details on using hashes here.

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