Skip to main content

No project description provided

Project description

GLTF Helper

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

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

Features

System

  • 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

Use cases

Unity gltf pipeline:

See sample project

Usage

Blue Pill Usage

Test

docker run -t \
    -v $(pwd)/samples:/samples \
    beamm/gltf-helper convert \
        /samples/Avocado/avo.gltf/asset.gltf \
        /samples/Avocado/avo_binary.glb \
    -bf "-y_flip" \
    --tag basisutest

Help

docker run -t \
    -v $$(pwd)/samples:/samples \
    beamm/gltf-helper --help

TIP: Checkout makefile for other useful commands

Red Pill Usage

  1. build basisu -> check it

  2. install gltf-pipeline -> check it

pip install --user gltf-helper
  1. 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.2.tar.gz (7.7 kB view hashes)

Uploaded Source

Built Distribution

gltf_helper-0.2.2-py3-none-any.whl (8.2 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