Blender Git Commit Log

Git Commits -> Revision 4b673eb

Revision 4b673eb by Lukas Toenne (master)
June 17, 2021, 20:11 (GMT)
Raycast geometry node.

The //Raycast// node intersects rays from one geometry onto another.
It computes hit points on the target mesh and returns normals, distances
and any surface attribute specified by the user.

A ray starts on each point of the input //Geometry//. Rays continue
in the //Ray Direction// until they either hit the //Target Geometry//
or reach the //Ray Length// limit. If the target is hit, the value of the
//Is Hit// attribute in the output mesh will be true. //Hit Position//,
//Hit Normal//, //Hit Distance// and //Hit Index// are the properties of the
target mesh at the intersection point. In addition, a //Target Attribute//
can be specified that is interpolated at the hit point and the result
stored in //Hit Attribute//.

Docs: D11620

Reviewed By: HooglyBoogly

Differential Revision: https://developer.blender.org/D11619

Commit Details:

Full Hash: 4b673ebb990684af4a429d963a1026ddf3f2552f
Parent Commit: 577d6d3
Lines Changed: +545, -75

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+321, -0) (View)

11 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_mesh_sample.hh (+42, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/mesh_sample.cc (+118, -1) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+14, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+36, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_attribute_transfer.cc (+8, -74) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021