From a71d2b26017090e1cf329631d831d11f5b84de0a Mon Sep 17 00:00:00 2001 From: Erik Abrahamsson Date: Sun, 29 Aug 2021 23:27:35 -0500 Subject: Geometry Nodes: Curve Fill Node This node takes a curve geometry input and creates a filled mesh at Z=0 using a constrained Delaunay triangulation algorithm. Because of the choice of algorithm, the results should be higher quality than the filling for 2D curve objects. This commit adds an initial fairly simple version of the node, but more features may be added in the future, like transferring attributes when necessary, or an index attribute input to break up the calculations into smaller chunks to improve performance. Differential Revision: https://developer.blender.org/D11846 --- source/blender/blenkernel/BKE_node.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_node.h') diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 06528cd213c..379d4332473 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1472,6 +1472,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define GEO_NODE_CURVE_SET_HANDLES 1072 #define GEO_NODE_CURVE_SPLINE_TYPE 1073 #define GEO_NODE_CURVE_SELECT_HANDLES 1074 +#define GEO_NODE_CURVE_FILL 1075 /** \} */ -- cgit v1.2.3