Skip to content
FramesField
SKILL.md Developer / Local Tooling SKILL.md
Verified Nov 30, 2026

Image-to-3D GLB Mesh and Blender Prep Skill

How to install this SKILL.md

Install into .claude/skills/, .cursor/skills/, or .agents/skills/ when automating Image-to-3D product viewers, Shopify/WebGL GLB packaging, or Blender studio renders.

Installable SKILL.md teaching Claude Code, Cursor, and Codex how to prepare clean front-elevation reference stills for Tripo 3D ($0.30) or Meshy 3D (~$0.60), validate downloaded GLB topology, decimate high-poly meshes cleanly under 30k triangles for web viewers, pack WebP/KTX2 PBR textures, and hand off to Blender MCP.

Compatible agent hosts
Claude Code Cursor Codex
Target tool: Tripo 3D / Meshy 3D / Blender GLB · License: MIT
  1. STEP 01
    Install the Image-to-3D GLB skill

    Pick Claude Code, Cursor, or Codex below to download SKILL.md from /raw/skills/.

  2. STEP 02
    Start from a clean orthographic 2D studio image

    Agent validates flat lighting and clean silhouette before sending to Tripo 3D ($0.30) or Meshy 3D (~$0.60).

  3. STEP 03
    Optimize GLB for web (<2 MB) or Blender

    Enforces metric scale, centered origin pivot, <30k web triangles, and instant WebP LCP poster fallback.

1. Install for your tool

Pick the app you use below for the exact verified command or config—zero manual guessing.

Direct raw file (SKILL.md) ↓
Claude Code (.claude/skills/) bash
Installs into .claude/skills/image-to-3d-glb-pipeline/SKILL.md for 3D product & game asset hygiene.
mkdir -p .claude/skills/image-to-3d-glb-pipeline
curl -fsSL https://framesfield.com/raw/skills/image-to-3d-glb-asset-pipeline-skill -o .claude/skills/image-to-3d-glb-pipeline/SKILL.md

2. Inspect or download the full SKILL.md file

This is the exact raw file served at /raw/skills/image-to-3d-glb-asset-pipeline-skill.

Image-to-3D GLB Mesh and Blender Prep Skill SKILL.md
---
name: image-to-3d-glb-pipeline
description: Prepare clean orthographic reference stills for Tripo 3D or Meshy 3D Image-to-3D generation, optimize resulting .glb PBR meshes (metric scale, origin pivot, <=30k web triangles, Draco/WebP compression under 2 MB), and wire zero-LCP-regression web 3D viewers or Blender MCP studio renders.
---

# Image-to-3D GLB Mesh & Web/Blender Prep Protocol

Whenever generating, inspecting, optimizing, or embedding AI 3D assets (`.glb` / `.fbx`) from Tripo 3D or Meshy 3D, enforce this end-to-end technical pipeline:

## 1. Pre-Generation 2D Input Gate (Critical for Clean 3D Geometry)
AI 3D reconstruction fails whenever the input still contains dramatic shadows, cluttered rooms, or extreme wide-angle distortion. Before calling Tripo 3D (`$0.30` std textured GLB) or Meshy 3D (`~$0.60` textured GLB):
- Supply an **isolated front-elevation or clean 3/4 studio still** on pure matte white or transparent alpha (isolated via `Bria RMBG` background removal, or generated cleanly via `FLUX 3 Image`, `Seedream 5.5` RGBA PNG, `Ideogram 4.6` transparent mode, or `GPT-Image-2.6`).
- Ensure flat, even `5600K` lighting so baked shadows do not permanently paint dark streaks onto the albedo PBR texture map (on Tripo 3D Texture v3.5 default, pass `delight` to strip residual directional shadows cleanly).
- Choose explicit topology add-ons only when needed: keep standard GLB for web spin viewers; request **Quad FBX** (`+$0.05` Tripo / Meshy quad mode) only when artists will subdivide or sculpt in Blender/ZBrush; request **Low-Poly** (`+$0.10` Tripo) for real-time mobile games; use **Meshy-7.1** when biped or quadruped auto-rigging is needed.
- **Immediate Local Archive:** Always download and persist Tripo 3D outputs immediately after task completion—Tripo enforces **7-day server retention** on generated files.

## 2. Web Delivery Compression & Inspection (`gltf-transform`)
Raw AI-generated `.glb` files commonly ship at `8–25 MB` with uncompressed 4K PNG textures that stall mobile browsers. Optimize every web `.glb` cleanly before embedding:
```bash
# Inspect triangle count, texture dimensions, and file size
npx @gltf-transform/cli inspect ./raw/product.glb

# Compress geometry (Meshopt/Draco) and convert embedded textures to 1024px WebP (<2 MB target)
npx @gltf-transform/cli optimize ./raw/product.glb ./public/models/product.glb \
  --compress meshopt \
  --texture-compress webp \
  --texture-size 1024
```
Target limits for web e-commerce viewers:
- **File size:** `<= 2.0 MB` compressed `.glb` (ideal `< 1.2 MB`).
- **Triangle budget:** `<= 30,000` triangles for interactive hero SKUs (`<= 10,000` for grid items).
- **Pivot & Scale:** Bottom-center origin `(0, 0, 0)` resting cleanly on floor plane `Y = 0` in real-world meters (`glTF` spec).

## 3. Zero-LCP-Regression Web Embedding Rule
Never eagerly hydrate Three.js or `<model-viewer>` blocking initial page render:
- Render an instant sharp static **WebP poster image** matching the exact initial 3D camera angle (`poster="/images/product-hero.webp"` with explicit `width`/`height`).
- Set `reveal="interaction"` or lazy-initialize WebGL via `IntersectionObserver` only when scrolled into view, and provide keyboard/button fallback controls.

## 4. Blender MCP Studio Handoff
When routing the GLB into Blender via Blender MCP (`Skill 17`) for orthographic catalog stills or turntable video loops, verify real-world scale, disable harsh auto-baked specular overrides, apply a neutral 3-point softbox HDRI/area rig, and export lossless PNG frames.

3. Test it right away (sample prompt & result)

Sample prompt / input
"Inspect raw/ceramic-kettle.glb exported from Tripo 3D, compress textures to 1024px WebP under 1.5 MB via gltf-transform, and embed it with a static WebP poster fallback in ProductViewer.astro."
What happens when it runs
- Audits raw/ceramic-kettle.glb (14.8 MB, 4096px PNG textures, 48k tris) -> compresses cleanly to 1.18 MB meshopt + 1024px WebP GLB.
- Emits lazy-loaded <model-viewer> block paired with crisp static WebP poster (CLS = 0, fast mobile LCP).

What you need & known limits

Requirements

  • Tripo 3D ($0.30/GLB) or Meshy 3D (~$0.60/GLB) account, or local .glb input file
  • Node.js with @gltf-transform/cli (for web GLB optimization) and optional Blender MCP (Skill 17)

Watch out for

  • Never embed raw 15–25 MB uncompressed AI GLB files straight onto a storefront—always resize textures to 1024px WebP and apply meshopt/Draco compression
  • Avoid feeding images with baked heavy cast shadows into Image-to-3D APIs; flat studio illumination (plus Tripo Texture v3.5 delight) produces clean relightable PBR albedo maps
  • Download and archive Tripo 3D GLB/FBX files right after generation—Tripo enforces a 7-day server retention window

Frequently Asked Questions

Should I pick Tripo 3D or Meshy 3D for product catalog GLB models?
Compare both side by side on our live comparison sheet (/specs/compare/meshy-3d-vs-tripo-3d). Tripo 3D starts at $0.30 for a standard Texture v3.5 GLB (with delight and modular +$0.05 Quad FBX / +$0.20 Segmented Parts add-ons; archive promptly due to 7-day retention), while Meshy 3D (Meshy-7.1, ~$0.60 at Pro rates) shines for multi-view ideation, built-in biped and quadruped auto-rigging, and refunded failed tasks.
Why require a static WebP poster image before loading a 3D GLB viewer?
Loading a WebGL engine plus a 1.5 MB GLB mesh during initial page paint hurts Largest Contentful Paint (LCP) and mobile battery. Showing a matching 60 KB WebP poster immediately keeps initial load instantaneous while letting interested shoppers spin the 3D object on demand.
Use this page in AI tools or notes
raw .md