diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-20 18:25:49 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-20 18:25:49 +0300 |
commit | 334a8d9b3eebaf4abf7c8d18e4512b5f04ecffc0 (patch) | |
tree | 6eb3825ff7bfb21bf6f3acae2449bbb8b07f4f06 /source/blender/nodes/NOD_geometry.h | |
parent | e00bf04c0f59a9ed5bbe79e62f2f81861fbef2d7 (diff) |
Geometry Nodes: Fields version of Curve to Points node
This commit adds an updated version of the curve to points that
supports fields. Only the position and radius are transferred
by default now, which should improve performance. The other outputs
like tangent and rotation are outputted with anonymous attributes.
I took the opportunity to change a few other small things:
- Name geometry sockets "Curve" and "Points" like other nodes.
- Remove the radius multiple of 0.1, which was confusing.
Thanks to @Johnny Matthews (guitargeek) for an initial patch.
Differential Revision: https://developer.blender.org/D12887
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 4d75303363c..890825fdcc0 100644 --- a/source/blender/nodes/NOD_geometry.h +++ b/source/blender/nodes/NOD_geometry.h @@ -33,6 +33,7 @@ void register_node_type_geo_legacy_attribute_transfer(void); void register_node_type_geo_legacy_curve_set_handles(void); void register_node_type_geo_legacy_attribute_proximity(void); void register_node_type_geo_legacy_attribute_randomize(void); +void register_node_type_geo_legacy_curve_to_points(void); void register_node_type_geo_legacy_delete_geometry(void); void register_node_type_geo_legacy_material_assign(void); void register_node_type_geo_legacy_mesh_to_curve(void); |