diff options
author | Angus Stanton <abstanton> | 2021-07-07 06:24:04 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-07-07 06:24:04 +0300 |
commit | 63a8b3b9720cf2660cb7a6cd431fdd3014534c4a (patch) | |
tree | ba168fa4c02b3d0af038316cc80a1aa72bee449b /source/blender/nodes/NOD_geometry.h | |
parent | 31e6f0dc7af6ff1be19da93021b7095fe68da833 (diff) |
Geometry Nodes: Curve Endpoints Node
This node is quite similar to the curve to points node, but creates
points for only the start and end of each spline. This is a separate
node because the sampling from the curve to points node don't apply,
and just for ease of use.
All attributes from the curves are copied, including the data for
instancing: tangents, normals, and the derived rotations. One simple
use case is to make round caps on curves by instancinghalves of a
sphere on each end of the splines.
Differential Revision: https://developer.blender.org/D11719
Diffstat (limited to 'source/blender/nodes/NOD_geometry.h')
-rw-r--r-- | source/blender/nodes/NOD_geometry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/NOD_geometry.h b/source/blender/nodes/NOD_geometry.h index 99f95e7f07e..8144e2a2696 100644 --- a/source/blender/nodes/NOD_geometry.h +++ b/source/blender/nodes/NOD_geometry.h @@ -51,6 +51,7 @@ void register_node_type_geo_boolean(void); void register_node_type_geo_bounding_box(void); void register_node_type_geo_collection_info(void); void register_node_type_geo_convex_hull(void); +void register_node_type_geo_curve_endpoints(void); void register_node_type_geo_curve_length(void); void register_node_type_geo_curve_primitive_bezier_segment(void); void register_node_type_geo_curve_primitive_circle(void); |