Blender Git Commit Log
Git Commits -> Revision 3185084
Revision 3185084 by Hans Goudey (master) May 7, 2021, 20:37 (GMT) |
Geometry Noes: Curve Resample Node This node generates a naturally parametarized (even length edge) poly spline version of every spline in the input. There are two modes, "Count", and "Length". These are similar to the same options for the line primitive node in end points mode. I implemented this instead of a "Sample Points" node, because for this operation it's trivial to keep the result as a curve, which is nice since it increases flexibility, and because it can make instancing simpler, i.e. using the transforms of each evaluated point rather than requiring the construction of a "rotation" attribute. Differential Revision: https://developer.blender.org/D11173 |
Commit Details:
Full Hash: 3185084efbe493bf232fb0de62b341ae2a2e2936
Parent Commit: 960535d
Lines Changed: +347, -2
1 Added Path:
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+201, -0) (View)
13 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 (+7, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/spline_base.cc (+67, -2) (Diff)
/source/blender/blenkernel/intern/spline_bezier.cc (+12, -0) (Diff)
/source/blender/blenkernel/intern/spline_nurbs.cc (+9, -0) (Diff)
/source/blender/blenkernel/intern/spline_poly.cc (+8, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+27, -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)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/BKE_spline.hh (+7, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/spline_base.cc (+67, -2) (Diff)
/source/blender/blenkernel/intern/spline_bezier.cc (+12, -0) (Diff)
/source/blender/blenkernel/intern/spline_nurbs.cc (+9, -0) (Diff)
/source/blender/blenkernel/intern/spline_poly.cc (+8, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+27, -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)