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/BKE_node.h | |
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/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 16da621a0fa..a67d7116874 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1433,6 +1433,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define GEO_NODE_DELETE_GEOMETRY 1053 #define GEO_NODE_CURVE_LENGTH 1054 #define GEO_NODE_SELECT_BY_MATERIAL 1055 +#define GEO_NODE_CONVEX_HULL 1056 /** \} */ |