Commit Graph

95 Commits

Author SHA1 Message Date
Yousef Rafat
f9a63ab2aa remove triton, custom datatype, split mesh postpro 2026-05-20 17:15:33 +03:00
Yousef Rafat
5556b4b341 .. 2026-05-17 23:50:04 +03:00
Yousef Rafat
bea4db2e02 remake 2026-05-16 19:49:51 +03:00
Yousef Rafat
9a1a5c3251 updates 2026-05-16 01:00:55 +03:00
Yousef Rafat
0489025003 custom data types 2026-05-15 22:39:19 +03:00
Yousef Rafat
bd22cb249d structure output -> voxel 2026-05-15 22:33:25 +03:00
Yousef Rafat
4e3c27a9b9 tooltips and more information 2026-05-14 23:03:40 +03:00
Yousef Rafat
84c276c895 package the trellis2 resolution
instead of taking it as an input from the user
2026-05-14 21:42:52 +03:00
Yousef Rafat
fe46f77f1b shape_structure and tooltip 2026-05-14 20:37:58 +03:00
Yousef Rafat
7c055985be ux improvements 2026-05-14 18:46:33 +03:00
Yousef Rafat
bcf5dc898b bar 2026-05-14 16:26:38 +03:00
Yousef Rafat
c6c89911f9 bar and tooltips 2026-05-14 16:04:27 +03:00
Yousef Rafat
82d17dff0e updates for naming 2026-05-14 15:37:02 +03:00
Yousef Rafat
9a619cff21 vertex_colors 2026-05-14 15:12:12 +03:00
Yousef Rafat
d3dacdb173 remove triton version 2026-05-14 15:07:50 +03:00
Yousef Rafat
ba2ca68230 .. 2026-05-14 15:00:05 +03:00
Yousef R. Gamaleldin
bfd9875fef 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
9a06bc0658 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
2199f829ae 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
9db9cf9147 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
37b31be93c 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
8a2a009b99 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
3aba0c565f 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
b5a6c8a1ca Update comfy_extras/nodes_trellis2.py
Co-authored-by: Alexis Rolland <alexis@comfy.org>
2026-05-14 14:52:35 +03:00
Yousef Rafat
edc04765dd optimizing the simplify fn 2026-05-12 20:40:10 +03:00
Yousef Rafat
25209d1b36 removing seeds from node display 2026-05-08 19:03:06 +03:00
Yousef Rafat
e4cf496844 update the simplify function 2026-05-08 15:13:07 +03:00
Yousef Rafat
068c1c23fb removed test files 2026-04-24 01:30:31 +03:00
John Pollock
e8402d94b4 Address Trellis VAE decode review feedback 2026-04-20 22:10:15 -05:00
John Pollock
7e9ee82351 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
3546836091 Fix Trellis VAE decode memory management 2026-04-20 20:39:08 -05:00
John Pollock
da6f3b630f Merge pull request #13 from pollockjj/issue_94
Trellis2: make textured mesh simplification deterministic
2026-04-20 17:57:01 -07:00
John Pollock
de7a811cdd fix: stabilize Trellis2 mesh simplification 2026-04-20 17:22:31 -05:00
John Pollock
0f530ce540 Omit null batch_index from Trellis upsample output 2026-04-20 17:20:57 -05:00
John Pollock
149af779ed Harden Trellis sparse latent seeding 2026-04-20 16:05:10 -05:00
John Pollock
081e7126bd Fail loud on Trellis invalid batch metadata 2026-04-20 15:50:40 -05:00
John Pollock
f309cc1889 Harden Trellis sparse metadata validation 2026-04-20 14:46:23 -05:00
John Pollock
e95be49e69 Fix Trellis seeded sparse batch semantics 2026-04-20 14:29:07 -05:00
John Pollock
032943a065 Fix Trellis PR review regressions 2026-04-20 12:15:49 -05:00
John Pollock
eaf7d708b0 Fix Trellis2 batched shape and texture semantics 2026-04-20 11:06:04 -05:00
John Pollock
e2bbcece02 Trellis2: inline batched mesh helpers 2026-04-19 23:47:57 -05:00
John Pollock
6e45580707 Trellis2: share batched mesh helpers 2026-04-19 23:33:09 -05:00
John Pollock
849a75c4dc Trellis2: handle empty and batched texture paint paths 2026-04-19 23:23:24 -05:00
John Pollock
353f3d9164 Trellis2/Hunyuan3d: preserve mesh tensor contract in batch mode 2026-04-19 22:55:38 -05:00
John Pollock
eb3ac5ffe4 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
78d4f27ec0 Match Copilot image_size restore pattern 2026-04-19 21:05:07 -05:00
John Pollock
e91a4659d5 Handle missing Trellis2 image_size restore state 2026-04-19 20:51:22 -05:00
John Pollock
1c91682604 Guard full Trellis2 conditioning image_size restore 2026-04-19 20:49:42 -05:00
John Pollock
718be91a15 Restore Trellis2 clip vision image_size state 2026-04-19 19:53:30 -05:00
Yousef Rafat
576befbb4b small final change 2026-04-12 20:14:47 +02:00