marselo-4/TotAuto / .claude/skills/blender-web-pipeline
blender-web-pipeline
VerifiedBlender to web export workflows for 3D models and animations. Use this skill when exporting Blender models to glTF for web, optimizing 3D assets for Three.js or Babylon.js, batch processing models with Python scripts, automating Blender workflows, or creating web-ready 3D pipelines. Triggers on tasks involving Blender glTF export, bpy scripting, 3D asset optimization, model compression, texture baking, or Blender automation. Exports models for threejs-webgl, react-three-fiber, and babylonjs-engine skills.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 16.4 KB |
| assets/README.md | markdown | 841 B |
| references/bpy_api_reference.md | markdown | 1.8 KB |
| references/gltf_export_guide.md | markdown | 3.7 KB |
| references/optimization_strategies.md | markdown | 1.5 KB |
| scripts/batch_export.pyexecutable | script | 967 B |
| scripts/generate_lods.pyexecutable | script | 913 B |
| scripts/optimize_model.pyexecutable | script | 720 B |
references/optimization_strategies.md
View on GitHub# 3D Model Optimization Strategies
Advanced optimization techniques for web-ready 3D models.
## Polygon Reduction
### 1. Decimate Modifier (Automatic)
Best for: Organic shapes, detailed models
```python
decimate = obj.modifiers.new(name='Decimate', type='DECIMATE')
decimate.ratio = 0.5 # 50% reduction
decimate.use_collapse_triangulate = True
```
### 2. Manual Retopology
Best for: Character models, hero assets
- Tools: Quad Draw, PolyBuild, Shrinkwrap modifier
- Target: Clean edge loops, optimized topology
### 3. Normal Map Baking
Best for: Static props, architecture
```python
# Bake high-poly detail to normal map
# Apply to low-poly model in web engine
```
## Texture Optimization
### 1. Texture Atlasing
Combine multiple textures into one large texture
Benefits:
- Fewer draw calls
- Better performance
- Smaller total file size
### 2. Texture Compression
- Use JPEG for diffuse maps (lossy, smaller)
- Use PNG for alpha/normal maps (lossless)
- Target resolution: 512-1024px
### 3. MIP Mapping
Auto-generated by web engines
- Smaller textures for distant objects
- Better performance, reduced aliasing
## File Size Reduction
Target sizes:
- Small props: <100 KB
- Character models: 500 KB - 1 MB
- Environment assets: 1-5 MB
Strategies:
1. Draco compression (60-90% reduction)
2. Lower texture resolution
3. JPEG instead of PNG
4. Reduce polygon count
5. Remove unused data
## Performance Targets
- Triangles: <50,000 per model
- Draw calls: Minimize (texture atlases, instancing)
- Texture memory: <50 MB total
- Load time: <2 seconds
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |