Blender Git Loki
Git Commits -> Revision 0a6cf3e
Revision 0a6cf3e by Hans Goudey (master) October 19, 2021, 14:01 (GMT) |
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 |
Commit Details:
Full Hash: 0a6cf3ed0c64a0e4e58ecd40a491d0e6c93532f2
Parent Commit: 9a1d75e
Lines Changed: +523, -31
1 Added Path:
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+456, -0) (View)
13 Modified Paths:
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh_sample.hh (+2, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/mesh_sample.cc (+12, -21) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+34, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_attribute_transfer.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_raycast.cc (+3, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transfer_attribute.cc (+2, -2) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_mesh_sample.hh (+2, -1) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/mesh_sample.cc (+12, -21) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -1) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+34, -1) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_attribute_transfer.cc (+2, -1) (Diff)
/source/blender/nodes/geometry/nodes/legacy/node_geo_raycast.cc (+3, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transfer_attribute.cc (+2, -2) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -1) (Diff)