Files
visualbruno-ComfyUI-Trellis2/example_workflows/MultiViews.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

636 lines
12 KiB
JSON

{
"id": "2925878d-ede5-4810-8fda-c88bc62a0418",
"revision": 0,
"last_node_id": 82,
"last_link_id": 167,
"nodes": [
{
"id": 10,
"type": "Preview3D",
"pos": [
1770.4296335862305,
725.8936897146046
],
"size": [
1243.9375,
1286.3125
],
"flags": {},
"order": 9,
"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": "TestMultiViews_00001_.glb",
"Scene Config": {
"showGrid": true,
"backgroundColor": "#282828",
"backgroundImage": "",
"backgroundRenderMode": "tiled"
},
"Camera Config": {
"cameraType": "perspective",
"fov": 35,
"state": {
"position": {
"x": 7.328496566334564,
"y": 7.039084857089076,
"z": 5.515678385063248
},
"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": [
"TestMultiViews_00001_.glb",
""
]
},
{
"id": 39,
"type": "Trellis2LoadModel",
"pos": [
273.3017272421423,
515.5617991412178
],
"size": [
362.0625,
207.328125
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"links": [
87
]
}
],
"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": 74,
"type": "ImageBatchMulti",
"pos": [
285.92897774432754,
1054.4547109896214
],
"size": [
324,
131.328125
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image_1",
"type": "IMAGE",
"link": 164
},
{
"name": "image_2",
"shape": 7,
"type": "IMAGE",
"link": 166
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
147
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "1.1.7",
"widget_ue_connectable": {}
},
"widgets_values": [
2,
null
]
},
{
"id": 19,
"type": "Trellis2ExportMesh",
"pos": [
1395.9738881640815,
608.2759813281384
],
"size": [
324,
146
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 161
}
],
"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": [
"TestMultiViews",
"glb",
true
]
},
{
"id": 6,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
-814.4935106057192,
507.46986927213527
],
"size": [
470.78125,
529.8125
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": []
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
163
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_2048_00034_ (1).png",
"image"
]
},
{
"id": 69,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
-832.2344035013016,
1238.9575669057194
],
"size": [
470.78125,
529.8125
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": []
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
165
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_2048_00022_ (1).png",
"image"
]
},
{
"id": 45,
"type": "Trellis2MeshWithVoxelAdvancedGenerator",
"pos": [
687.558596455217,
819.853130509043
],
"size": [
495.8125,
866
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"link": 87
},
{
"name": "image",
"type": "IMAGE",
"link": 147
}
],
"outputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"links": [
162
]
},
{
"name": "bvh",
"type": "BVH",
"links": [
167
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a28d6cf93b0cf24aa9e7d3dccfd14f406227fbd0",
"Node name for S&R": "Trellis2MeshWithVoxelAdvancedGenerator",
"widget_ue_connectable": {}
},
"widgets_values": [
1630143662,
"randomize",
"1024",
12,
6.5,
0.2,
4,
12,
6.5,
0.2,
4,
12,
3,
0.2,
3,
999999,
16,
32,
true,
0.1,
1,
0.1,
1,
0,
0.9,
true
]
},
{
"id": 80,
"type": "Trellis2PostProcessAndUnWrapAndRasterizer",
"pos": [
1216.3657114727848,
822.3361837332448
],
"size": [
419.125,
651.328125
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "mesh",
"type": "MESHWITHVOXEL",
"link": 162
},
{
"name": "bvh",
"type": "BVH",
"link": 167
}
],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
161
]
},
{
"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": 81,
"type": "Trellis2PreProcessImage",
"pos": [
-220.58846897688056,
677.7837578303734
],
"size": [
281.78125,
79.328125
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 163
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
164
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a354e8c4fead5c152d58b50eae2935cb2923cd72",
"Node name for S&R": "Trellis2PreProcessImage",
"widget_ue_connectable": {}
},
"widgets_values": [
25
]
},
{
"id": 82,
"type": "Trellis2PreProcessImage",
"pos": [
-206.37713605214765,
1196.2632488754086
],
"size": [
281.78125,
79.328125
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 165
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
166
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "a354e8c4fead5c152d58b50eae2935cb2923cd72",
"Node name for S&R": "Trellis2PreProcessImage",
"widget_ue_connectable": {}
},
"widgets_values": [
0
]
}
],
"links": [
[
22,
19,
0,
10,
2,
"STRING"
],
[
87,
39,
0,
45,
0,
"TRELLIS2PIPELINE"
],
[
147,
74,
0,
45,
1,
"IMAGE"
],
[
161,
80,
0,
19,
0,
"TRIMESH"
],
[
162,
45,
0,
80,
0,
"MESHWITHVOXEL"
],
[
163,
6,
2,
81,
0,
"IMAGE"
],
[
164,
81,
0,
74,
0,
"IMAGE"
],
[
165,
69,
2,
82,
0,
"IMAGE"
],
[
166,
82,
0,
74,
1,
"IMAGE"
],
[
167,
45,
1,
80,
1,
"BVH"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "Vue",
"ue_links": [],
"ds": {
"scale": 0.43056764313425994,
"offset": [
1186.604208089668,
-109.78569077398916
]
},
"links_added_by_ue": [],
"frontendVersion": "1.37.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}