From 63a8b3b9720cf2660cb7a6cd431fdd3014534c4a Mon Sep 17 00:00:00 2001 From: Angus Stanton Date: Tue, 6 Jul 2021 22:24:04 -0500 Subject: 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 --- source/blender/nodes/NOD_geometry.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/nodes/NOD_geometry.h') 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); -- cgit v1.2.3