Files
tattoo-test/_v4-pipeline-preview.html
Can Narin ce4c4e7d13 Tattoo test bed: Quaternius v3-v6 bakes + Lena pipeline (bake, de-mirror, re-UV, viewers)
Session 2026-07-23/24 additions on top of the existing Quaternius bed:
- bake_lena.gd: 6-piece bake on QuatSkin Lena (chiefs-mark/iron-spine arms,
  voyagers/storm-bearer legs, star-eye chest, hearth-warmth back); global-axis
  wrap frame + 3cm junction blend kill the elbow split line
- demirror_lena.gd: tri-level split of mirror-shared limb UVs (arms 100%->0%,
  legs 99%->5% crotch-only residual)
- reuv_lena.gd: Quaternius-style semantic re-UV (16 islands, cylinder limbs +
  cylinder head/torso with planar caps) + texture transfer; fixes armpit/chin/
  cheek planar smears; single 4096 atlas, per-side tattoos native
- main_lena / anim_lena viewers (18 UAL clips, U light toggle) + probes + shots

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-24 00:47:12 +03:00

62 lines
4.0 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Tattoo v4 pipeline — mask-fitted marks</title>
<style>
body { background:#0a0a0f; color:#e8e0d4; font-family:Segoe UI,sans-serif; margin:0; padding:32px; }
h1 { color:#c9935a; font-size:22px; }
h2 { color:#c9935a; font-size:16px; margin-top:36px; border-bottom:1px solid #2a2a33; padding-bottom:6px; }
p { max-width:900px; line-height:1.5; color:#b8b0a4; }
.row { display:flex; flex-wrap:wrap; gap:14px; margin-top:12px; }
.cell { background:#14141c; border:1px solid #2a2a33; border-radius:8px; padding:10px; text-align:center; }
.cell img { display:block; border-radius:4px; }
.cell .cap { font-size:12px; color:#9a927f; margin-top:6px; }
.big img { width:460px; height:460px; image-rendering:auto; }
.med img { width:300px; height:300px; }
.sm img { width:220px; height:220px; }
.status { display:inline-block; background:#3a2a1a; color:#e0a050; border:1px solid #5a4020; border-radius:4px; padding:4px 10px; font-size:13px; margin-top:8px; }
</style>
</head>
<body>
<h1>Tattoo v4 — fitting marks to the Quaternius body (pipeline preview)</h1>
<p>The v3 marks looked incomplete because they were generated as free-standing art and 3D-projected
onto the body. v4 flips it: we cut the <b>exact UV island of each body part</b> from the model and
generate the design <b>inside that silhouette</b>, so ink coverage reaches every edge by construction.</p>
<div class="status">⏳ Waiting on fal.ai top-up → then: generate 6 marks → composite → re-render shots</div>
<h2>1 · The exact shapes Quaternius uses (UV template, color = body part)</h2>
<div class="row">
<div class="cell big"><img src="uv_template.png"><div class="cap">uv_template.png — arms salmon/blue, legs gold/green, torso cream, hands/feet/head separate</div></div>
<div class="cell big"><img src="baked_body.png"><div class="cap">baked_body.png — current v3 bake: ink misses island edges, tapers early, seams on inner limbs</div></div>
</div>
<h2>2 · Per-part masks cut from the model (white = tattooable skin)</h2>
<div class="row">
<div class="cell sm"><img src="masks/mask_arm_r.png"><div class="cap">arm_r — shoulder→wrist</div></div>
<div class="cell sm"><img src="masks/mask_arm_l.png"><div class="cap">arm_l</div></div>
<div class="cell sm"><img src="masks/mask_leg_r.png"><div class="cap">leg_r — shorts hem→ankle</div></div>
<div class="cell sm"><img src="masks/mask_leg_l.png"><div class="cap">leg_l</div></div>
<div class="cell sm"><img src="masks/mask_chest.png"><div class="cap">chest — front plate</div></div>
<div class="cell sm"><img src="masks/mask_back.png"><div class="cap">back — back plate</div></div>
</div>
<h2>3 · Gen canvases (GPT Image 2 fills the parchment silhouette edge-to-edge)</h2>
<div class="row">
<div class="cell med"><img src="gen-v4/canvas_arm_r.png"><div class="cap">arm_r → chiefs-mark</div></div>
<div class="cell med"><img src="gen-v4/canvas_arm_l.png"><div class="cap">arm_l → iron-spine</div></div>
<div class="cell med"><img src="gen-v4/canvas_leg_r.png"><div class="cap">leg_r → voyagers-current</div></div>
<div class="cell med"><img src="gen-v4/canvas_leg_l.png"><div class="cap">leg_l → storm-bearer</div></div>
<div class="cell med"><img src="gen-v4/canvas_chest.png"><div class="cap">chest → star-eye</div></div>
<div class="cell med"><img src="gen-v4/canvas_back.png"><div class="cap">back → hearth-warmth</div></div>
</div>
<h2>4 · Where v3 falls short on the model (why this rework)</h2>
<div class="row">
<div class="cell med"><img src="shots/05_arm_r_chiefs_mark.png"><div class="cap">sleeve tapers off mid-forearm (sparse design bottom)</div></div>
<div class="cell med"><img src="shots/07_leg_r_voyagers_front.png"><div class="cap">bare seam stripes down the inner shins (wrap seam)</div></div>
<div class="cell med"><img src="shots/03_chest_star_eye.png"><div class="cap">chest piece clipped at the sides (planar projection)</div></div>
</div>
</body>
</html>