Files
PozzettiAndrea-ComfyUI-Geom…/workflows/fix_normals.json
T

387 lines
7.7 KiB
JSON

{
"id": "f3e4d5c6-7b8a-9012-cdef-123456789012",
"revision": 0,
"last_node_id": 8,
"last_link_id": 14,
"nodes": [
{
"id": 1,
"type": "GeomPackLoadMesh",
"pos": [
-502,
-58
],
"size": [
270,
78
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "file_path",
"name": "file_path",
"type": "COMBO",
"widget": {
"name": "file_path"
},
"link": null
}
],
"outputs": [
{
"localized_name": "mesh",
"name": "mesh",
"type": "TRIMESH",
"links": [
1,
9
]
},
{
"localized_name": "texture",
"name": "texture",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "0.1.1",
"Node name for S&R": "GeomPackLoadMesh"
},
"widgets_values": [
"3d/truck.obj"
]
},
{
"id": 2,
"type": "GeomPackFixNormals",
"pos": [
-175,
-63
],
"size": [
270,
110
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "trimesh",
"name": "trimesh",
"type": "TRIMESH",
"link": 1
},
{
"localized_name": "method",
"name": "method",
"type": "COMBO",
"widget": {
"name": "method"
},
"link": null
}
],
"outputs": [
{
"localized_name": "fixed_mesh",
"name": "fixed_mesh",
"type": "TRIMESH",
"links": [
10
]
},
{
"localized_name": "info",
"name": "info",
"type": "STRING",
"links": [
8
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "0.1.1",
"Node name for S&R": "GeomPackFixNormals"
},
"widgets_values": [
"igl_bfs",
""
]
},
{
"id": 6,
"type": "GeomPackComputeNormals",
"pos": [
-347.74999999999943,
187.20312500000009
],
"size": [
292.056640625,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "trimesh",
"name": "trimesh",
"type": "TRIMESH",
"link": 9
},
{
"localized_name": "smooth_vertex_normals",
"name": "smooth_vertex_normals",
"type": "COMBO",
"widget": {
"name": "smooth_vertex_normals"
},
"link": null
}
],
"outputs": [
{
"localized_name": "mesh_with_normals",
"name": "mesh_with_normals",
"type": "TRIMESH",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "991c7a75886f50d567e5ed6d36aed06d0729a938",
"Node name for S&R": "GeomPackComputeNormals"
},
"widgets_values": [
"true"
]
},
{
"id": 7,
"type": "GeomPackComputeNormals",
"pos": [
-360.8229166666663,
291.45312499999994
],
"size": [
292.056640625,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "trimesh",
"name": "trimesh",
"type": "TRIMESH",
"link": 10
},
{
"localized_name": "smooth_vertex_normals",
"name": "smooth_vertex_normals",
"type": "COMBO",
"widget": {
"name": "smooth_vertex_normals"
},
"link": null
}
],
"outputs": [
{
"localized_name": "mesh_with_normals",
"name": "mesh_with_normals",
"type": "TRIMESH",
"links": [
14
]
}
],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "991c7a75886f50d567e5ed6d36aed06d0729a938",
"Node name for S&R": "GeomPackComputeNormals"
},
"widgets_values": [
"true"
]
},
{
"id": 8,
"type": "GeomPackPreviewMeshDual",
"pos": [
64.0885416666671,
143.14583333333331
],
"size": [
768,
826
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "mesh_1",
"name": "mesh_1",
"type": "TRIMESH",
"link": 13
},
{
"localized_name": "mesh_2",
"name": "mesh_2",
"type": "TRIMESH",
"link": 14
},
{
"localized_name": "layout",
"name": "layout",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "layout"
},
"link": null
},
{
"localized_name": "mode",
"name": "mode",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "mode"
},
"link": null
},
{
"localized_name": "opacity_1",
"name": "opacity_1",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "opacity_1"
},
"link": null
},
{
"localized_name": "opacity_2",
"name": "opacity_2",
"shape": 7,
"type": "FLOAT",
"widget": {
"name": "opacity_2"
},
"link": null
},
{
"localized_name": "show_edges",
"name": "show_edges",
"shape": 7,
"type": "BOOLEAN",
"widget": {
"name": "show_edges"
},
"link": null
},
{
"localized_name": "camera_state",
"name": "camera_state",
"shape": 7,
"type": "STRING",
"widget": {
"name": "camera_state"
},
"link": null
},
{
"localized_name": "selected_field",
"name": "selected_field",
"shape": 7,
"type": "STRING",
"widget": {
"name": "selected_field"
},
"link": null
}
],
"outputs": [],
"properties": {
"cnr_id": "comfyui-geometrypack",
"ver": "2bc968b6282e2754cef4b5507346e0a9ebdbf32a",
"Node name for S&R": "GeomPackPreviewMeshDual"
},
"widgets_values": [
"side_by_side",
"fields",
1,
1,
"{\"show_edges\": false, \"camera_state\": \"{\\\"position\\\":[2.1230389037522457,2.254177889080077,-2.3107558874613097],\\\"focalPoint\\\":[0,0,0],\\\"viewUp\\\":[-0.37864046226114645,0.8119761508244989,0.4442140596952062]}\", \"selected_field\": \"normal_x\"}"
]
}
],
"links": [
[
1,
1,
0,
2,
0,
"TRIMESH"
],
[
9,
1,
0,
6,
0,
"TRIMESH"
],
[
10,
2,
0,
7,
0,
"TRIMESH"
],
[
13,
6,
0,
8,
0,
"TRIMESH"
],
[
14,
7,
0,
8,
1,
"TRIMESH"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.75,
"offset": [
935.9947916666663,
198.18750000000003
]
},
"frontendVersion": "1.30.6",
"workflowRendererVersion": "LG"
},
"version": 0.4
}