Files
visualbruno-ComfyUI-Trellis2/example_workflows/Simple.json
T
Bruno Fargnoli f154a2dd0b Updated cumesh + updated nodes + updated all workflows
PostProcess UnWrap and Rasterize : removed fill_holes_max_perimeter -> using fill holes from Meshlib
Remesh : added "remove_inner_faces" -> same algorithm as "Reconstruct Mesh"
Mesh Texturing: added "mesh_cluster_threshold_cone_half_angle_rad"
2026-01-30 12:43:47 +01:00

461 lines
8.7 KiB
JSON

{
"id": "440427ce-0c6a-4462-af51-639ed2f16dec",
"revision": 0,
"last_node_id": 44,
"last_link_id": 90,
"nodes": [
{
"id": 6,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
160.23097908593746,
1093.4781077920234
],
"size": [
454.3125,
496.03125
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null
},
{
"name": "mask",
"type": "MASK",
"links": null
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
89
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_04291_.png",
"image"
]
},
{
"id": 39,
"type": "Trellis2LoadModel",
"pos": [
143.14495071454974,
622.610212818676
],
"size": [
362.0625,
207.328125
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"links": [
79
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "c5d66aa46bf1bbf903fd4fe9ff086ac774bb7e03",
"Node name for S&R": "Trellis2LoadModel",
"widget_ue_connectable": {}
},
"widgets_values": [
"TRELLIS.2-4B",
"flash_attn",
"cuda",
true,
false
]
},
{
"id": 41,
"type": "Trellis2MeshWithVoxelGenerator",
"pos": [
673.7142651175388,
836.004782154444
],
"size": [
410.71875,
386
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"link": 79
},
{
"name": "image",
"type": "IMAGE",
"link": 90
}
],
"outputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"links": [
86
]
},
{
"name": "bvh",
"type": "BVH",
"links": [
87
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a28d6cf93b0cf24aa9e7d3dccfd14f406227fbd0",
"Node name for S&R": "Trellis2MeshWithVoxelGenerator",
"widget_ue_connectable": {}
},
"widgets_values": [
12345,
"randomize",
"1024_cascade",
12,
12,
12,
999999,
4,
32,
true,
true
]
},
{
"id": 19,
"type": "Trellis2ExportMesh",
"pos": [
1480.0390859207857,
603.8997701786345
],
"size": [
324,
146
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 88
}
],
"outputs": [
{
"name": "glb_path",
"type": "STRING",
"links": [
22
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2ExportMesh",
"widget_ue_connectable": {}
},
"widgets_values": [
"Trellis2Mesh",
"glb",
true
]
},
{
"id": 10,
"type": "Preview3D",
"pos": [
1595.8257224427462,
828.6814144924502
],
"size": [
752.25,
729.90625
],
"flags": {},
"order": 6,
"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",
"widget": {
"name": "model_file"
},
"link": 22
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "Preview3D",
"widget_ue_connectable": {},
"Last Time Model File": "Home_2K_00001_.glb",
"Scene Config": {
"showGrid": true,
"backgroundColor": "#282828",
"backgroundImage": "",
"backgroundRenderMode": "tiled"
},
"Camera Config": {
"cameraType": "perspective",
"fov": 35,
"state": {
"position": {
"x": 12.514315832403488,
"y": 3.895614510886169,
"z": 9.139010516199487
},
"target": {
"x": 0,
"y": 2.1870527424637647,
"z": 0
},
"zoom": 1,
"cameraType": "perspective"
}
},
"Light Config": {
"intensity": 3
}
},
"widgets_values": [
"Home_2K_00001_.glb",
""
]
},
{
"id": 43,
"type": "Trellis2PostProcessAndUnWrapAndRasterizer",
"pos": [
1115.7105853634694,
836.2591783750445
],
"size": [
419.125,
651.328125
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"link": 86
},
{
"name": "bvh",
"type": "BVH",
"link": 87
}
],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
88
]
},
{
"name": "base_color_texture",
"type": "IMAGE",
"links": null
},
{
"name": "metallic_roughness_texture",
"type": "IMAGE",
"links": null
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a354e8c4fead5c152d58b50eae2935cb2923cd72",
"Node name for S&R": "Trellis2PostProcessAndUnWrapAndRasterizer",
"widget_ue_connectable": {}
},
"widgets_values": [
60,
0,
1,
1,
4096,
true,
1,
0,
2000000,
"Cumesh",
true,
"OPAQUE",
"1024",
false,
true,
false,
false,
true
]
},
{
"id": 44,
"type": "Trellis2PreProcessImage",
"pos": [
246.66298457453752,
916.7884835448142
],
"size": [
281.78125,
79.328125
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 89
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
90
]
}
],
"properties": {
"widget_ue_connectable": {},
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a354e8c4fead5c152d58b50eae2935cb2923cd72",
"Node name for S&R": "Trellis2PreProcessImage"
},
"widgets_values": [
0
]
}
],
"links": [
[
22,
19,
0,
10,
2,
"STRING"
],
[
79,
39,
0,
41,
0,
"TRELLIS2PIPELINE"
],
[
86,
41,
0,
43,
0,
"MESHWITHVOXEL"
],
[
87,
41,
1,
43,
1,
"BVH"
],
[
88,
43,
0,
19,
0,
"TRIMESH"
],
[
89,
6,
2,
44,
0,
"IMAGE"
],
[
90,
44,
0,
41,
1,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "Vue",
"ue_links": [],
"ds": {
"scale": 0.6303940863128564,
"offset": [
-52.07567851462492,
-327.7388708088908
]
},
"links_added_by_ue": [],
"frontendVersion": "1.37.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}