Blender Git Loki
Git Commits -> Revision 4d39a0f
Revision 4d39a0f by Victor-Louis De Gusseme (master) February 5, 2021, 14:28 (GMT) |
Geometry Nodes: Add Attribute Proximity Node This node calculates a distance from each point to the closest position on a target geometry, similar to the vertex weight proximity modifier. Mapping the output distance to a different range can be done with an attribute math node after this node. A drop-down changes whether to calculate distances from points, edges, or faces. In points mode, the node also calculates distances from point cloud points. Design task and use cases: T84842 Differential Revision: https://developer.blender.org/D10154 |
Commit Details:
Full Hash: 4d39a0f8eb1103aa58611fff7219f4bf3d70f70f
Parent Commit: 7054d03
Committed By: Hans Goudey
Lines Changed: +345, -0
1 Added Path:
/source/blender/nodes/geometry/nodes/node_geo_attribute_proximity.cc (+224, -0) (View)
11 Modified Paths:
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_bvhutils.h (+15, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+39, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+33, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+5, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_bvhutils.h (+15, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+39, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+10, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+13, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+33, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+5, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+2, -0) (Diff)