Blender Git Commit Log

Git Commits -> Revision 17021ad

Revision 17021ad by Hans Goudey (master)
September 21, 2021, 01:23 (GMT)
Geometry Nodes: Curve Sample Node

This node allows sampling positions, tangents, and normals at any
arbitrary point along a curve. The curve can include multiple splines,
all are taken into account. The node does not yet support transferring
generic attributes like radius, because some more general tooling will
make that much more feasible and useful in different scenarios.

This is a field node, so it is evaluated in the context of a data-flow
node like "Set Position". One nice thing about that is it can easily
be used to move an entire geometry like the follow path constraint.

The point along the curve is chosen either with a factor of the total
length of the curve, or a length into the curve, the same choice used
in the curve trim node.

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

Commit Details:

Full Hash: 17021adceaee28295b89301b4f715b6bcd8d5fca
Parent Commit: 9e939a6
Lines Changed: +345, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_curve_sample.cc (+292, -0) (View)

10 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_spline.hh (+1, -0) (Diff)
/source/blender/blenkernel/intern/curve_eval.cc (+17, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+24, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (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