Spaces:
Sleeping
Sleeping
File size: 1,086 Bytes
346b70f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# 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 processing
- `src.convert_meshes()` - Core conversion API
## Dependencies
- Internal: src module
- External: trimesh, gradio, PIL, numpy, scikit-learn, requests
|