810 lines
15 KiB
JSON
810 lines
15 KiB
JSON
{
|
|
"id": "cd6e2e00-83cc-4795-abf1-09b46428c270",
|
|
"revision": 0,
|
|
"last_node_id": 233,
|
|
"last_link_id": 480,
|
|
"nodes": [
|
|
{
|
|
"id": 226,
|
|
"type": "Trellis2LoadMesh",
|
|
"pos": [
|
|
-385.0735510204828,
|
|
158.88137472879367
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"links": [
|
|
460
|
|
]
|
|
}
|
|
],
|
|
"title": "Original Mesh",
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "a5242473f68fe91d5ef0b188f8658ae0da540237",
|
|
"Node name for S&R": "Trellis2LoadMesh"
|
|
},
|
|
"widgets_values": [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 119,
|
|
"type": "Trellis2PreProcessImage",
|
|
"pos": [
|
|
432.4981118440155,
|
|
-182.40504275448276
|
|
],
|
|
"size": [
|
|
281.8229166666667,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 241
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
461
|
|
]
|
|
}
|
|
],
|
|
"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": [
|
|
418.8462464575081,
|
|
-492.4195525023097
|
|
],
|
|
"size": [
|
|
301.71875,
|
|
202
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "TRELLIS2PIPELINE",
|
|
"links": [
|
|
469
|
|
]
|
|
}
|
|
],
|
|
"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": 227,
|
|
"type": "Trellis2ReconstructMeshWithQuad",
|
|
"pos": [
|
|
1190.2002753188488,
|
|
-496.8180011267565
|
|
],
|
|
"size": [
|
|
331.5878996659427,
|
|
142.11360851901668
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 470
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
472
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "d4d66cfc9f1ce5b1c3b9a2e504ee4b24ffad48a5",
|
|
"Node name for S&R": "Trellis2ReconstructMeshWithQuad",
|
|
"widget_ue_connectable": {}
|
|
},
|
|
"widgets_values": [
|
|
1,
|
|
1024,
|
|
true,
|
|
true
|
|
]
|
|
},
|
|
{
|
|
"id": 231,
|
|
"type": "Trellis2FillHolesWithCuMesh",
|
|
"pos": [
|
|
1203.103220151927,
|
|
-621.2330460050034
|
|
],
|
|
"size": [
|
|
312.4361328125,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 474
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
470
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "dc66f263e832b103a81a021bf6cd53eec8ff28af",
|
|
"Node name for S&R": "Trellis2FillHolesWithCuMesh"
|
|
},
|
|
"widgets_values": [
|
|
1
|
|
]
|
|
},
|
|
{
|
|
"id": 229,
|
|
"type": "Trellis2SimplifyMesh",
|
|
"pos": [
|
|
1194.8431366936325,
|
|
-292.14794928709534
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 472
|
|
},
|
|
{
|
|
"name": "target_face_num",
|
|
"type": "INT",
|
|
"widget": {
|
|
"name": "target_face_num"
|
|
},
|
|
"link": 475
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
471
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "5d4c1474ceb477f40bbd6d437f7da90f3d6d9229",
|
|
"Node name for S&R": "Trellis2SimplifyMesh"
|
|
},
|
|
"widgets_values": [
|
|
500000,
|
|
"Cumesh"
|
|
]
|
|
},
|
|
{
|
|
"id": 228,
|
|
"type": "Trellis2FillHolesWithMeshlib",
|
|
"pos": [
|
|
1198.1583617137858,
|
|
-151.8665797237854
|
|
],
|
|
"size": [
|
|
249.284765625,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 471
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
476
|
|
]
|
|
},
|
|
{
|
|
"name": "holes_filled",
|
|
"type": "INT",
|
|
"links": null
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "e8098f5641702e74133c2dea0b45a13a3ab19985",
|
|
"Node name for S&R": "Trellis2FillHolesWithMeshlib"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 232,
|
|
"type": "Trellis2UnWrapAndRasterizer",
|
|
"pos": [
|
|
1195.383895062337,
|
|
-50.23863923208595
|
|
],
|
|
"size": [
|
|
419.15234375,
|
|
314
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"link": 476
|
|
},
|
|
{
|
|
"name": "bvh",
|
|
"type": "BVH",
|
|
"link": 477
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"links": [
|
|
478
|
|
]
|
|
},
|
|
{
|
|
"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": 233,
|
|
"type": "Trellis2ExportMesh",
|
|
"pos": [
|
|
1672.6947901006665,
|
|
-49.057670650420995
|
|
],
|
|
"size": [
|
|
270,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"link": 478
|
|
},
|
|
{
|
|
"name": "filename_prefix",
|
|
"type": "STRING",
|
|
"widget": {
|
|
"name": "filename_prefix"
|
|
},
|
|
"link": 479
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "glb_path",
|
|
"type": "STRING",
|
|
"links": [
|
|
480
|
|
]
|
|
},
|
|
{
|
|
"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": 202,
|
|
"type": "Preview3D",
|
|
"pos": [
|
|
369.6388214873717,
|
|
332.92876516342716
|
|
],
|
|
"size": [
|
|
868.8731050199159,
|
|
920.1382602693357
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"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": 480
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.18.1",
|
|
"Node name for S&R": "Preview3D"
|
|
},
|
|
"widgets_values": [
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"id": 69,
|
|
"type": "Trellis2LoadImageWithTransparency",
|
|
"pos": [
|
|
-383.4145219550909,
|
|
310.9862093076388
|
|
],
|
|
"size": [
|
|
717.521556382955,
|
|
915.5313594325766
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"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": [
|
|
-379.85391723715725,
|
|
7.869022281792564
|
|
],
|
|
"size": [
|
|
270,
|
|
82
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "INT",
|
|
"type": "INT",
|
|
"links": [
|
|
475
|
|
]
|
|
}
|
|
],
|
|
"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": [
|
|
-388.041436029903,
|
|
-125.57562894305721
|
|
],
|
|
"size": [
|
|
270,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "STRING",
|
|
"type": "STRING",
|
|
"links": [
|
|
479
|
|
]
|
|
}
|
|
],
|
|
"title": "Name",
|
|
"properties": {
|
|
"cnr_id": "comfy-core",
|
|
"ver": "0.18.1",
|
|
"Node name for S&R": "PrimitiveString"
|
|
},
|
|
"widgets_values": [
|
|
"Tank"
|
|
]
|
|
},
|
|
{
|
|
"id": 225,
|
|
"type": "Trellis2MeshRefiner",
|
|
"pos": [
|
|
753.899038005419,
|
|
-389.13958558695583
|
|
],
|
|
"size": [
|
|
340.390625,
|
|
578
|
|
],
|
|
"flags": {},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "pipeline",
|
|
"type": "TRELLIS2PIPELINE",
|
|
"link": 469
|
|
},
|
|
{
|
|
"name": "trimesh",
|
|
"type": "TRIMESH",
|
|
"link": 460
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 461
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "mesh",
|
|
"type": "MESHWITHVOXEL",
|
|
"links": [
|
|
474
|
|
]
|
|
},
|
|
{
|
|
"name": "bvh",
|
|
"type": "BVH",
|
|
"links": [
|
|
477
|
|
]
|
|
}
|
|
],
|
|
"properties": {
|
|
"aux_id": "visualbruno/ComfyUI-Trellis2",
|
|
"ver": "a5242473f68fe91d5ef0b188f8658ae0da540237",
|
|
"Node name for S&R": "Trellis2MeshRefiner"
|
|
},
|
|
"widgets_values": [
|
|
12345,
|
|
"fixed",
|
|
1024,
|
|
12,
|
|
7.5,
|
|
0.01,
|
|
3,
|
|
12,
|
|
3,
|
|
0.01,
|
|
3,
|
|
999999,
|
|
true,
|
|
16,
|
|
0.1,
|
|
1,
|
|
0,
|
|
0.9,
|
|
true,
|
|
1,
|
|
"heun"
|
|
]
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
241,
|
|
69,
|
|
2,
|
|
119,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
460,
|
|
226,
|
|
0,
|
|
225,
|
|
1,
|
|
"TRIMESH"
|
|
],
|
|
[
|
|
461,
|
|
119,
|
|
0,
|
|
225,
|
|
2,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
469,
|
|
39,
|
|
0,
|
|
225,
|
|
0,
|
|
"TRELLIS2PIPELINE"
|
|
],
|
|
[
|
|
470,
|
|
231,
|
|
0,
|
|
227,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
471,
|
|
229,
|
|
0,
|
|
228,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
472,
|
|
227,
|
|
0,
|
|
229,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
474,
|
|
225,
|
|
0,
|
|
231,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
475,
|
|
203,
|
|
0,
|
|
229,
|
|
1,
|
|
"INT"
|
|
],
|
|
[
|
|
476,
|
|
228,
|
|
0,
|
|
232,
|
|
0,
|
|
"MESHWITHVOXEL"
|
|
],
|
|
[
|
|
477,
|
|
225,
|
|
1,
|
|
232,
|
|
1,
|
|
"BVH"
|
|
],
|
|
[
|
|
478,
|
|
232,
|
|
0,
|
|
233,
|
|
0,
|
|
"TRIMESH"
|
|
],
|
|
[
|
|
479,
|
|
204,
|
|
0,
|
|
233,
|
|
1,
|
|
"STRING"
|
|
],
|
|
[
|
|
480,
|
|
233,
|
|
0,
|
|
202,
|
|
2,
|
|
"STRING"
|
|
]
|
|
],
|
|
"groups": [
|
|
{
|
|
"id": 1,
|
|
"title": "Configuration",
|
|
"bounding": [
|
|
-414.5659226642583,
|
|
-213.34811694305725,
|
|
764.6855244821979,
|
|
1466.2928336195214
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
},
|
|
{
|
|
"id": 2,
|
|
"title": "Generation",
|
|
"bounding": [
|
|
374.5341225783577,
|
|
-726.2357215927766,
|
|
1820.8266085195564,
|
|
1004.7525102622308
|
|
],
|
|
"color": "#3f789e",
|
|
"font_size": 24,
|
|
"flags": {}
|
|
}
|
|
],
|
|
"config": {},
|
|
"extra": {
|
|
"workflowRendererVersion": "LG",
|
|
"ue_links": [],
|
|
"ds": {
|
|
"scale": 0.6830134553650716,
|
|
"offset": [
|
|
111.46261093344825,
|
|
859.8232012529436
|
|
]
|
|
},
|
|
"links_added_by_ue": [],
|
|
"frontendVersion": "1.42.8",
|
|
"VHS_latentpreview": false,
|
|
"VHS_latentpreviewrate": 0,
|
|
"VHS_MetadataImage": true,
|
|
"VHS_KeepIntermediate": true
|
|
},
|
|
"version": 0.4
|
|
} |