Files
visualbruno-ComfyUI-Trellis2/example_workflows/TextureMesh.json
T

457 lines
8.7 KiB
JSON

{
"id": "9b1321c3-d206-474a-bf17-498b285fb45b",
"revision": 0,
"last_node_id": 12,
"last_link_id": 17,
"nodes": [
{
"id": 1,
"type": "Trellis2LoadImageWithTransparency",
"pos": [
968.2329831974502,
1438.8373675131625
],
"size": [
470.796875,
559.828125
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
},
{
"name": "mask",
"type": "MASK",
"links": []
},
{
"name": "image_with_alpha",
"type": "IMAGE",
"links": [
15
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "e7f9b30df7a09bcedf1c955e176754c73f983254",
"Node name for S&R": "Trellis2LoadImageWithTransparency",
"widget_ue_connectable": {}
},
"widgets_values": [
"Image_04298_2048.png",
"image"
]
},
{
"id": 3,
"type": "Trellis2MeshTexturing",
"pos": [
1571.8034352582972,
1463.2804147687784
],
"size": [
376.828125,
480.65625
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"link": 1
},
{
"name": "image",
"type": "IMAGE",
"link": 15
},
{
"name": "trimesh",
"type": "TRIMESH",
"link": 8
}
],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
11
]
},
{
"name": "base_color_texture",
"type": "IMAGE",
"links": [
9
]
},
{
"name": "metallic_roughness_texture",
"type": "IMAGE",
"links": [
10
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "20651320d20ed56a52168c1bd3f29d6886c4be06",
"Node name for S&R": "Trellis2MeshTexturing",
"widget_ue_connectable": {}
},
"widgets_values": [
810478905,
"randomize",
12,
3,
0.2,
3,
1024,
2048,
"OPAQUE",
true,
0,
0.9,
4
]
},
{
"id": 9,
"type": "PreviewImage",
"pos": [
1570.8804441370853,
1998.001809523149
],
"size": [
371.03125,
335.765625
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 9
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "PreviewImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 12,
"type": "Preview3D",
"pos": [
2434.8711999380853,
1010.490287990758
],
"size": [
1153.15625,
1230.9375
],
"flags": {},
"order": 7,
"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": 12
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "Preview3D",
"widget_ue_connectable": {},
"Last Time Model File": "TexturedMesh_00001_.glb",
"Scene Config": {
"showGrid": true,
"backgroundColor": "#282828",
"backgroundImage": "",
"backgroundRenderMode": "tiled"
},
"Camera Config": {
"cameraType": "perspective",
"fov": 35,
"state": {
"position": {
"x": 0.12885373643844386,
"y": 4.965867390532585,
"z": 8.22624562737759
},
"target": {
"x": 0,
"y": 2.5,
"z": 0
},
"zoom": 1,
"cameraType": "perspective"
}
},
"Light Config": {
"intensity": 3
}
},
"widgets_values": [
"TexturedMesh_00001_.glb",
""
]
},
{
"id": 2,
"type": "Trellis2LoadModel",
"pos": [
1059.2676178149106,
1150.760345973466
],
"size": [
362.0625,
207.328125
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "pipeline",
"type": "TRELLIS2PIPELINE",
"links": [
1
]
}
],
"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,
true
]
},
{
"id": 8,
"type": "Trellis2LoadMesh",
"pos": [
954.9309896842794,
2139.134733012228
],
"size": [
514.34375,
83.328125
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"links": [
8
]
}
],
"properties": {
"aux_id": "visualbruno/ComfyUI-Trellis2",
"ver": "20651320d20ed56a52168c1bd3f29d6886c4be06",
"Node name for S&R": "Trellis2LoadMesh",
"widget_ue_connectable": {}
},
"widgets_values": [
"C:\\Git\\ComfyUI\\output\\DwarfSorcerer_Hy20_Hy3D_00001_.obj"
]
},
{
"id": 10,
"type": "PreviewImage",
"pos": [
2003.8756887436332,
1959.3533354015847
],
"size": [
379.34375,
334.265625
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "PreviewImage",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 11,
"type": "Trellis2ExportMesh",
"pos": [
2025.4302859710197,
1460.1945474641245
],
"size": [
324,
146
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 11
}
],
"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": [
"TexturedMesh",
"glb",
true
]
}
],
"links": [
[
1,
2,
0,
3,
0,
"TRELLIS2PIPELINE"
],
[
8,
8,
0,
3,
2,
"TRIMESH"
],
[
9,
3,
1,
9,
0,
"IMAGE"
],
[
10,
3,
2,
10,
0,
"IMAGE"
],
[
11,
3,
0,
11,
0,
"TRIMESH"
],
[
12,
11,
0,
12,
2,
"STRING"
],
[
15,
1,
2,
3,
1,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "Vue",
"ue_links": [],
"ds": {
"scale": 0.6303940863128702,
"offset": [
-658.2100154204089,
-940.2933130303078
]
},
"links_added_by_ue": [],
"frontendVersion": "1.37.11",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}