Blender Git Commit Log
Git Commits -> Revision d02ea11
Revision d02ea11 by Lukas Toenne (geometry-nodes-raycast) June 16, 2021, 09:06 (GMT) |
Added a mapping mode to enable nearest point. This would be useful in cases where attributes contain unique per-vertex values and interpolation over triangles makes no sense. Similar to the transfer attribute node, but raycast always looks at face corners rather than arbitrary closes points/edges/faces of the source mesh. |
Commit Details:
Full Hash: d02ea11ed2cc7402c87aabeeb053790bd1296fe2
Parent Commit: 6bd2f05
Lines Changed: +107, -17
6 Modified Paths:
/source/blender/makesdna/DNA_node_types.h (+9, -1) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+19, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_transfer.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+15, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util_interp.cc (+52, -11) (Diff)
/source/blender/nodes/geometry/node_geometry_util_interp.hh (+11, -3) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+19, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_transfer.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+15, -1) (Diff)
/source/blender/nodes/geometry/node_geometry_util_interp.cc (+52, -11) (Diff)
/source/blender/nodes/geometry/node_geometry_util_interp.hh (+11, -3) (Diff)