diff options
author | Henrik Dick <hen-di@web.de> | 2021-06-09 19:58:08 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-09 19:58:08 +0300 |
commit | df2a19eac7daf4943b22f74890cebd14eb811f4e (patch) | |
tree | 9a6e54f5d18c59d089fae6cfe4c796244f09c5fb /source/blender/blenkernel/intern | |
parent | 2856f3b58392a64204c808c8760739820da287f4 (diff) |
Geometry Nodes: Add Convex Hull Node
This commit adds a node to output the convex hull of any input geometry
as a mesh, which is an enclosing geometry around a set of points.
All geometry types are supported, besides volumes.
The code supports operating on instances to avoid copying all input
geometry before the operation. The implementation uses the same backend
as the operation in edit mode, but uses Mesh directly instead of BMesh.
Attribute transfer is not supported currently, but would be a point of
improvement for the future if it can work in a predictable way on
different geometry input types.
Differential Revision: https://developer.blender.org/D10925
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/node.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/node.cc b/source/blender/blenkernel/intern/node.cc index 10f1f40f390..8d8f7b90d3b 100644 --- a/source/blender/blenkernel/intern/node.cc +++ b/source/blender/blenkernel/intern/node.cc @@ -5050,6 +5050,7 @@ static void registerGeometryNodes() register_node_type_geo_boolean(); register_node_type_geo_bounding_box(); register_node_type_geo_collection_info(); + register_node_type_geo_convex_hull(); register_node_type_geo_curve_length(); register_node_type_geo_curve_to_mesh(); register_node_type_geo_curve_resample(); |