Blender Git Loki

Git Commits -> Revision 305fe7b

Revision 305fe7b by Lukas Toenne (soc-2021-curves)
June 21, 2021, 14:31 (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: 305fe7be865458f3d0d1a68c85912bd4e354de44
Parent Commit: 11c5946
Committed By: Dilith Jayakody
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021