Commit Graph

88 Commits

Author SHA1 Message Date
Yousef Rafat
0bae96f2dd package the trellis2 resolution
instead of taking it as an input from the user
2026-05-14 21:42:52 +03:00
Yousef Rafat
3d5f9aead7 shape_structure and tooltip 2026-05-14 20:37:58 +03:00
Yousef Rafat
efc5141fb0 ux improvements 2026-05-14 18:46:33 +03:00
Yousef Rafat
693a34f447 bar 2026-05-14 16:26:38 +03:00
Yousef Rafat
5fde70e5f4 bar and tooltips 2026-05-14 16:04:27 +03:00
Yousef Rafat
e94cad71ca updates for naming 2026-05-14 15:37:02 +03:00
Yousef Rafat
f78a20271a vertex_colors 2026-05-14 15:12:12 +03:00
Yousef Rafat
d2b97b510c remove triton version 2026-05-14 15:07:50 +03:00
Yousef Rafat
e3a25f1b11 .. 2026-05-14 15:00:05 +03:00
Yousef R. Gamaleldin
5046b7adaf
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:56:05 +03:00
Yousef R. Gamaleldin
4292687e8d
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:55:27 +03:00
Yousef R. Gamaleldin
666944f974
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:55:05 +03:00
Yousef R. Gamaleldin
76c2a958c9
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:54:50 +03:00
Yousef R. Gamaleldin
b75c392509
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:54:35 +03:00
Yousef R. Gamaleldin
f6a0dc6ed8
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:54:20 +03:00
Yousef R. Gamaleldin
a9518f0293
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:54:07 +03:00
Yousef R. Gamaleldin
e800d12bb1
Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:52:35 +03:00
Yousef Rafat
ba7f390052 optimizing the simplify fn 2026-05-12 20:40:10 +03:00
Yousef Rafat
9d0f678f6f removing seeds from node display 2026-05-08 19:03:06 +03:00
Yousef Rafat
94adce93ab update the simplify function 2026-05-08 15:13:07 +03:00
Yousef Rafat
b29edb0ec4 removed test files 2026-04-24 01:30:31 +03:00
John Pollock
8816699e7c Address Trellis VAE decode review feedback 2026-04-20 22:10:15 -05:00
John Pollock
c1fa56251e Merge remote-tracking branch 'origin/issue_73' into issue_80
# Conflicts:
#	comfy_extras/nodes_trellis2.py
2026-04-20 22:04:24 -05:00
John Pollock
f15bf73d5c Fix Trellis VAE decode memory management 2026-04-20 20:39:08 -05:00
John Pollock
634cae5a31
Merge pull request #13 from pollockjj/issue_94
Trellis2: make textured mesh simplification deterministic
2026-04-20 17:57:01 -07:00
John Pollock
597adfce3f fix: stabilize Trellis2 mesh simplification 2026-04-20 17:22:31 -05:00
John Pollock
939ac7ebb4 Omit null batch_index from Trellis upsample output 2026-04-20 17:20:57 -05:00
John Pollock
90ebb50f00 Harden Trellis sparse latent seeding 2026-04-20 16:05:10 -05:00
John Pollock
0b99c8c44a Fail loud on Trellis invalid batch metadata 2026-04-20 15:50:40 -05:00
John Pollock
a752dd4736 Harden Trellis sparse metadata validation 2026-04-20 14:46:23 -05:00
John Pollock
7d98cc1305 Fix Trellis seeded sparse batch semantics 2026-04-20 14:29:07 -05:00
John Pollock
49c1adeed6 Fix Trellis PR review regressions 2026-04-20 12:15:49 -05:00
John Pollock
c81ddf2349 Fix Trellis2 batched shape and texture semantics 2026-04-20 11:06:04 -05:00
John Pollock
9cfa8f2c01 Trellis2: inline batched mesh helpers 2026-04-19 23:47:57 -05:00
John Pollock
40219ab0fc Trellis2: share batched mesh helpers 2026-04-19 23:33:09 -05:00
John Pollock
c297a9f839 Trellis2: handle empty and batched texture paint paths 2026-04-19 23:23:24 -05:00
John Pollock
6d99b636c1 Trellis2/Hunyuan3d: preserve mesh tensor contract in batch mode 2026-04-19 22:55:38 -05:00
John Pollock
44043ee6e5 Trellis2/Hunyuan3d: n>1 batched cascade support
Mesh-producing nodes (VoxelToMeshBasic, VoxelToMesh, VaeDecodeShapeTrellis)
previously stacked per-batch vertex/face tensors with torch.stack, which
failed under batch>1 because per-item meshes have variable shapes. Store
per-item tensors as lists when shapes differ; keep stacked-tensor fast
path when shapes match. Update SaveGLB, PostProcessMesh, and
VaeDecodeTextureTrellis consumers to iterate per-item when input is a
list.

Trellis2Conditioning.execute previously collapsed batched image/mask
input to index 0, yielding identical conditioning for every batch item.
Loop over the batch and produce per-image cond_512/cond_1024/neg_cond
tensors stacked along the batch dim, matching the latent batch size.

batch_size=1 behavior is unchanged. batch_size>1 runs now emit one GLB
per batch item per SaveGLB node and carry per-image conditioning
through the structure/shape/texture cascade.
2026-04-19 22:03:53 -05:00
John Pollock
7c6b237fe8 Match Copilot image_size restore pattern 2026-04-19 21:05:07 -05:00
John Pollock
2ad1ca5531 Handle missing Trellis2 image_size restore state 2026-04-19 20:51:22 -05:00
John Pollock
d7416e5690 Guard full Trellis2 conditioning image_size restore 2026-04-19 20:49:42 -05:00
John Pollock
04099ef605 Restore Trellis2 clip vision image_size state 2026-04-19 19:53:30 -05:00
Yousef Rafat
a1364a7b00 small final change 2026-04-12 20:14:47 +02:00
Yousef Rafat
243691c258 texture fixes 2026-04-10 19:18:14 +02:00
Yousef Rafat
937faafe21 corrected simplification logic 2026-04-10 16:33:19 +02:00
Yousef Rafat
4e14d42da1 comfy ops + color support in postprocess 2026-04-10 16:12:23 +02:00
Yousef Rafat
ea255543e6 structure generation works 2026-04-10 14:24:07 +02:00
Yousef Rafat
2cb06431e8 fix for conditioning 2026-04-07 23:02:33 +02:00
Yousef Rafat
57b306464e texture generation works 2026-04-03 01:22:38 +02:00
Yousef Rafat
72640888ff wrong normalization for the texture node 2026-03-30 23:20:46 +02:00