3d asset production

From calesthio/generative-media-skills · View interactive version

3d asset production is an AI agent skill from the GitHub repository calesthio/generative-media-skills. Use this skill to turn generated, captured, scanned, or modeled 3D output into production-ready standalone assets for DCC, real-time engine, web, or interchange delivery. It covers requirements, topology repair, scale and axes, UVs, PBR baking, LODs, static and skeletal readiness, rig handoff, optim

How to use this skill

Skill file

3D Asset Production

This skill is for finishing an asset so another artist, engine, viewer, marketplace, configurator, game, AR app, or renderer can actually use it. The input may be generated mesh output, photogrammetry, NeRF/GSplat-derived mesh, scan cleanup, sculpt, CAD-derived polygon export, hand-modeled geometry, or a kitbashed draft. The output is a documented, validated asset package with predictable geometry, scale, materials, texture maps, LODs when needed, and provenance.

Use it when the user asks for asset prep, retopology, cleanup, optimization, baking, UVs, PBR textures, LODs, rig handoff, static mesh delivery, skeletal mesh readiness, game-ready assets, web-ready assets, GLB/glTF/USD/FBX export, DCC-to-engine delivery, or QA of a 3D model.

Do not use it for:

Start With The Delivery Contract

Before touching topology, define the asset's consumer. A beautiful mesh is still a failed delivery if the receiving engine cannot load its textures, its unit scale is wrong, or the rigging team cannot bind it.

Ask for or infer these requirements:

Treat unknown target requirements as a risk, not as permission to guess. If the user cannot specify budgets, create a defensible baseline and label it as a proposed budget.

Evidence Classes

This skill uses three kinds of claims:

Documented Facts To Anchor Decisions

Production Heuristics That Usually Hold

Intake Triage

Classify the source before deciding the repair path.

Generated Mesh Output

Common traits: uneven tessellation, fused parts, non-manifold pockets, noisy normals, arbitrary scale, missing UV intent, baked colors instead of material logic, plausible silhouette with weak mechanical construction.

Best path:

  1. Freeze a source archive and record generation provider/model/settings if known.
  2. Decide whether the mesh is a concept reference, a high-poly bake source, or a direct cleanup candidate.
  3. If topology is chaotic but shape is valuable, retopologize rather than decimate-only.
  4. Rebuild UVs and PBR maps from the approved surface appearance.
  5. Validate by import, not by visual inspection in the generator's viewer.

Captured Or Scanned Output

Common traits: high density, holes, scan shadows, texture-lighting baked into albedo, fragile thin surfaces, scale drift, scan table/floor debris.

Best path:

  1. Preserve raw scan/photogrammetry source.
  2. Establish real scale from a measured feature or calibration object.
  3. Remove debris and reconstruct missing geometry only where physically justified.
  4. Build clean retopology or optimized decimation depending on role.
  5. De-light textures if the asset must respond to new lighting.

Modeled Or Sculpted Output

Common traits: cleaner intent, possible unapplied transforms/modifiers, hidden high-poly details, overlapping UV shells, unsupported procedural materials.

Best path:

  1. Apply/export only intentional transforms and modifiers.
  2. Keep authoring file with non-destructive layers where useful.
  3. Bake high-poly or procedural detail to maps for runtime targets.
  4. Validate normals, tangents, UV sets, pivots, and unit scale after export.

CAD-Derived Polygon Output

Common traits: exact design intent but unsuitable tessellation, many parts/material IDs, tiny bevels, n-gon/trim conversion artifacts, real-world units.

Best path:

  1. Do not claim manufacturing exactness after polygon conversion.
  2. Retain CAD as provenance/reference if licensed.
  3. Tessellate with chord/angle tolerances appropriate to the viewing distance.
  4. Merge or instance repeated parts where runtime permits.
  5. Rebuild materials as renderable PBR approximations.

Geometry And Topology Repair

The goal is not a theoretically perfect mesh; it is a mesh whose topology supports the intended rendering, deformation, collision, LOD, and editing tasks.

Minimum repair checklist:

Retopology decision:

Topology QA:

Scale, Axes, Origin, Pivots, And Naming

Scale errors are expensive because they propagate into physics, animation, camera framing, lighting, AR placement, and UI fit.

Set and document:

For glTF delivery, remember the documented coordinate and unit contract: right-handed, +Y up, +Z forward, meters. If the authoring DCC or engine uses a different convention, explicitly test the exporter/importer conversion.

UV Strategy

UVs are a delivery system for texture resolution, seams, baking, and material reuse.

Choose UV layout by asset role:

UV QA:

PBR Materials, Baking, And Texture Packaging

Build material output from the target shading model, not from whatever the source happened to contain.

Common PBR map set:

Baking sequence:

  1. Lock the low-poly mesh, smoothing groups/custom normals, UVs, and cage before final bakes.
  2. Bake normal, AO, curvature, thickness, position, ID/material masks, and any height/displacement needed for texturing.
  3. Check skewing, waviness, projection misses, cage intersections, and mirrored tangent seams.
  4. Re-bake after topology, UV, or normal changes; do not patch a normal map to hide a changed mesh unless the change is purely local and verified.
  5. Export maps with documented color space and channel packing.

glTF-specific material delivery:

Material QA:

LODs And Optimization

LOD work is not only triangle reduction. It is controlled visual loss with stable material, tangent, skinning, and collision behavior.

LOD planning:

Optimization order for real-time meshes often follows this logic:

  1. Clean/weld topology and index the mesh.
  2. Finalize UVs, normals, tangents, vertex colors, material IDs, and skin weights.
  3. Generate LODs or use asset-specific manual LODs for hero/deforming meshes.
  4. Optimize index order for vertex cache and vertex fetch where the runtime benefits.
  5. Quantize or compress only after visual validation at target distance.
  6. Validate in the target engine or viewer after compression/extension use.

Heuristic budgets depend heavily on camera distance, platform, shader cost, and project style. If the user has no budget, propose ranges rather than universal counts:

Use analyzers and target profiling when available. meshoptimizer's analyzers can estimate vertex cache, vertex fetch, and overdraw behavior, but its own documentation notes that precise performance must be measured on target GPU.

Static Mesh Readiness

A static mesh package should be ready to place, instance, collide, light, and render.

Static readiness checklist:

Skeletal Mesh And Rig Handoff Readiness

This skill prepares assets for rigging or import; it does not replace a rigger.

Skeletal readiness checklist:

For glTF skinning, check that JOINTS_n and WEIGHTS_n sets are paired, joint indices are valid, and weight sums are valid for the chosen component type. For Unity, decide None/Generic/Humanoid and root node behavior. For Unreal, validate FBX skeletal import, Skeleton asset creation, morph target import if needed, and animation compatibility.

Rig handoff package:

Format Selection And Interchange

Pick formats by what must survive, not by popularity.

glTF / GLB

Use when the asset is meant for runtime delivery, web, AR preview, lightweight exchange, or broad viewer compatibility. Prefer .glb for single-file handoff and .gltf with external resources when texture/buffer separation helps asset management.

Strengths:

Risks:

USD / USDZ

Use when the asset belongs in a composed DCC/film/VFX pipeline, needs references, variants, layers, payloads, primvars, material networks, or AR platform packaging via USDZ.

Strengths:

Risks:

FBX

Use when the target DCC/engine pipeline expects FBX for static meshes, skeletal meshes, animation clips, morph targets, or legacy interoperability, especially Unity and Unreal workflows.

Strengths:

Risks:

Source DCC Package

Use when the user needs future edits. Include .blend, .ma/.mb, .max, .hip, .c4d, .spp, .ztl, or project-native files only when licensing and recipient tooling permit.

Strengths:

Risks:

Delivery Package Pattern

For a production-ready standalone asset, deliver a package like:

If the user explicitly requests only two files or a single final asset, still preserve the same information inside a readme section, asset metadata, or response summary as appropriate.

Validation And QA

Validation has three layers: structural, visual, and production-use.

Structural validation:

The bundled scripts/inspect_gltf.py helper is a bounded preflight, not a conformance validator. Use it to safely read .gltf JSON or the JSON chunk of a GLB v2 container; check GLB header, declared length, chunk order, chunk truncation, JSON chunk parsing, and the first BIN chunk relationship; inventory scenes, nodes, meshes, primitives, materials, textures, images, animations, skins, cameras, accessors, buffers, bufferViews, and samplers; reject absolute, traversal, outside-root, scheme/query/fragment, and missing local external buffer/image URIs; record and size-check data URIs; and catch common index-reference mistakes across default scenes, scene nodes, node mesh/skin/camera/children, mesh primitive accessors/materials/morph targets, material texture infos, textures/images/samplers, buffers/bufferViews/accessors, skins, and animation samplers/channels.

Always follow a clean preflight with Khronos glTF Validator for full glTF correctness, binary accessor data, image content, sparse accessors, extension behavior, NaN/Infinity and numeric constraints, and complete schema coverage. Then import the asset into the receiving DCC, engine, or viewer for visual/material/animation QA. A clean preflight only says the package is structurally plausible and its local dependencies are safe to read.

Visual validation:

Production-use validation:

Common disqualifying failures:

Rights, Consent, And Provenance

Every asset needs a production provenance record.

Record:

Do not remove copyright notices, creator metadata, or license files just to make the package cleaner. If provenance is incomplete, label the asset as not cleared for distribution.

Example: Generated Chair To Web-Ready GLB

This is an example, not a required formula.

Production intent: Convert a generated modern lounge chair mesh into a web product configurator asset.

Inputs and constraints:

Workflow:

  1. Archive source OBJ and record generator, prompt, seed/settings, and date if available.
  2. Measure target dimensions; scale model so chair height is 0.82 m and seat sits on floor plane.
  3. Rebuild topology as static low-poly mesh with clean silhouette and separate cushions/frame only if material separation requires it.
  4. Remove interior hidden surfaces and fused debris under cushions.
  5. Create UV0 with non-overlapping shells, consistent texel density, seams hidden under cushion edges and frame backs.
  6. Bake normals and AO from original high-poly source onto cleaned mesh.
  7. Author PBR material: fabric base color, roughness variation, metal frame metallic=1, roughness adjusted by reference images.
  8. Pack glTF metallic-roughness texture with roughness in G and metalness in B; export base color as sRGB and data maps as linear.
  9. Generate LOD1/LOD2 or rely on runtime simplification only if viewer supports it; test transitions if included.
  10. Export GLB and validate with glTF Validator.
  11. Open GLB in the actual web viewer and inspect scale, material response, texture seams, and file size.

Expected result:

Likely failure modes:

Meaningful variations:

Example: Photogrammetry Statue To Engine Prop

This is an example, not a required formula.

Production intent: Convert a photogrammetry statue scan into a static Unreal and Unity prop.

Inputs and constraints:

Workflow:

  1. Preserve raw scan, camera set, and reconstruction metadata.
  2. Confirm capture permissions and label redistribution status as internal-only if clearance is missing.
  3. Establish scale from measured plinth height; set pivot at bottom center of plinth.
  4. Remove floor/table artifacts and fill holes where the statue should be continuous.
  5. Build a clean render mesh by retopology or controlled decimation, protecting face, hands, silhouette, and carved edges.
  6. Create UV0 for baked maps and UV1 for lightmaps if the target engine/project requires it.
  7. De-light diffuse texture or repaint base color to remove capture shadows and highlights.
  8. Bake normal, AO, and curvature from scan to render mesh.
  9. Generate LODs with silhouette preservation and validate transitions in both engines.
  10. Build simple convex or custom collision proxy that matches plinth/body enough for gameplay.
  11. Export FBX using target engine settings; import into clean Unreal and Unity projects and capture screenshots.

Expected result:

Likely failure modes:

Meaningful variations:

Example: Character Outfit Mesh For Rig Handoff

This is an example, not a required formula.

Production intent: Prepare a generated jacket mesh for rigging onto an existing humanoid character.

Inputs and constraints:

Workflow:

  1. Align jacket to the approved character body in bind pose; freeze transforms only after alignment is verified.
  2. Remove hidden inner geometry unless needed for open collar/cuffs.
  3. Retopologize with loops around shoulders, elbows, cuffs, hem, and collar; keep zipper/buttons as separate meshes if they should be rigid or swapped.
  4. Create UVs with seams along garment construction lines and hidden underside areas.
  5. Bake fabric weave and seam detail from high-poly/generated source to normal/AO maps.
  6. Name meshes/materials predictably: jacket_body, zipper_teeth, button_L/R, mat_jacket_fabric, etc.
  7. Transfer/prototype skin weights from body or guide rig, then normalize and cap to target influence count.
  8. Test arm raise, elbow bend, torso twist, crouch, and collar/head contact.
  9. Deliver source DCC file, FBX test export, textures, bind-pose notes, weight problem areas, and rigging assumptions.

Expected result:

Likely failure modes:

Meaningful variations:

Source Notes

Sources verified on 2026-07-11 unless otherwise noted.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.