All skills
freshtechbro avatar

/blender-web-pipeline

@1da73fe

Blender 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.

Use this Skill: https://skilld.dev/gh/freshtechbro/claudedesignskills/blender-web-pipeline

This session only. Nothing lands on disk.

referencesoptimization_strategies.md

≈391 tokens on demand. Your agent reads this file only when SKILL.md points to it.

3D Model Optimization Strategies

Advanced optimization techniques for web-ready 3D models.

Polygon Reduction

1. Decimate Modifier (Automatic)

Best for: Organic shapes, detailed models

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

# 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

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is generally safe for its intended purpose of Blender asset automation, but it possesses a minor risk surface for indirect prompt injection via batch file processing and uses dynamic script generation for command-line automation.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer7mo

    1/8 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 1da73fe. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 11 months ago

README badge

README badge for freshtechbro/claudedesignskills/blender-web-pipeline