Blender Git Commit Log

Git Commits -> Revision c97b621

Revision c97b621 by Hans Goudey (master)
May 27, 2021, 02:14 (GMT)
Geometry Nodes: Support interpolation between curve domains

This commit adds interpolation from the point domain to the spline
domain and the other way around. Before this, spline domain attributes
were basically useless, but now they are quite helpful as a way to use
a shared value in a contiguous group of points.

I implementented a special virtual array for the spline to points
conversion, so that conversion should be close to the ideal performance
level, but there are a few ways we could optimize the point to spline
conversion in the future:
- Use a function virtual array to mix the point values for each spline
on demand.
- Implement a special case for when the input virtual array is one of
the virtual arrays from the spline point attributes. In other words,
decrease curve attribute access overhead.

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

Commit Details:

Full Hash: c97b6215a37e5eca744d54d2e80741af78e1dafc
Parent Commit: f3944cf
Lines Changed: +171, -16

2 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.hh (+4, -0) (Diff)
/source/blender/blenkernel/intern/geometry_component_curve.cc (+167, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021