Blender Git Commits

Blender Git "geometry-nodes-raycast" branch commits.

June 17, 2021, 08:31 (GMT)
Modernized for loop style.
June 17, 2021, 08:19 (GMT)
Show ray direction input value socket by default.
June 17, 2021, 08:18 (GMT)
Use distance subtype for the ray length input.
June 17, 2021, 08:13 (GMT)
Remove unnecessary noop check in interpolator.
June 17, 2021, 08:04 (GMT)
Fixed doc string.
June 17, 2021, 07:59 (GMT)
Move AttributeInterpolator util class to bke.

Moved the utility class to BKE_mesh_sample.
Renamed it to MeshAttributeInterpolator to make clear that it works
on mesh attributes only.
June 17, 2021, 07:26 (GMT)
Removed the hit_index output attribute.

This output contains the looptri indices on the hit mesh, which is not
very useful.
June 16, 2021, 18:16 (GMT)
Merge branch 'master' into geometry-nodes-raycast
June 16, 2021, 16:56 (GMT)
Merge branch 'geometry-nodes-raycast' of git.blender.org:blender into geometry-nodes-raycast
June 16, 2021, 09:28 (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*.

Differential Revision: https://developer.blender.org/D11619
June 16, 2021, 09:20 (GMT)
Make raycast node wider by default.
June 16, 2021, 09:17 (GMT)
Non-zero default value for ray length.
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.
June 16, 2021, 07:30 (GMT)
Remove unused functions.
June 16, 2021, 07:18 (GMT)
Removed the domain property of the raycast node.

Raycast always starts at point positions, there is no use case for
casting from other domains and it just complicates the node.
June 15, 2021, 19:21 (GMT)
Rename some sockets for better clarity.
June 15, 2021, 17:01 (GMT)
Support mesh, point cloud, and curve geometry.
June 15, 2021, 09:33 (GMT)
Support attribute interpolation with raycast.
June 13, 2021, 21:49 (GMT)
Merge branch 'master' into geometry-nodes-raycast
June 13, 2021, 21:28 (GMT)
Support for single value input types.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021