Added the nodes "MeshWithVoxel Multi-View Generator" and "Mesh Texturing Multi-View"

Updated/Added workflows
This commit is contained in:
Bruno Fargnoli
2026-02-12 14:20:37 +01:00
parent a19110a28a
commit f75fc3ac8c
9 changed files with 2837 additions and 555 deletions
File diff suppressed because it is too large Load Diff
+690
View File
@@ -0,0 +1,690 @@
{
"id": "440427ce-0c6a-4462-af51-639ed2f16dec",
"revision": 0,
"last_node_id": 121,
"last_link_id": 230,
"nodes": [
{
"id": 50,
"type": "Trellis2PreProcessImage",
"pos": [
-514.210025695023,
250.92630997998222
],
"size": [
297.84375,
107.328125
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 110
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
223
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "15854282a73cf231b81d52ada22e652f414a078b",
"Node name for S&R": "Trellis2PreProcessImage",
"widget_ue_connectable": {}
},
"widgets_values": [
25,
false
]
},
{
"id": 6,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
-1354.11041692169,
-103.28960088005408
],
"size": [
610.640625,
788.515625
],
"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": [
110
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_1024_00010_.png",
"image"
]
},
{
"id": 39,
"type": "Trellis2LoadModel",
"pos": [
-502.8470854177922,
-74.32512914672895
],
"size": [
336.0625,
207.328125
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"links": [
222
]
}
],
"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": 103,
"type": "Trellis2RemeshWithQuad",
"pos": [
467.2386692680435,
243.87402592407818
],
"size": [
455.3125,
262
],
"flags": {
"collapsed": false
},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"link": 225
}
],
"outputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"links": [
226
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "258cd607667d64b01b2abdaded4e59016ffd5cb6",
"Node name for S&R": "Trellis2RemeshWithQuad",
"widget_ue_connectable": {}
},
"widgets_values": [
1,
0,
false,
0.03,
"1024",
true,
true
]
},
{
"id": 114,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
-1359.0614927706545,
735.4082082769835
],
"size": [
609.125,
759.125
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": []
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
221
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2LoadImageWithTransparency"
},
"widgets_values": [
"Image_1024_00021_.png",
"image"
]
},
{
"id": 115,
"type": "Trellis2PreProcessImage",
"pos": [
-520.4300253912838,
427.5271012938298
],
"size": [
311.921875,
107.328125
],
"flags": {
"collapsed": false
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 221
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
224
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "15854282a73cf231b81d52ada22e652f414a078b",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2PreProcessImage"
},
"widgets_values": [
50,
false
]
},
{
"id": 116,
"type": "Trellis2MeshWithVoxelMultiViewGenerator",
"pos": [
-76.41514399946482,
241.60506031220336
],
"size": [
468.21875,
1000.53125
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"link": 222
},
{
"name": "front_image",
"type": "IMAGE",
"link": 223
},
{
"name": "back_image",
"shape": 7,
"type": "IMAGE",
"link": 224
},
{
"name": "left_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "right_image",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"links": [
225
]
},
{
"name": "bvh",
"type": "BVH",
"links": null
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a19110a28a5c5c434386af0421005dd8edae82db",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2MeshWithVoxelMultiViewGenerator"
},
"widgets_values": [
12345,
"randomize",
"1024_cascade",
25,
6.5,
0.2,
4,
25,
6.5,
0.2,
4,
12,
3,
0.2,
3,
999999,
32,
false,
0.1,
1,
0.1,
1,
0,
0.9,
true,
"z",
2
]
},
{
"id": 117,
"type": "Trellis2SimplifyMesh",
"pos": [
472.141197337784,
564.9329628175803
],
"size": [
317,
115.046875
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"link": 226
}
],
"outputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"links": [
227
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a19110a28a5c5c434386af0421005dd8edae82db",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2SimplifyMesh"
},
"widgets_values": [
500000,
"Cumesh"
]
},
{
"id": 118,
"type": "Trellis2FillHolesWithMeshlib",
"pos": [
473.1986723221411,
743.6571759057757
],
"size": [
348.71875,
71.328125
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"link": 227
}
],
"outputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"links": [
228
]
},
{
"name": "holes_filled",
"type": "INT",
"links": null
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a19110a28a5c5c434386af0421005dd8edae82db",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2FillHolesWithMeshlib"
},
"widgets_values": []
},
{
"id": 119,
"type": "Trellis2ExportMesh",
"pos": [
471.08304460897625,
1037.6532301953084
],
"size": [
348.71875,
148.109375
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 229
}
],
"outputs": [
{
"name": "glb_path",
"type": "STRING",
"links": [
230
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a19110a28a5c5c434386af0421005dd8edae82db",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2ExportMesh"
},
"widgets_values": [
"Trellis2MV",
"glb",
true
]
},
{
"id": 120,
"type": "Trellis2MeshWithVoxelToTrimesh",
"pos": [
472.14061641396916,
874.7920616685096
],
"size": [
332.859375,
92.5625
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"link": 228
}
],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
229
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a19110a28a5c5c434386af0421005dd8edae82db",
"widget_ue_connectable": {},
"Node name for S&R": "Trellis2MeshWithVoxelToTrimesh"
},
"widgets_values": [
"90 degrees"
]
},
{
"id": 121,
"type": "Preview3D",
"pos": [
960.7538631636339,
252.95888156302374
],
"size": [
892.296875,
936.96875
],
"flags": {},
"order": 11,
"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": 230
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.13.0",
"widget_ue_connectable": {},
"Node name for S&R": "Preview3D"
},
"widgets_values": [
"",
""
]
}
],
"links": [
[
110,
6,
2,
50,
0,
"IMAGE"
],
[
221,
114,
2,
115,
0,
"IMAGE"
],
[
222,
39,
0,
116,
0,
"TRELLIS2PIPELINE"
],
[
223,
50,
0,
116,
1,
"IMAGE"
],
[
224,
115,
0,
116,
2,
"IMAGE"
],
[
225,
116,
0,
103,
0,
"MESHWITHVOXEL"
],
[
226,
103,
0,
117,
0,
"MESHWITHVOXEL"
],
[
227,
117,
0,
118,
0,
"MESHWITHVOXEL"
],
[
228,
118,
0,
120,
0,
"MESHWITHVOXEL"
],
[
229,
120,
0,
119,
0,
"TRIMESH"
],
[
230,
119,
0,
121,
2,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "Vue",
"ue_links": [],
"ds": {
"scale": 0.4736244074476824,
"offset": [
1666.544822537185,
301.4636979965617
]
},
"links_added_by_ue": [],
"frontendVersion": "1.38.13",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}
@@ -0,0 +1,561 @@
{
"id": "9b1321c3-d206-474a-bf17-498b285fb45b",
"revision": 0,
"last_node_id": 37,
"last_link_id": 83,
"nodes": [
{
"id": 12,
"type": "Preview3D",
"pos": [
1360.4666161520581,
1420.8767073529182
],
"size": [
1144.84375,
1103.03125
],
"flags": {},
"order": 8,
"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": 12
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "Preview3D",
"widget_ue_connectable": {},
"Last Time Model File": "DwarfMV_fromMV_00001_.glb",
"Scene Config": {
"showGrid": false,
"backgroundColor": "#282828",
"backgroundImage": "",
"backgroundRenderMode": "tiled"
},
"Camera Config": {
"cameraType": "perspective",
"fov": 35,
"state": {
"position": {
"x": -2.356233924150018,
"y": 5.529086349255764,
"z": 8.664564277092959
},
"target": {
"x": 0,
"y": 2.5,
"z": 0
},
"zoom": 1,
"cameraType": "perspective"
}
},
"Light Config": {
"intensity": 3
},
"Model Config": {
"upDirection": "original",
"materialMode": "original",
"showSkeleton": false
}
},
"widgets_values": [
"DwarfMV_fromMV_00001_.glb",
""
]
},
{
"id": 2,
"type": "Trellis2LoadModel",
"pos": [
264.5598759967819,
993.6174889527508
],
"size": [
362.0625,
207.328125
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"links": [
78
]
}
],
"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": 18,
"type": "Trellis2PreProcessImage",
"pos": [
263.0397099736384,
1453.040730438439
],
"size": [
360.984375,
107.328125
],
"flags": {
"collapsed": false
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 32
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
79
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "15854282a73cf231b81d52ada22e652f414a078b",
"Node name for S&R": "Trellis2PreProcessImage",
"widget_ue_connectable": {}
},
"widgets_values": [
25,
false
]
},
{
"id": 1,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
-293.9350983507024,
1366.6009200665326
],
"size": [
470.78125,
620.78125
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": []
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
32
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_1024_00020_.png",
"image"
]
},
{
"id": 21,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
-285.4316533126076,
2056.8396735019032
],
"size": [
465.203125,
615.203125
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": []
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
47
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_1024_00021_.png",
"image"
]
},
{
"id": 11,
"type": "Trellis2ExportMesh",
"pos": [
963.3009624015439,
1226.3665857311485
],
"size": [
324,
146
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 83
}
],
"outputs": [
{
"name": "glb_path",
"type": "STRING",
"links": [
12
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "20651320d20ed56a52168c1bd3f29d6886c4be06",
"Node name for S&R": "Trellis2ExportMesh",
"widget_ue_connectable": {}
},
"widgets_values": [
"TexturedMeshMV",
"glb",
true
]
},
{
"id": 26,
"type": "Trellis2PreProcessImage",
"pos": [
273.345930367051,
1625.0892297322023
],
"size": [
386.1875,
107.328125
],
"flags": {
"collapsed": false
},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 47
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
81
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "15854282a73cf231b81d52ada22e652f414a078b",
"Node name for S&R": "Trellis2PreProcessImage",
"widget_ue_connectable": {}
},
"widgets_values": [
25,
false
]
},
{
"id": 8,
"type": "Trellis2LoadMesh",
"pos": [
-288.7042468259506,
1215.4568912264674
],
"size": [
514.34375,
83.328125
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
80
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "20651320d20ed56a52168c1bd3f29d6886c4be06",
"Node name for S&R": "Trellis2LoadMesh",
"widget_ue_connectable": {}
},
"widgets_values": [
"C:\\Git\\ComfyUI\\output\\DwarfMV_Textured_00001_.glb"
]
},
{
"id": 37,
"type": "Trellis2MeshTexturingMultiView",
"pos": [
742.5264619145277,
1433.3435382751823
],
"size": [
539.515625,
675.328125
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"link": 78
},
{
"name": "front_image",
"type": "IMAGE",
"link": 79
},
{
"name": "trimesh",
"type": "TRIMESH",
"link": 80
},
{
"name": "back_image",
"shape": 7,
"type": "IMAGE",
"link": 81
},
{
"name": "left_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "right_image",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
83
]
},
{
"name": "base_color_texture",
"type": "IMAGE",
"links": null
},
{
"name": "metallic_roughness_texture",
"type": "IMAGE",
"links": null
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a19110a28a5c5c434386af0421005dd8edae82db",
"Node name for S&R": "Trellis2MeshTexturingMultiView",
"widget_ue_connectable": {}
},
"widgets_values": [
12345,
"fixed",
25,
3,
0.2,
3,
1024,
4096,
"OPAQUE",
false,
0,
0.9,
false,
false,
60,
"z",
2
]
}
],
"links": [
[
12,
11,
0,
12,
2,
"STRING"
],
[
32,
1,
2,
18,
0,
"IMAGE"
],
[
47,
21,
2,
26,
0,
"IMAGE"
],
[
78,
2,
0,
37,
0,
"TRELLIS2PIPELINE"
],
[
79,
18,
0,
37,
1,
"IMAGE"
],
[
80,
8,
0,
37,
2,
"TRIMESH"
],
[
81,
26,
0,
37,
3,
"IMAGE"
],
[
83,
37,
0,
11,
0,
"TRIMESH"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "Vue",
"ue_links": [],
"ds": {
"scale": 0.4305676431342665,
"offset": [
903.5556585357364,
-713.9325537000318
]
},
"links_added_by_ue": [],
"frontendVersion": "1.38.13",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}