Files
2025-12-16 20:31:30 +00:00

500 lines
8.7 KiB
JSON

{
"id": "09bedc58-8eee-45e6-b44a-3504716845c2",
"revision": 0,
"last_node_id": 11,
"last_link_id": 15,
"nodes": [
{
"id": 1,
"type": "DownloadAndLoadMIDI3DModel",
"pos": [
304.26171875,
255.50390625
],
"size": [
285.3111328125,
82
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "model",
"type": "MIDI3D_MODEL",
"links": [
2
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "d012a7a0ea9b95095b1c44c4da69788fbb080e03",
"Node name for S&R": "DownloadAndLoadMIDI3DModel"
},
"widgets_values": [
"MIDI-3D",
"bfloat16"
]
},
{
"id": 7,
"type": "LoadImage",
"pos": [
-93.9375,
630.484375
],
"size": [
282.798828125,
314
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
7
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"00_seg.png",
"image"
]
},
{
"id": 2,
"type": "MIDI3DPreprocess",
"pos": [
342.265625,
541.7890625
],
"size": [
270,
78
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 9
},
{
"name": "segmentation",
"type": "MASK",
"link": 8
}
],
"outputs": [
{
"name": "preprocessed",
"type": "MIDI3D_DATA",
"links": [
1,
12
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "d012a7a0ea9b95095b1c44c4da69788fbb080e03",
"Node name for S&R": "MIDI3DPreprocess"
},
"widgets_values": [
false
]
},
{
"id": 6,
"type": "LoadImage",
"pos": [
-103.0390625,
247.25
],
"size": [
282.798828125,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
9
]
},
{
"name": "MASK",
"type": "MASK",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.4.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"00_rgb.png",
"image"
]
},
{
"id": 8,
"type": "RGBToInstanceMask",
"pos": [
227.14453125,
704.03125
],
"size": [
314.562109375,
58
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 7
}
],
"outputs": [
{
"name": "instance_mask",
"type": "MASK",
"links": [
8
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "9dfdddc312066e57e0d1c476f9f6d0c16e80500a",
"Node name for S&R": "RGBToInstanceMask"
},
"widgets_values": [
true
]
},
{
"id": 10,
"type": "MIDI3DLoadTextureModels",
"pos": [
377.9765625,
-10.875
],
"size": [
346.40390625,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "texture_models",
"type": "MIDI3D_TEXTURE_MODELS",
"links": [
10
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "9dfdddc312066e57e0d1c476f9f6d0c16e80500a",
"Node name for S&R": "MIDI3DLoadTextureModels"
},
"widgets_values": [
"bfloat16"
]
},
{
"id": 9,
"type": "MIDI3DTexture",
"pos": [
844.171875,
64.9140625
],
"size": [
284.205078125,
170
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "texture_models",
"type": "MIDI3D_TEXTURE_MODELS",
"link": 10
},
{
"name": "scene",
"type": "MIDI3D_SCENE",
"link": 11
},
{
"name": "preprocessed",
"type": "MIDI3D_DATA",
"link": 12
}
],
"outputs": [
{
"name": "textured_scene",
"type": "MIDI3D_SCENE",
"links": [
14
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "9dfdddc312066e57e0d1c476f9f6d0c16e80500a",
"Node name for S&R": "MIDI3DTexture"
},
"widgets_values": [
404200122,
"randomize",
35,
3
]
},
{
"id": 3,
"type": "MIDI3DProcess",
"pos": [
690.328125,
395.1015625
],
"size": [
284.205078125,
150
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MIDI3D_MODEL",
"link": 2
},
{
"name": "preprocessed",
"type": "MIDI3D_DATA",
"link": 1
}
],
"outputs": [
{
"name": "scene",
"type": "MIDI3D_SCENE",
"links": [
11
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "d012a7a0ea9b95095b1c44c4da69788fbb080e03",
"Node name for S&R": "MIDI3DProcess"
},
"widgets_values": [
50,
7,
42,
"fixed"
]
},
{
"id": 5,
"type": "GeomPackPreviewMeshVTK",
"pos": [
1410.164255454799,
-0.7889968496550541
],
"size": [
512,
702
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "trimesh",
"type": "TRIMESH",
"link": 15
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "d19c31ebf956a107b3b543e9e686f438e8cf9cd2",
"Node name for S&R": "GeomPackPreviewMeshVTK"
},
"widgets_values": [
"texture",
""
]
},
{
"id": 11,
"type": "MIDI3DSceneToTrimesh",
"pos": [
1216.2894283488013,
40.31168302382468
],
"size": [
155.3248046875,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "scene",
"type": "MIDI3D_SCENE",
"link": 14
}
],
"outputs": [
{
"name": "mesh",
"type": "TRIMESH",
"links": [
15
]
}
],
"properties": {
"aux_id": "PozzettiAndrea/ComfyUI-MIDI3D",
"ver": "3ec773dbf0c618cfa64fb12dbc051e001404257a",
"Node name for S&R": "MIDI3DSceneToTrimesh"
}
}
],
"links": [
[
1,
2,
0,
3,
1,
"MIDI3D_DATA"
],
[
2,
1,
0,
3,
0,
"MIDI3D_MODEL"
],
[
7,
7,
0,
8,
0,
"IMAGE"
],
[
8,
8,
0,
2,
1,
"MASK"
],
[
9,
6,
0,
2,
0,
"IMAGE"
],
[
10,
10,
0,
9,
0,
"MIDI3D_TEXTURE_MODELS"
],
[
11,
3,
0,
9,
1,
"TRIMESH"
],
[
12,
2,
0,
9,
2,
"MIDI3D_DATA"
],
[
14,
9,
0,
11,
0,
"MIDI3D_SCENE"
],
[
15,
11,
0,
5,
0,
"TRIMESH"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.8641716583606888,
"offset": [
61.96680906988452,
294.40190912139764
]
},
"frontendVersion": "1.34.9",
"workflowRendererVersion": "LG"
},
"version": 0.4
}