Files
PozzettiAndrea-ComfyUI-Geom…/workflows/depth_map_to_mesh.json
T
2026-02-12 22:52:40 +01:00

358 lines
7.0 KiB
JSON

{
"id": "d1e2f3a4-5b6c-7d8e-9f0a-1b2c3d4e5f6a",
"revision": 0,
"last_node_id": 6,
"last_link_id": 7,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
-541.21484375,
-3.15625
],
"size": [
315,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
5
]
},
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.71",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image"
]
},
{
"id": 4,
"type": "GeomPackPreviewMeshVTK",
"pos": [
454.4921875,
3.07421875
],
"size": [
512,
722
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "trimesh",
"name": "trimesh",
"shape": 7,
"type": "TRIMESH",
"link": 3
},
{
"localized_name": "voxelgrid",
"name": "voxelgrid",
"shape": 7,
"type": "VOXELGRID",
"link": null
},
{
"localized_name": "mode",
"name": "mode",
"type": "COMBO",
"widget": {
"name": "mode"
},
"link": null
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "991c7a75886f50d567e5ed6d36aed06d0729a938",
"Node name for S&R": "GeomPackPreviewMeshVTK"
},
"widgets_values": [
"fields",
""
]
},
{
"id": 2,
"type": "GeomPackTextureToGeometry",
"pos": [
85.11953125000001,
-5.749218750000001
],
"size": [
320,
266
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "mask",
"name": "mask",
"shape": 7,
"type": "MASK",
"link": 6
},
{
"localized_name": "depth_image",
"name": "depth_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "field",
"name": "field",
"shape": 7,
"type": "MASK",
"link": null
},
{
"localized_name": "height_scale",
"name": "height_scale",
"type": "FLOAT",
"widget": {
"name": "height_scale"
},
"link": null
},
{
"localized_name": "field_name",
"name": "field_name",
"shape": 7,
"type": "STRING",
"widget": {
"name": "field_name"
},
"link": null
},
{
"localized_name": "backend",
"name": "backend",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "backend"
},
"link": null
},
{
"localized_name": "poisson_depth",
"name": "poisson_depth",
"shape": 7,
"type": "INT",
"widget": {
"name": "poisson_depth"
},
"link": null
},
{
"localized_name": "invert_height",
"name": "invert_height",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "invert_height"
},
"link": null
},
{
"localized_name": "smooth_normals",
"name": "smooth_normals",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "smooth_normals"
},
"link": null
},
{
"localized_name": "skip_black",
"name": "skip_black",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "skip_black"
},
"link": null
},
{
"localized_name": "black_threshold",
"name": "black_threshold",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "black_threshold"
},
"link": null
}
],
"outputs": [
{
"localized_name": "mesh",
"name": "mesh",
"type": "TRIMESH",
"links": [
3
]
},
{
"localized_name": "info",
"name": "info",
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "0.1.1",
"Node name for S&R": "GeomPackTextureToGeometry"
},
"widgets_values": [
1,
"field",
"grid",
8,
"false",
"true",
"false",
0.01
]
},
{
"id": 6,
"type": "ImageToMask",
"pos": [
-207.93250000000015,
1.6248437499997639
],
"size": [
270,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 5
},
{
"localized_name": "channel",
"name": "channel",
"type": "COMBO",
"widget": {
"name": "channel",
"value": "red"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MASK",
"name": "MASK",
"type": "MASK",
"links": [
6,
7
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.71",
"Node name for S&R": "ImageToMask"
},
"widgets_values": [
"red"
]
}
],
"links": [
[
3,
2,
0,
4,
0,
"TRIMESH"
],
[
5,
1,
0,
6,
0,
"IMAGE"
],
[
6,
6,
0,
2,
0,
"MASK"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.9090909090909091,
"offset": [
687.2536517794632,
265.3396206607306
]
},
"frontendVersion": "1.30.6",
"workflowRendererVersion": "LG"
},
"version": 0.4
}