Blender Git Loki

Git Commits -> Revision 4d881d9

Revision 4d881d9 by Hans Goudey (master)
September 21, 2021, 22:38 (GMT)
Geometry Nodes: Curve Parameter Node

This commit adds a field input node that outputs the fraction of the
total length of the spline on each control point. This is useful for
anything that involves varying a value depending on how far along
the spline it is.

It also works when evaluated on the spline domain, where it outputs
the fraction of the total length of all of the splines at the start.

The operation isn't as well defined for NURB splines for the reasons
noted in the code comment. That can be said explicitly in the docs.

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

Commit Details:

Full Hash: 4d881d9dad764dec22c057f434d3f91c26f0b0ef
Parent Commit: 41e3bf8
Lines Changed: +212, -0

1 Added Path:

/source/blender/nodes/geometry/nodes/node_geo_curve_parameter.cc (+206, -0) (View)

6 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021