diff options
author | Jarrett Johnson <jarrett.johnson> | 2021-10-23 08:01:59 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-23 08:01:59 +0300 |
commit | 3af597d16b1ed2887df23cc621f0bf7f2b6d4091 (patch) | |
tree | 36fcc43898ee79f2c99d01f07250dd49ff16a5fe /source/blender/blenkernel/BKE_node.h | |
parent | 2a7a8a04e37b3892b3497529e9f7c4c9f8f36f4a (diff) |
Geometry Nodes: Add Instances to Points Node
This node takes a geometry set with instances as input and outputs
points located on the origins of the top level of instances in the
geometry set (not nested instances). It also has position and radius
inputs to allow overriding the default, and a selection input to only
generate points for some instances.
The use case for this node is a method to use geometry proximity on
instance origins, but in a more generic way that is flexible and useful
in other situations.
Differential Revision: https://developer.blender.org/D12893
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 7a9c23d3f54..1280b83b765 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1546,6 +1546,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define GEO_NODE_CURVE_ENDPOINT_SELECTION 1127 #define GEO_NODE_RAYCAST 1128 #define GEO_NODE_CURVE_TO_POINTS 1130 +#define GEO_NODE_INSTANCES_TO_POINTS 1131 /** \} */ |