754 lines
14 KiB
JSON
754 lines
14 KiB
JSON
{
|
|
"id": "cd6e2e00-83cc-4795-abf1-09b46428c270",
|
|
"revision": 0,
|
|
"last_node_id": 205,
|
|
"last_link_id": 413,
|
|
"nodes": [
|
|
{
|
|
"id": 69,
|
|
"type": "Trellis2LoadImageWithTransparency",
|
|
"pos": [
|
|
-377.72410571388025,
|
|
328.4870830026766
|
|
],
|
|
"size": [
|
|
717.521556382955,
|
|
915.5313594325766
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": []
|
|
},
|
|
{
|
|
"name": "mask",
|
|
"type": "MASK",
|
|
"links": []
|
|
},
|
|
{
|
|
"name": "image_with_alpha",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
241
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
|
|
"Node name for S&R": "Trellis2LoadImageWithTransparency",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
"Image_1024_00101_.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 119,
|
|
"type": "Trellis2PreProcessImage",
|
|
"pos": [
|
|
398.0246741688026,
|
|
149.83708875416676
|
|
],
|
|
"size": [
|
|
281.8229166666667,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 241
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
391
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "15854282a73cf231b81d52ada22e652f414a078b",
|
|
"Node name for S&R": "Trellis2PreProcessImage",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
10,
|
|
false,
|
|
1024
|
|
]
|
|
},
|
|
{
|
|
"id": 39,
|
|
"type": "Trellis2LoadModel",
|
|
"pos": [
|
|
388.892170207283,
|
|
-228.80616406738957
|
|
],
|
|
"size": [
|
|
301.71875,
|
|
202
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "TRELLIS2PIPELINE",
|
|
"links": [
|
|
390
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "c5d66aa46bf1bbf903fd4fe9ff086ac774bb7e03",
|
|
"Node name for S&R": "Trellis2LoadModel",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
"microsoft/TRELLIS.2-4B",
|
|
"flash_attn",
|
|
"cuda",
|
|
true,
|
|
false,
|
|
"flex_gemm",
|
|
"flash_attn"
|
|
]
|
|
},
|
|
{
|
|
"id": 196,
|
|
"type": "Trellis2FillHolesWithCuMesh",
|
|
"pos": [
|
|
1117.157533597802,
|
|
-362.86738879994687
|
|
],
|
|
"size": [
|
|
312.4361328125,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 396
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
392
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "dc66f263e832b103a81a021bf6cd53eec8ff28af",
|
|
"Node name for S&R": "Trellis2FillHolesWithCuMesh"
|
|
},
|
|
"widgets_values": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 197,
|
|
"type": "Trellis2ReconstructMeshWithQuad",
|
|
"pos": [
|
|
1124.8153675662377,
|
|
-239.75157745064854
|
|
],
|
|
"size": [
|
|
331.5878996659427,
|
|
142.11360851901668
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 392
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
393
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "d4d66cfc9f1ce5b1c3b9a2e504ee4b24ffad48a5",
|
|
"Node name for S&R": "Trellis2ReconstructMeshWithQuad",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
1,
|
|
1024,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 198,
|
|
"type": "Trellis2SimplifyMesh",
|
|
"pos": [
|
|
1134.132576655357,
|
|
-43.60066335397867
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 393
|
|
},
|
|
{
|
|
"name": "target_face_num",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "target_face_num"
|
|
},
|
|
"link": 409
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
394
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "5d4c1474ceb477f40bbd6d437f7da90f3d6d9229",
|
|
"Node name for S&R": "Trellis2SimplifyMesh"
|
|
},
|
|
"widgets_values": [
|
|
500000,
|
|
"Cumesh"
|
|
]
|
|
},
|
|
{
|
|
"id": 203,
|
|
"type": "PrimitiveInt",
|
|
"pos": [
|
|
-373.0898096413628,
|
|
163.12227474974895
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "INT",
|
|
"type": "INT",
|
|
"links": [
|
|
409
|
|
]
|
|
}
|
|
],
|
|
"title": "Target Face Number",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.18.1",
|
|
"Node name for S&R": "PrimitiveInt"
|
|
},
|
|
"widgets_values": [
|
|
300000,
|
|
"fixed"
|
|
]
|
|
},
|
|
{
|
|
"id": 204,
|
|
"type": "PrimitiveString",
|
|
"pos": [
|
|
-368.2858630795249,
|
|
34.401714106564214
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": [
|
|
410
|
|
]
|
|
}
|
|
],
|
|
"title": "Name",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.18.1",
|
|
"Node name for S&R": "PrimitiveString"
|
|
},
|
|
"widgets_values": [
|
|
"Tank"
|
|
]
|
|
},
|
|
{
|
|
"id": 202,
|
|
"type": "Preview3D",
|
|
"pos": [
|
|
376.48890096546415,
|
|
331.2515281089069
|
|
],
|
|
"size": [
|
|
868.8731050199159,
|
|
920.1382602693357
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "camera_info",
|
|
"shape": 7,
|
|
"type": "LOAD3D_CAMERA",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "bg_image",
|
|
"shape": 7,
|
|
"type": "IMAGE",
|
|
"link": null
|
|
},
|
|
{
|
|
"name": "model_file",
|
|
"type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D",
|
|
"widget": {
|
|
"name": "model_file"
|
|
},
|
|
"link": 398
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.18.1",
|
|
"Node name for S&R": "Preview3D"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 199,
|
|
"type": "Trellis2FillHolesWithMeshlib",
|
|
"pos": [
|
|
1132.506716841996,
|
|
89.90828212755481
|
|
],
|
|
"size": [
|
|
249.284765625,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 394
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
411
|
|
]
|
|
},
|
|
{
|
|
"name": "holes_filled",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "e8098f5641702e74133c2dea0b45a13a3ab19985",
|
|
"Node name for S&R": "Trellis2FillHolesWithMeshlib"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 195,
|
|
"type": "Trellis2MeshWithVoxelGenerator",
|
|
"pos": [
|
|
746.136770520365,
|
|
-107.27192057879526
|
|
],
|
|
"size": [
|
|
342.2818359375,
|
|
342
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "TRELLIS2PIPELINE",
|
|
"link": 390
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 391
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
396
|
|
]
|
|
},
|
|
{
|
|
"name": "bvh",
|
|
"type": "BVH",
|
|
"links": [
|
|
412
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "a5242473f68fe91d5ef0b188f8658ae0da540237",
|
|
"Node name for S&R": "Trellis2MeshWithVoxelGenerator"
|
|
},
|
|
"widgets_values": [
|
|
12345,
|
|
"fixed",
|
|
"1024_cascade",
|
|
12,
|
|
12,
|
|
12,
|
|
999999,
|
|
1,
|
|
32,
|
|
true,
|
|
true,
|
|
"euler"
|
|
]
|
|
},
|
|
{
|
|
"id": 205,
|
|
"type": "Trellis2UnWrapAndRasterizer",
|
|
"pos": [
|
|
1509.48883255403,
|
|
-231.18851954550428
|
|
],
|
|
"size": [
|
|
419.15234375,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 411
|
|
},
|
|
{
|
|
"name": "bvh",
|
|
"type": "BVH",
|
|
"link": 412
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"links": [
|
|
413
|
|
]
|
|
},
|
|
{
|
|
"name": "base_color_texture",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
},
|
|
{
|
|
"name": "metallic_roughness_texture",
|
|
"type": "IMAGE",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "a5242473f68fe91d5ef0b188f8658ae0da540237",
|
|
"Node name for S&R": "Trellis2UnWrapAndRasterizer"
|
|
},
|
|
"widgets_values": [
|
|
60,
|
|
0,
|
|
1,
|
|
1,
|
|
2048,
|
|
"OPAQUE",
|
|
false,
|
|
false,
|
|
false,
|
|
"telea"
|
|
]
|
|
},
|
|
{
|
|
"id": 201,
|
|
"type": "Trellis2ExportMesh",
|
|
"pos": [
|
|
1517.3851156356834,
|
|
145.96275340737535
|
|
],
|
|
"size": [
|
|
270,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"link": 413
|
|
},
|
|
{
|
|
"name": "filename_prefix",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "filename_prefix"
|
|
},
|
|
"link": 410
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "glb_path",
|
|
"type": "STRING",
|
|
"links": [
|
|
398
|
|
]
|
|
},
|
|
{
|
|
"name": "relative_path",
|
|
"type": "STRING",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "a5242473f68fe91d5ef0b188f8658ae0da540237",
|
|
"Node name for S&R": "Trellis2ExportMesh"
|
|
},
|
|
"widgets_values": [
|
|
"3D/Trellis2",
|
|
"glb"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
241,
|
|
69,
|
|
2,
|
|
119,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
390,
|
|
39,
|
|
0,
|
|
195,
|
|
0,
|
|
"TRELLIS2PIPELINE"
|
|
],
|
|
[
|
|
391,
|
|
119,
|
|
0,
|
|
195,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
392,
|
|
196,
|
|
0,
|
|
197,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
393,
|
|
197,
|
|
0,
|
|
198,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
394,
|
|
198,
|
|
0,
|
|
199,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
396,
|
|
195,
|
|
0,
|
|
196,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
398,
|
|
201,
|
|
0,
|
|
202,
|
|
2,
|
|
"STRING"
|
|
],
|
|
[
|
|
409,
|
|
203,
|
|
0,
|
|
198,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
410,
|
|
204,
|
|
0,
|
|
201,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
411,
|
|
199,
|
|
0,
|
|
205,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
412,
|
|
195,
|
|
1,
|
|
205,
|
|
1,
|
|
"BVH"
|
|
],
|
|
[
|
|
413,
|
|
205,
|
|
0,
|
|
201,
|
|
0,
|
|
"TRIMESH"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "Configuration",
|
|
"bounding": [
|
|
-387.72410571388025,
|
|
-53.37077389343578,
|
|
737.521556382955,
|
|
1307.389216328689
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "Generation",
|
|
"bounding": [
|
|
378.892170207283,
|
|
-436.46738879994683,
|
|
1706.6665797550602,
|
|
727.1063315541132
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"workflowRendererVersion": "LG",
|
|
"ue_links": [],
|
|
"ds": {
|
|
"scale": 0.5644739300537773,
|
|
"offset": [
|
|
683.341395587175,
|
|
735.5254552429528
|
|
]
|
|
},
|
|
"links_added_by_ue": [],
|
|
"frontendVersion": "1.42.8",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |