feat(web): trace token shape and texture the whole mesh

TokenViewer now traces the image's alpha channel via /trace and extrudes the silhouette with @tts/mesh, aligning the texture using the full image as the UV framing. The texture is applied to the whole mesh (top, back, and walls) instead of separate solid-white walls.
This commit is contained in:
2026-08-08 15:12:11 +08:00
parent 21fc1b29c1
commit a4759be5ac
5 changed files with 166 additions and 6 deletions
+1
View File
@@ -21,6 +21,7 @@
"@tts/extract": "workspace:*",
"@tts/mesh": "workspace:*",
"@tts/shared": "workspace:*",
"bson": "^7.3.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-router-dom": "^7.18.2",