769 lines
14 KiB
JSON
769 lines
14 KiB
JSON
{
|
|
"id": "cd6e2e00-83cc-4795-abf1-09b46428c270",
|
|
"revision": 0,
|
|
"last_node_id": 207,
|
|
"last_link_id": 416,
|
|
"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": 203,
|
|
"type": "PrimitiveInt",
|
|
"pos": [
|
|
-373.0898096413628,
|
|
163.12227474974895
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"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": 2,
|
|
"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": 39,
|
|
"type": "Trellis2LoadModel",
|
|
"pos": [
|
|
404.6117778691903,
|
|
-564.6350558283436
|
|
],
|
|
"size": [
|
|
301.71875,
|
|
202
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "TRELLIS2PIPELINE",
|
|
"links": [
|
|
411
|
|
]
|
|
}
|
|
],
|
|
"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": 119,
|
|
"type": "Trellis2PreProcessImage",
|
|
"pos": [
|
|
413.7442818307099,
|
|
-185.99180300678682
|
|
],
|
|
"size": [
|
|
281.8229166666667,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 241
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
412
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "15854282a73cf231b81d52ada22e652f414a078b",
|
|
"Node name for S&R": "Trellis2PreProcessImage",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
10,
|
|
false,
|
|
1024
|
|
]
|
|
},
|
|
{
|
|
"id": 196,
|
|
"type": "Trellis2FillHolesWithCuMesh",
|
|
"pos": [
|
|
1148.203832543889,
|
|
-691.4362805609004
|
|
],
|
|
"size": [
|
|
312.4361328125,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 413
|
|
}
|
|
],
|
|
"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": [
|
|
1143.7616665123248,
|
|
-576.3871604957823
|
|
],
|
|
"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": [
|
|
1146.6254930330851,
|
|
-381.0428638307529
|
|
],
|
|
"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": 205,
|
|
"type": "Trellis2MeshWithVoxelAdvancedGenerator",
|
|
"pos": [
|
|
717.5499413662296,
|
|
-588.6883997158563
|
|
],
|
|
"size": [
|
|
413.1841796875,
|
|
702
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "TRELLIS2PIPELINE",
|
|
"link": 411
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 412
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
413
|
|
]
|
|
},
|
|
{
|
|
"name": "bvh",
|
|
"type": "BVH",
|
|
"links": [
|
|
415
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "a5242473f68fe91d5ef0b188f8658ae0da540237",
|
|
"Node name for S&R": "Trellis2MeshWithVoxelAdvancedGenerator"
|
|
},
|
|
"widgets_values": [
|
|
12345,
|
|
"fixed",
|
|
"1024_cascade",
|
|
25,
|
|
7.5,
|
|
0.01,
|
|
5,
|
|
12,
|
|
7.5,
|
|
0.01,
|
|
3,
|
|
12,
|
|
3,
|
|
0.01,
|
|
3,
|
|
999999,
|
|
1,
|
|
32,
|
|
true,
|
|
0.1,
|
|
1,
|
|
0.1,
|
|
1,
|
|
0,
|
|
0.9,
|
|
true,
|
|
"euler"
|
|
]
|
|
},
|
|
{
|
|
"id": 201,
|
|
"type": "Trellis2ExportMesh",
|
|
"pos": [
|
|
1597.089782460921,
|
|
-140.8020848589493
|
|
],
|
|
"size": [
|
|
270,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"link": 416
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
},
|
|
{
|
|
"id": 199,
|
|
"type": "Trellis2FillHolesWithMeshlib",
|
|
"pos": [
|
|
1151.769446503904,
|
|
-245.92060963339878
|
|
],
|
|
"size": [
|
|
302.4315956250001,
|
|
47.18107670916754
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 394
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
414
|
|
]
|
|
},
|
|
{
|
|
"name": "holes_filled",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "e8098f5641702e74133c2dea0b45a13a3ab19985",
|
|
"Node name for S&R": "Trellis2FillHolesWithMeshlib"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 207,
|
|
"type": "Trellis2UnWrapAndRasterizer",
|
|
"pos": [
|
|
1153.8343873953147,
|
|
-150.96148118668327
|
|
],
|
|
"size": [
|
|
419.15234375,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 414
|
|
},
|
|
{
|
|
"name": "bvh",
|
|
"type": "BVH",
|
|
"link": 415
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"links": [
|
|
416
|
|
]
|
|
},
|
|
{
|
|
"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"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
241,
|
|
69,
|
|
2,
|
|
119,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
392,
|
|
196,
|
|
0,
|
|
197,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
393,
|
|
197,
|
|
0,
|
|
198,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
394,
|
|
198,
|
|
0,
|
|
199,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
398,
|
|
201,
|
|
0,
|
|
202,
|
|
2,
|
|
"STRING"
|
|
],
|
|
[
|
|
409,
|
|
203,
|
|
0,
|
|
198,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
410,
|
|
204,
|
|
0,
|
|
201,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
411,
|
|
39,
|
|
0,
|
|
205,
|
|
0,
|
|
"TRELLIS2PIPELINE"
|
|
],
|
|
[
|
|
412,
|
|
119,
|
|
0,
|
|
205,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
413,
|
|
205,
|
|
0,
|
|
196,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
414,
|
|
199,
|
|
0,
|
|
207,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
415,
|
|
205,
|
|
1,
|
|
207,
|
|
1,
|
|
"BVH"
|
|
],
|
|
[
|
|
416,
|
|
207,
|
|
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": [
|
|
394.6117778691903,
|
|
-772.2962805609001,
|
|
1523.2043605195558,
|
|
1035.4596396805657
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"workflowRendererVersion": "LG",
|
|
"ue_links": [],
|
|
"ds": {
|
|
"scale": 0.5644739300537777,
|
|
"offset": [
|
|
717.24240821608,
|
|
973.4146936919584
|
|
]
|
|
},
|
|
"links_added_by_ue": [],
|
|
"frontendVersion": "1.42.8",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |