diff options
author | Erik Abrahamsson <erik85> | 2022-07-27 16:38:30 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-07-27 16:38:44 +0300 |
commit | c8ae1fce6024556b72c9e48c2b97c310aceb556c (patch) | |
tree | 31328550a7a4511f23a33a122cc4d671d4681400 /source/blender/nodes/geometry/CMakeLists.txt | |
parent | 9ac81ed6abfbd431aafd75969f8590703ebe122f (diff) |
Geometry Nodes: Shortest Paths nodes
This adds three new nodes:
* `Shortest Edge Paths`: Actually finds the shortest paths.
* `Edge Paths to Curves`: Converts the paths to separate curves.
This may generate a quadratic amount of data, making it slow
for large meshes.
* `Edge Paths to Selection`: Generates an edge selection that
contains all edges that are part of a path. This can be used
with the Separate Geometry node to only keep the edges that
are part of a path. For large meshes, this approach can be
much faster than the `Edge Paths to Curves` node, because
less data is created.
Differential Revision: https://developer.blender.org/D15274
Diffstat (limited to 'source/blender/nodes/geometry/CMakeLists.txt')
-rw-r--r-- | source/blender/nodes/geometry/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/nodes/geometry/CMakeLists.txt b/source/blender/nodes/geometry/CMakeLists.txt index d87f0312958..97353000b8a 100644 --- a/source/blender/nodes/geometry/CMakeLists.txt +++ b/source/blender/nodes/geometry/CMakeLists.txt @@ -62,6 +62,8 @@ set(SRC nodes/node_geo_distribute_points_on_faces.cc nodes/node_geo_dual_mesh.cc nodes/node_geo_duplicate_elements.cc + nodes/node_geo_edge_paths_to_curves.cc + nodes/node_geo_edge_paths_to_selection.cc nodes/node_geo_edge_split.cc nodes/node_geo_extrude_mesh.cc nodes/node_geo_field_at_index.cc @@ -91,6 +93,7 @@ set(SRC nodes/node_geo_input_radius.cc nodes/node_geo_input_scene_time.cc nodes/node_geo_input_shade_smooth.cc + nodes/node_geo_input_shortest_edge_paths.cc nodes/node_geo_input_spline_cyclic.cc nodes/node_geo_input_spline_length.cc nodes/node_geo_input_spline_resolution.cc |