diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-19 17:01:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-19 17:01:39 +0300 |
commit | 0a6cf3ed0c64a0e4e58ecd40a491d0e6c93532f2 (patch) | |
tree | 4e2ba0b74c0ceaa0956aa944ec0b473cf2926cd4 /source/blender/blenkernel/BKE_node.h | |
parent | 9a1d75e0b9580819dba188afdab72295cbf47302 (diff) |
Geometry Nodes: Fields version of the raycast node
This patch includes an updated version of the raycast node that uses
fields instead of attributes for inputs instead of outputs. This makes
the node's UI much clearer. It should be faster too, since the
evaluation system for fields provides multi-threading.
The source position replaces the input geometry (since this node is
evaluated in the context of a geometry like the other field nodes).
Thanks to @guitargeek for an initial version of this patch.
Differential Revision: https://developer.blender.org/D12638
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 65e54be7db4..07ad317dd30 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1544,6 +1544,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define GEO_NODE_TRANSFER_ATTRIBUTE 1125 #define GEO_NODE_SUBDIVISION_SURFACE 1126 #define GEO_NODE_CURVE_ENDPOINT_SELECTION 1127 +#define GEO_NODE_RAYCAST 1128 /** \} */ |