Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
6.1.0
Mesh Palettizer
Web application for simplifying 3D model textures with optimized color palettes
Purpose
- Convert GLB/GLTF models to use palettized textures
- Provide web interface for batch processing
- Support file uploads and URL downloads for model inputs
- Generate clean, simplified textures for stylized rendering
Layout
conversion/
βββ context.md # This file
βββ app.py # Gradio web interface
βββ src/ # Core conversion library
β βββ context.md # Library context
βββ examples/ # Example GLB models
β βββ Duck.glb
β βββ Lantern.glb
βββ requirements.txt # HF Spaces dependencies
Scope
- In-scope: GLB/GLTF processing, batch operations, web interface
- Out-of-scope: Direct Unity integration, texture detail preservation
Entrypoints
app.py- Web interface with example models and batch processingsrc.convert_meshes()- Core conversion API
Dependencies
- Internal: src module
- External: trimesh, gradio, PIL, numpy, scikit-learn, requests