Using the evaluated lengths cache from D14382, re-implement the
curve parameter node with the new data structure. Conceptually
it works the same way, but the code is restructured and cleaned up
a bit as well. This also adds support for Catmull Rom curves.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/blenkernel/BKE_curves.hh | ||
|---|---|---|
| 277 | evalauted | |
| source/blender/blenlib/intern/length_parameterize.cc | ||
| 3 ↗ | (On Diff #49726) | Shouldn't be necessary in a .cc file. |
| source/blender/nodes/geometry/nodes/node_geo_curve_spline_parameter.cc | ||
| 55 | Mention that this is done because there is no clear mapping between control points and points on the curve. | |
| source/blender/nodes/geometry/nodes/node_geo_curve_spline_parameter.cc | ||
|---|---|---|
| 3 | Is this even used? | |